Script request. www.svt.se
#1
hi,

for swedish viewers, it would be quite nice to be able to view the content of swedish tv's open archive:
http://svt.se/svt/jsp/crosslink.jsp?d=29768

they have started to put up quite alot of content.
Reply
#2
you might want to take a look at ooba http://www.deviantart.com/deviation/16987987/ .. if you know regular expressions then it should be quite easy to add swedish tv to this. (just change menu.xml) ... i would start from the content on this page: http://svt.se/svt/jsp/crosslink.jsp?d=30620 . if you manage to get it to work, then please post your additions here.

otherwise i might give it a go, but it will be a week or so before i have time.
Reply
#3
here you go your majesty Smile

it was so easy (because of the nice layout of svt.se) that i decided to do it right away... here are the new elements for menu.xml:

this goes inside the menu element
Quote:                <item>
                       <title>svt swedish tv</title>
                       <url>http://svt.se/svt/road/classic/shared/mediacenter/navigation.jsp?d=29719</url>    
               </item>

this goes inside the actions element
Quote:                <action type="submenu">
                       <url><![cdata[^http://svt.se/.*/navigation.jsp]]></url>
                       <links><![cdata[<a[^<>]+href="(?p<url>[^<>"]+)"[^<>]*>(?p<title>[^<>]+)</a]]></links>
                       <urlformat>%s</urlformat>
               </action>
               <action type="submenu">
                       <url><![cdata[^http://svt.se/.*/player.jsp]]></url>
                       <links><![cdata["(?p<url>[^<>"]+\.asx)"]]></links>
                       <urlformat>%s</urlformat>
               </action>

i have included this change in my test version on this site:

http://www.deviantart.com/view/16987987/
Reply
#4
great, i will try it as soon as i come home!!!
Reply
#5
you are the best :kickass:
Reply

Logout Mark Read Team Forum Stats Members Help
Script request. www.svt.se0