Scoop -- the swiss army chainsaw of content management
Front Page · Everything · News · Code · Help! · Wishlist · Project · Scoop Sites · Dev Notes · Latest CVS changes · Development Activities
Diary Subscriptions now in Beta on this site Boxes
By hillct , Section Code []
Posted on Tue Mar 12, 2002 at 12:00:00 PM PST
Due to the overwhelming response to comments about diary subscriptions, I was inspired ot get off my ass and write up the feature. My implementation was inspired by the excellant work of dannygene on his first scoop patch, with help of Defect and others in initial testing & debugging.

You'll find a 'subscribe' link next to each author's name on stories. Make sure you have enabled the 'Flexible Hotlist Box' in your scoop.k5 display preferences, and you'll see a link at the top to specify the 'Diaries' view of your hotlist. Check it out. Let me know what you think.

Update [2002-3-13 14:29:27 by hillct]: I have modified the behavior of the 'Stories' view of hotlist_flex such that diaries belonging to the logged in user are not listed there any longer. It seemed useful to have them listed there since they were material written by the current user, and that is what that view was intended for, but I am not a heavy user of diaries and I understand from a few who have voiced their opinion, that listing diaries in this view would make for a vary large list vary quickly, with limited benefit. Let me know if the new behavior is better or worse.

After reading things like this: 1, 2, 3, 4, 5, 6. Some folks asked nicely and others whined about it. I'll leave it to the reader to decide which is which ;) but anyway, it needed to get done so it got done.

The usage of the diary subscription mechanism should be self explanatory. I know the first question people will have is about the definition of "new". My definition of "new" is any unread diary entry posted by a user to whom you've subscribed, regardless of it's actual age. This is more encompasing than the definition used in dannygene's code. I think arguments could be made in support of either method, but for query efficiency, I chose this method.

Let me know your thoughts on this subscription mechanism and how it can be improved.

NOTE: The version of hotlist_flex available on the Scoop Box Exchange is version 0.2.3 and the version that supppots display of diary subscriptions is 0.3.1 which will be released after a (hopefully short) beta testing period on scoop.k5. Also, there was a one line change to the codebase to facilitate this functionality, so when released, folks wanting to make use of it, will need to upgrade to the '2002/03/12 01:31:20' or later CVS image.
< ExperimentBank - Creative science | SalsaFix.Com >

Menu
· create account
· faq
· search
· report bugs
· Scoop Administrators Guide
· Scoop Box Exchange

Login
Make a new account
Username:
Password:

Poll
Diary subscriptions are:
· A wonderful thing 100%
· The end of true community 0%
· A sign of the apocolypse 0%
· Well implemented 0%
· Poorly implemented 0%

Votes: 2
Results | Other Polls

Related Links
· Scoop
· dannygene
· Defect
· Flexible Hotlist Box
· 1
· 2
· 3
· 4
· 5
· 6
· definition of "new"
· hotlist_fl ex
· CVS
· More on Boxes
· Also by hillct

Story Views
  56 Scoop users have viewed this story.

Display: Sort:
Diary Subscriptions now in Beta on this site | 13 comments (13 topical, 0 hidden)
Bug report? (none / 0) (#1)
by theantix on Tue Mar 12, 2002 at 10:55:17 AM PST

I'm not getting any reports of new diaries. I went into Dev Notes (that's the scoop.k5 diary section right?) and hit "subscribe" for a few different users. I've never read their dev notes before, yet the flexbox gave no indication of new entries.

In my understand of your methodology for determining "new" entries, shouldn't all dev notes for those users not appear as new?



export? (none / 0) (#2)
by ikarus on Tue Mar 12, 2002 at 12:45:03 PM PST

any chance of getting this subscription data into something like an rdf feed? this way i can monitor diary changes without having to constantly visit the site.

for example:
http://$scoop_site/user/$user/subscription/diary
would pump out an rdf feed of new diary entries for the people i've subscribed to.



story vs. diary (none / 0) (#7)
by janra on Tue Mar 12, 2002 at 08:58:26 PM PST

If this is diary subscriptions, then why does the subscribe link appear on stories, too?


--
Discuss the art and craft of writing




Woohoo! (none / 0) (#9)
by dannygene on Wed Mar 13, 2002 at 09:25:03 AM PST

Thanks for reimplimenting this. I can't wait to check out what you did.

I'm a bit confused about the "new" part though. I'm seeing the same thing theantix was. I subscribed to a person's diary who had at least 2 entries, none of which I read, but my hotlist box is still just showing the username with no numbers.

On a related note, I realize its much easier to find 'new' (or rather unread) diaries the way you're doing it, but when this goes on k5, for instance, some people have hundreds of diaries. I don't want to have to go back and read every single one of someone's diaries just to zero out the unread number. That's why I implemented it the way I did.

One last thing. Is there a way to display more than one hotlist flex box? I'm not sure that I would use it, especially since there's already a standalone hotlist box you can enable, but what if I want to always show the replies box and the diaries box on my pages? Just wondering.



Diary Subscriptions now in Beta on this site | 13 comments (13 topical, 0 hidden)
Display: Sort:

Hosted by ScoopHost.com Powered by Scoop
All trademarks and copyrights on this page are owned by their respective companies. Comments are owned by the Poster. The Rest © 1999 The Management

create account | faq | search