Mod blogroll

The Mod blogroll install s a module, that takes an OPML-file from your file-gallery and renders it as a blogroll. OPML (Outline Processor Markup Language) is an XML format for outlines. Originally developed by Radio UserLand as a native file format for an outliner application, it has since been adopted for other uses, the most common being to exchange lists of web feeds between web feed aggregators. The OPML specification defines an outline as a hierarchical, ordered list of arbitrary elements. The specification is fairly open which makes it suitable for many types of list data. For more information, see http://en.wikipedia.org/wiki/OPML.

Install

See Mods Admin for instructions on how to install a Mod.

Usage

Once installed, you will see it under ""Admin > Modules > Assign new module > Module Name (drop down)" (tiki-admin_modules.php):

You can assign a this Module to a lateral column (See Module Admin page if needed), or you can include it within a wiki page, using the PluginModule. This module requires to add the parameter fileId=X, being X the number of the Id of the file in the file gallery.

For instance, lets assume that I upload an example opml file (see below) as file 1 in the file gallery: you need to add "filedId=1" at the parameters field. The assign module screen would look like:

Image


The content of that file (http://static.userland.com/gems/radiodiscuss/playlist.opml) is:

Copy to clipboard
<?xml version="1.0" encoding="ISO-8859-1"?> <opml version="1.0"> <head> <title>playlist.xml</title> <dateCreated>Thu, 27 Jul 2000 03:24:18 GMT</dateCreated> <dateModified>Fri, 15 Sep 2000 09:01:23 GMT</dateModified> <ownerName>Dave Winer</ownerName> <ownerEmail>dave@userland.com</ownerEmail> <expansionState>1,3,17</expansionState> <vertScrollState>1</vertScrollState> <windowTop>164</windowTop> <windowLeft>50</windowLeft> <windowBottom>672</windowBottom> <windowRight>455</windowRight> </head> <body> <outline text="Background"> <outline text="I've started to note the songs I was listening to as I was writing DaveNet pieces. "/> </outline> <outline text="The Last Napster Sunday?"> <outline text="Heart of Glass.mp3" type="song" f="Blondie - Heart of Glass.mp3"/> <outline text="Manic Monday.mp3" type="song" f="Bangles - Manic Monday.mp3"/> <outline text="Everybody Have Fun Tonight.mp3" type="song" f="Wang Chung - Everybody Have Fun Tonight.mp3"/> <outline text="She Blinded Me With Science.mp3" type="song" f="Thomas Dolby - She Blinded Me With Science.mp3"/> <outline text="Rivers of Babylon (HTC).mp3" type="song" f="Jimmy Cliff - Rivers of Babylon (HTC).mp3"/> <outline text="The Tide Is High.mp3" type="song" f="Blondie - The Tide Is High.mp3"/> <outline text="Back to the Island.mp3" type="song" f="Leon Russell - Back to the Island.mp3"/> <outline text="Lucky Man.mp3" type="song" f="Emerson Lake &amp; Palmer - Lucky Man.mp3"/> <outline text="Up on Cripple Creek.mp3" type="song" f="The Band - Up on Cripple Creek.mp3"/> <outline text="Crackerbox Palace.mp3" type="song" f="George Harrison - Crackerbox Palace.mp3"/> <outline text="Taxi.Mp3" type="song" f="Harry Chapin - Taxi.Mp3"/> <outline text="Thick As A Brick.mp3" type="song" f="Jethro Tull-Thick As A Brick.mp3"/> <outline text="Riding With the King.mp3" type="song" f="B. B. King &amp; Eric Clapton - Riding With the King - 11 - Hold On Im Coming.mp3"/> </outline> <outline text="The Thrill is Gone?"> <outline text="Shaft.MP3" type="song" f="Isaac Hayes - Shaft.MP3"/> <outline text="Superfly.mp3" type="song" f="Curtis Mayfield -- Superfly.mp3"/> <outline text="Rivers of Babylon (HTC).mp3" type="song" f="Jimmy Cliff - Rivers of Babylon (HTC).mp3"/> <outline text="The Harder They Come.mp3" type="song" f="Jimmy Cliff - The Harder They Come.mp3"/> <outline text="The Revolution Will Not Be Televised.mp3" type="song" f="Gil Scott Heron - The Revolution Will Not Be Televised.mp3"/> <outline text="The Thrill Is Gone.mp3" type="song" f="BB King - The Thrill Is Gone.mp3"/> <outline text="Hit Me with Your Rhythm Stick.mp3" type="song" f="Ian Drury &amp; the Blockheads - Hit Me with Your Rhythm Stick.mp3"/> </outline> </body> </opml>



The assigned module looks like this:

Image

Related pages