« New bookmark managem... | Main | Thanks. »

OPML export in Roller 0.9.9.

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:

  • <a href= "http://rollerweblogger.org/flavor/roller?flavor=opml&path=/Subscriptions/Blogs%20-%20blogroll"> /flavor/roller?flavor=opml&path=/Subscriptions/Blogs%20-%20blogroll

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)

Comments:

Post a Comment:
  • HTML Syntax: NOT allowed

« New bookmark managem... | Main | Thanks. »

Welcome

This is just one entry in the weblog Blogging Roller. You may want to visit the main page of the weblog

Related entries

Below are the most recent entries in the category Roller, some may be related to this entry.