Updated: 2009-07-05: updated Yle Areena parser, added offline rss writer
Updated: 2009-04-25: updated vimeo.com parser
Updated: 2009-03-30: fixed a quote bug in reply-rss.jsp page
Updated: 2009-03-22: added The Onion, ČT24

Web videos to RSS feed

Convert YLE Areena search results to rss.xml feed.
Convert Youtube search results to rss.xml feed.
Convert Video.Google search results to rss.xml feed.
Convert Vimeo to rss.xml feed.
Convert The Onion to rss.xml feed.
Convert ČT24 Czech TV to rss.xml feed.

The following links work in Tomcat/Jetty application server, see installation topic for more information.
Version details
YLE Areena videos
Youtube videos
Google videos
Vimeo videos
The Onion videos
ČT24 Czech TV

Yle Areena feed parameters
/yleareena.jsp
Parameter Values Default Mandatory Comment
keyword any string (utf-8)   search keyword, non us-ascii characters use UTF-8 url encoding
cid any number   category id, see ids from Yle Areena site
pid any number   program id, see ids from Yle Areena site
quality lo,hi lo   video quality
medialink url,asxref,asxrefmms url   format of media file url in a rss document. VLC streaming seems only to work with asxrefmms links
media video,audio,all all   select items by media type
filter any string     pass-through parameter to YLE Areena search url
title any string   title of the rss feed results
desc any string   description of the rss feed results

Youtube feed parameters
/youtube.jsp
Parameter Values Default Mandatory Comment
keyword any string (utf-8)   search keyword, non us-ascii characters use UTF-8 url encoding
medialink url,e26 url medialink format, VLC streaming seems to work with e26 only
title any string   title of the rss feed results
desc any string   description of the rss feed results
url any youtube url link   any youtube url to list videos, usually you don't need to give it

GoogleVideo feed parameters
/googlevideo.jsp
Parameter Values Default Mandatory Comment
keyword any string (utf-8)   search keyword, non us-ascii characters use UTF-8 url encoding
medialink url,e26 url medialink format, VLC streaming seems to work with e26 only
title any string   title of the rss feed results
desc any string   description of the rss feed results
url any video.google.com url link   any youtube url to list videos, usually you don't need to give it

Vimeo feed parameters
/vimeo.jsp
Parameter Values Default Mandatory Comment
title any string   title of the rss feed results
desc any string   description of the rss feed results
url any vimeo.com RSS link   any vimeo.com RSS link, html links not supported

UTF-8 url encoding helper

Use this helper tool to convert search keyword to utf-8 url encoded string.
Text Convert
Encoded

Installation, Requirements

See Installation.txt for detailed installation steps to setup a new Tomcat server and few configuration settings.

Converter .jsp pages need JSTL v1.1 library and all you really need from the binary distribution is jstl.jar and standard.jar files. Some servlet engines may already have libraries in place.

PS3MediaServer dlna

Html conversion to rss feed gives an option to publish video sites to PS3 Media Server dlna server. Playstation 3 can playback videos and audios through PS3MS streaming. See this topic. PS3MS uses VLC streamer so rss medialinks must be VLC compatible format, see previous .jsp feed parameter tables.

Feed sources can be either a link to .jsp page or local files created by commandline tool.

## Example html2rss urls
videofeed.Web,YLE=http://localhost:8080/areenafeed/yleareena.jsp?quality=hi&medialink=asxrefmms&media=video&keyword=T%C3%A4n%C3%A4%C3%A4n+otsikoissa
videofeed.Web,YLE=http://localhost:8080/areenafeed/yleareena.jsp?quality=lo&medialink=asxrefmms&cid=164618&pid=215452
videofeed.Web,YLE=http://localhost:8080/areenafeed/yleareena.jsp?quality=lo&medialink=asxrefmms&cid=164618&pid=215452&title=Alueellinen+uutisl%C3%A4hetys

videofeed.Web,Google=http://localhost:8080/areenafeed/googlevideo.jsp?medialink=e26&desc=Jenni+Vartiainen+videos&keyword=Jenni+Vartiainen
videofeed.Web,Youtube=http://localhost:8080/areenafeed/youtube.jsp?desc=Led+Zeppelin+videos&keyword=Led+Zeppelin
videofeed.Web,Vimeo=http://localhost:8080/areenafeed/vimeo.jsp?title=Documentary+films&quality=lo&url=channels/documentaryfilm/videos/rss
videofeed.Web,The Onion=http://localhost:8080/areenafeed/theonion.jsp?title=Most+Recent&url=content/ajax/onn/list/8/0/mostrecent

videofeed.WebTV,ZDF=http://localhost:8080/areenafeed/asxsource.jsp?medialink=asxrefmms&title=ZDF&url=http://wstreaming.zdf.de/zdf/56/090217_anstalt_nad.asx
videofeed.WebTV,CT24=http://localhost:8080/areenafeed/ct24cz.jsp?medialink=asxrefmms&title=Programmes&maxitems=6&url=vysilani/?streamtype=WM2

audiofeed.Web [vlcaudio]=http://localhost:8080/areenafeed/yleareena.jsp?medialink=asxrefmms&media=audio&keyword=Kulttuuripeili

videofeed.Web2=http://koti.mbnet.fi/akini/ps3/rss_video.xml
videofeed.Web2=http://koti.mbnet.fi/akini/ps3/rss-simple_video.xml
audiofeed.Web2 [vlcaudio]=http://koti.mbnet.fi/akini/ps3/rss-simple_audio.xml

videofeed.Web3=file:///C:/projects/areenafeed/rss-simple1.xml
videofeed.Web3=file:///C:/projects/areenafeed/rss-simple2.xml

TODO, Missing features


http://koti.mbnet.fi/akini/