Thursday, June 18, 2009

iView RSS feed


iView RTMP streams are unmetred for some Australian ISPs. It would be nice to be able to save these RTMP streams automatically with software like Miro or iTunes. The program information is published as XML, which can be converted to an RSS feed easily enough. But to actually grab the RTMP stream requires special software.

My basic solution:
- Install Tomcat 5.5 and enable the cgi servlet, configure 'executable' to be 'bash'.
- Deploy Exist onto the Tomcat (and locked down the admin account).
- Copy an XQuery script into Exist that fetches the XML file and generates RSS.
- Wrap the rtmpdump binary with a cgi script that does the HTTP handling and grabs an iView authentication token.

End result: I can subscribe to iView RTMP streams in my video rss client of choice (ie Miro).



Kudos to some guys on Whirlpool for publishing scripts that do some CLI rtmpdumping of iView. The IP addresses they use work for me, but different ISPs probably need different IP addresses.

And the two scripts are iview.xql and iviewdump.cgi