home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Support
Electronic Program Guide
WebEPG
WebEPG trouble creating grabber for US radio stations
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="benicehavefun" data-source="post: 1222596" data-attributes="member: 149859"><p>RonD -</p><p></p><p>You're the man! I'd given up hope of finding the WebEPG Designer -- since the link was dead, and I could find few mentions of it. But that did the trick, I was able to load the page source and move much more quickly experimenting with possible templates. I've hit on one that works for loading one day's schedule for one radio station. Next I'll set my sights on adding more stations and importing the full 7 days that appears to be available.</p><p></p><p>For anyone that's interested, here's the grabber for the current day, one station:</p><p></p><p>[CODE=XML]<?xml version="1.0" encoding="utf-8"?></p><p><Grabber></p><p> <Info language="en" availableDays="7" timezone="Pacific Standard Time" version="0.1" /></p><p> <Channels></p><p> <Channel id="KNOW-FM" siteId="3740" /></p><p> </Channels></p><p> <Listing type="Html"></p><p> <Site url="http://www.dar.fm/user_search.php?search_type=stations&amp;station_id=[ID]&amp;list_type=station_detail" post="" external="false" encoding="" /></p><p> <Html></p><p> <Template name="default" start="" end=""></p><p> <SectionTemplate tags="AT"></p><p> <TemplateText></p><p> &lt;tr&gt;&lt;td&gt;&lt;img&gt;&lt;/td&gt;&lt;td&gt;&lt;a&gt;&lt;img&gt;&lt;/a&gt;&lt;a&gt;&lt;#TITLE&gt;&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;#START&gt; Pacific&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;</p><p> </TemplateText></p><p> </SectionTemplate></p><p> </Template></p><p> </Html></p><p> </Listing></p><p></Grabber>[/CODE]</p><p></p><p>Understanding how the "template tags" combine with the "template text" during parsing was where WebEPG Designer really made a difference for me. Plus, being able to work with the template text in "normal" form rather than "xml" was sweet.</p><p></p><p>Cheers,</p><p></p><p>Scott</p></blockquote><p></p>
[QUOTE="benicehavefun, post: 1222596, member: 149859"] RonD - You're the man! I'd given up hope of finding the WebEPG Designer -- since the link was dead, and I could find few mentions of it. But that did the trick, I was able to load the page source and move much more quickly experimenting with possible templates. I've hit on one that works for loading one day's schedule for one radio station. Next I'll set my sights on adding more stations and importing the full 7 days that appears to be available. For anyone that's interested, here's the grabber for the current day, one station: [CODE=XML]<?xml version="1.0" encoding="utf-8"?> <Grabber> <Info language="en" availableDays="7" timezone="Pacific Standard Time" version="0.1" /> <Channels> <Channel id="KNOW-FM" siteId="3740" /> </Channels> <Listing type="Html"> <Site url="http://www.dar.fm/user_search.php?search_type=stations&station_id=[ID]&list_type=station_detail" post="" external="false" encoding="" /> <Html> <Template name="default" start="" end=""> <SectionTemplate tags="AT"> <TemplateText> <tr><td><img></td><td><a><img></a><a><#TITLE></a></span></td><td><#START> Pacific</td><td></td></tr> </TemplateText> </SectionTemplate> </Template> </Html> </Listing> </Grabber>[/CODE] Understanding how the "template tags" combine with the "template text" during parsing was where WebEPG Designer really made a difference for me. Plus, being able to work with the template text in "normal" form rather than "xml" was sweet. Cheers, Scott [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
Electronic Program Guide
WebEPG
WebEPG trouble creating grabber for US radio stations
Contact us
RSS
Top
Bottom