Grabber for bbcworld.com and travelchannel.co.uk (1 Viewer)

Sasler

Portal Pro
October 19, 2006
72
0
Here is the code for BBC World(note that I have it set for E. Europe Standard Time, but it should be easy to change by changing the value of TimeZone):

Code:
<?xml version="1.0" encoding="utf-8" ?>
<Grabber>
  <Info language="lt" availableDays="7" timezone="E. Europe Standard Time" />
  <Channels>
  	<Channel id="bbcworld.com" siteId="" />
  </Channels>
  <Listing type="Html">
    <Site url="http://www.bbcworld.com/Pages/SchedulesByFormats.aspx?TimeZone=324&amp;StartDate=[DD]/[MM]/[YYYY]&amp;EndDate=[DD]/[MM]/[YYYY]&amp;Format=Print" post="" external="false" encoding="" />
    <Html>
      <Template name="default">
        <SectionTemplate tags="TF">
          <TemplateText>
            &lt;tr&gt;&lt;td&gt;&lt;#START&gt;&lt;/td&gt;
	&lt;td&gt;&lt;#TITLE&gt;&lt;/td&gt;
	&lt;td&gt;&lt;#SUBTITLE&gt;&lt;/td&gt;  
	&lt;td&gt;&lt;#DESCRIPTION&gt;&lt;/td&gt;&lt;/tr&gt;            
          </TemplateText>
        </SectionTemplate>
      </Template>
    </Html>
  </Listing>
</Grabber>

And here is the code for Travel Channel:

Code:
<?xml version="1.0" encoding="utf-8" ?>
<Grabber>
  <Info language="lt" availableDays="7" timezone="E. Europe Standard Time" />
  <Channels>
  	<Channel id="bbcworld.com" siteId="" />
  </Channels>
  <Listing type="Html">
    <Site url="http://www.bbcworld.com/Pages/SchedulesByFormats.aspx?TimeZone=324&amp;StartDate=[DD]/[MM]/[YYYY]&amp;EndDate=[DD]/[MM]/[YYYY]&amp;Format=Print" post="" external="false" encoding="" />
    <Html>
      <Template name="default">
        <SectionTemplate tags="TF">
          <TemplateText>
            &lt;tr&gt;&lt;td&gt;&lt;#START&gt;&lt;/td&gt;
	&lt;td&gt;&lt;#TITLE&gt;&lt;/td&gt;
	&lt;td&gt;&lt;#SUBTITLE&gt;&lt;/td&gt;  
	&lt;td&gt;&lt;#DESCRIPTION&gt;&lt;/td&gt;&lt;/tr&gt;            
          </TemplateText>
        </SectionTemplate>
      </Template>
    </Html>
  </Listing>
</Grabber>
 

Users who are viewing this thread

Top Bottom