Support for enclosure tag in RSS
Support for enclosure tag in RSS
Podcasting is
the latest hype in the blog, resp. RSS world and as we have to follow
every trend, BxCMS now supports also the enclosure tag ;)
Inspired by a post to the s9y mailinglist by Hannes
I started looking deeper into it and extended the blog2rss.xsl to write
an enclosure tag, if it finds a link to a torrent file in the blogpost.
It could of course be easily expanded to also catch other media formats
like mp3, but I was too lazy and bittorrent is more than enough for my
uses.
If your RSS readers supports enclosures, you should see one now for the FUD Trailer I already published some weeks ago.
Furthermore I started a bittornado seeder on the server, which
automatically scans the files/torrent/ directory and starts seeding
every torrent file it finds there. All I have to do now to publish a
torrent is to upload that within the CMS to this directory and the
seeder starts automatically downloading that from my client. The
following command will start the client with that feature:
btlaunchmanycurses files/torrents/
You maybe should also limit the upload rate with the command –max_upload_rate.
Next feature would be automatic torrent generation on media upload for people without the knowledge of how to make a torrent locally. But that can wait ;)
