Dave Johnson on open web technologies, social software and software development
« New bookmark managem... | Main | Thanks. »
As part of Roller 0.9.9's new boomkark management features, I have also added the ability to export the bookmark folder hierarchy as OPML. I implemented this by changing Roller's RSSServlet into a FlavorServlet that serves "flavors" defined by Velocity templates found in the classpath at under /flavors
and by adding a new flavor called opml.vm
.
For example, the following URL will retrieve all of my folders in OPML format:
The following URL will retrieve only the contents of the my "/Subscriptions/Blogs - blogroll" folder:
And finally, the following URL will return my RSS2 feed:
Note that the FlavorServlet defaults to RSS and is mapped to /rss
as well as /flavor
so all existing Roller RSS URLs will continue to work.
There is also a new macro #showOpmlLink
that renders an OPML icon which links to the bookmark folder of your choice. For example, near the bottom of my Bookmarks page there are OPML links, one for my bookmarks and one for my subsriptions. These OPML links are displayed by the following template code:
<p>You can download my entire bookmark collection in OPML format using the links below:</p> #showOpmlLink("/Bookmarks")Bookmarks (shown above)<br /> #showOpmlLink("/Subscriptions")RSS Subscriptions (not shown)
Dave Johnson in Roller
08:23AM Nov 26, 2003
Comments [0]
Tags:
Roller
« New bookmark managem... | Main | Thanks. »
This is just one entry in the weblog Blogging Roller. You may want to visit the main page of the weblog
Below are the most recent entries in the category Roller, some may be related to this entry.