Revision [14295]
This is an old revision of BookmarkManager made by BrianKoontz on 2006-05-21 20:38:22.
Bookmark Manager
I've been toying with the idea of implementing an integrated bookmark manager into Wikka. With the demise of de.lirio.us imminent, I originally thought it would be most time-efficient to attempt a port of the Rubric engine. Upon further review, I believe Rubric is the poster child of all things ugly with Perl (and this coming from a long-time Perl coder!). I'd like to borrow some features from Rubric and incorporate them into the bookmark manager.
Design ideas
- Allow both user-specific and site-wide bookmark access (other than those tagged as "private")
- Allow tagging
- I'll post some screenshots of de.lirio.us here for contemplation purposes
- I've been looking at Scuttle (what a great find, thanks to Nils!), and I think I'll work with it instead. It's open source and written in PHP, so it should be much easier to integrate with Wikka than Rubric. I have it up and running, and it seems like these will be the mods necessary to have a truly integrated bookmark manager using Scuttle:
- Create an interface between Scuttle's user auth routines and Wikka's
- Create Wikka templates in place of the Scuttle standalone templates
- Use Wikka's DB connection info rather than a separate Scuttle config
- Implement as a handler or an action? Or a combination of both?
Progress reports
- I have a very rudimentary manager running, using the stock Scuttle code. Lots of ugly hacks, though, in the action code due to the prolific use of global vars in Scuttle (I have to manually identify and set each Scuttle global var in the Wikka $GLOBALS array). Which leads me to a design decision: Should I try to keep as much of Scuttle as intact as possible, relying on hacks and tricks at the Wikka level, or should I try to strip out as much cruft from Scuttle as possible for a truly integrated solution? There's actually an advantage to choice #1: It would be much easier to keep track of Scuttle updates. Choice #2 results in a cleaner implementation, but at the cost of having to manually implement future Scuttle improvements.
- Beta test announcement: Well, after hacking around with Scuttle, I decided it was much too complex for what I had in mind. Nils suggested another project, Freetag, that seems to provide the basic functionality needed without all of the formatting/presentation overhead. I have a beta up and running here, and would appreciate your comments and suggestions! Keep in mind this is still quite rough around the edges, but I was aiming more towards proof-of-concept. I think something like this would be a cool addition (as a 100% modular plugin) to Wikka...
TODO
- Post action code, modifications to Freetag library
- As a general consideration it would be nice to provide this functionality as a handler.
- it would be nice to have a link for the add-form near list yours.
- how about something like my tags / all tags?
- what would be usefull: If I tag a link with the name of an existing wiki-page, this link could show up at the end of the page.