Wednesday, 23 February 2005
Dynamic UIs with blojsom plugins
« Distributed Blacklists for the Blogosphere | Main | More on Dynamic UIs with blojsom plugins »
One of the newest features I've implemented in blojsom is shown in the following image.
Whooopity frickin' doo! A select list allowing you to attach an enclosure to a blog entry! Whooopity frickin' doo!
The only thing is ... the plugin which handles editing of blog entries doesn't know anything about the RSS enclosure plugin. Its template doesn't even have a field for adding an RSS enclosure. However, the RSS enclosures plugin knows that when you're adding or editing a blog entry, if you want to attach an RSS enclosure, it needs to modify the template to throw up its own form item(s). The basic conversation is something similar to the following.
Whooopity frickin' doo! A select list allowing you to attach an enclosure to a blog entry! Whooopity frickin' doo!
The only thing is ... the plugin which handles editing of blog entries doesn't know anything about the RSS enclosure plugin. Its template doesn't even have a field for adding an RSS enclosure. However, the RSS enclosures plugin knows that when you're adding or editing a blog entry, if you want to attach an RSS enclosure, it needs to modify the template to throw up its own form item(s). The basic conversation is something similar to the following.
And so, the RSS enclosure plugin adds the information it needs and the UI for adding or editing an entry now has an option to attach a file as an RSS enclosure. The basic idea is that people will no longer have to know specifics like adding meta-rss-enclosure to an entry. The template should present a request for that information in a more meaningful and customizable way. Simple ... straightforward ... powerful! Other uses for this capability might be, but not limited to ...Entries administration plugin: Listen up everybody, I'm allowing this nutter to rant some more to the Intarw3b, anyone have anything they'd like to add?
RSS enclosure plugin: Hey Ed, how's the wife and kids? Billy make the soccer team this year? Oh yeah, the nutter, I need to know if he wants to add an RSS enclosure to this entry. Here's what I need to know.
- A plugin that allows you to attach language-specific metadata to an entry so you could do something like render a entry right-to-left if say you're writing in Arabic or Hebrew.
- A plugin that allows you to add a number of custom fields to a blog entry. A more general version of the plugin above, if you will.
- A plugin that adds a file-upload form item(s) so you don't have to go to the file upload screen.
- And so on ...
Posted by at 3:28 PM in blojsom ... all blojsom
[Trackback URL for this entry]
