Grabber for Estonia (1 Viewer)

Sasler

Portal Pro
October 19, 2006
72
0
OK here is the result of that XMLTV source I've been fighting for a while. This grabber is from Estonia and so it probably works best for people living there, but there are some channels (like Discovery Channel in English :D ) that work well at least for the rest of the Baltic countries. There are alos some Finnish channels, but it seems that the titles and descritions are in Estonian. Anyway, here it is:

Code:
<?xml version="1.0" encoding="utf-8" ?>
<Grabber>
  <Info availableDays="0" timezone="E. Europe Standard Time" />
  <Channels>
  	<Channel id="etv@kava.ee" siteId="11" />
  	<Channel id="kanal2@kava.ee" siteId="12" />
  	<Channel id="tv3@kava.ee" siteId="13" />
  	<Channel id="tv1000@kava.ee" siteId="14" />
  	<Channel id="yle1@kava.ee" siteId="15" />
  	<Channel id="yle2@kava.ee" siteId="16" />
  	<Channel id="mtv3@kava.ee" siteId="17" />
  	<Channel id="nelonen@kava.ee" siteId="18" />  	
  	<Channel id="animalplanet@kava.ee" siteId="40" />
  	<Channel id="discoverychannel@kava.ee" siteId="41" />
  	<Channel id="discoverycivilization@kava.ee" siteId="42" />
  	<Channel id="discoveryscience@kava.ee" siteId="43" />
  	<Channel id="viasathistory@kava.ee" siteId="45" />
  	<Channel id="viasatexplorer@kava.ee" siteId="46" />
  	<Channel id="mtveesti@kava.ee" siteId="70" />
  </Channels>
  <Listing type="Xml">
    <Site url="http://xmltv.kava.ee/files/[ID]_channeldata.xml" post="" external="false" encoding="" delay="2000" />
    <Xml xpath="//programme" channel="">
      <Fields>
        <Field name="#STARTXMLTV" xmlname="start" />
        <Field name="#ENDXMLTV" xmlname="stop" />
        <Field name="#TITLE" xmlname="title" />
        <Field name="#DESCRIPTION" xmlname="desc" />
      </Fields>
    </Xml>
  </Listing>
</Grabber>

PS. A very big :D for James other for they help.
 

James

Retired Team Member
  • Premium Supporter
  • May 6, 2005
    1,385
    67
    Switzerland
    Hi Sasler,

    Did you read my instructions on the channel ids? They shouldn't be unique for each site, but where possible the same across all sites.

    So for example etv shouldn't be "etv@kava.ee" but instead "etv.ee". This way if there is another Estonian site in the future or someone writes a grabber for etv.ee then the ids will stay the same.

    This is important for channel matching.

    Thanks for all your great work :)

    /James
     

    Sasler

    Portal Pro
    October 19, 2006
    72
    0
    Hi Sasler,

    Did you read my instructions on the channel ids? They shouldn't be unique for each site, but where possible the same across all sites.

    So for example etv shouldn't be "etv@kava.ee" but instead "etv.ee". This way if there is another Estonian site in the future or someone writes a grabber for etv.ee then the ids will stay the same.

    This is important for channel matching.

    Thanks for all your great work :)

    /James

    Yes I've read it, severla times - I might add, but I'm having slight difficulty in grasping fully how the channel IDs should work :confused:.

    Anyway here is the new version for the grabber file for Estonia:

    Code:
    <?xml version="1.0" encoding="utf-8" ?>
    <Grabber>
      <Info availableDays="0" timezone="E. Europe Standard Time" />
      <Channels>
      	<Channel id="etv.ee" siteId="11" />
      	<Channel id="kanal2.ee" siteId="12" />
      	<Channel id="tv3@viasat.ee" siteId="13" />
      	<Channel id="tv1000@viasat.ee" siteId="14" />
      	<Channel id="tv1@yle.fi" siteId="15" />
      	<Channel id="tv2@yle.fi" siteId="16" />
      	<Channel id="mtv3@mtv3.fi" siteId="17" />
      	<Channel id="nelonen@nelonen.fi" siteId="18" />  	
      	<Channel id="animal@discoverychannel.ru" siteId="40" />
      	<Channel id="discovery@discoverychannel.ru" siteId="41" />
      	<Channel id="civilisation@discoverychannel.ru" siteId="42" />
      	<Channel id="science@discoverychannel.ru" siteId="43" />
      	<Channel id="viasathistory@viasat.ee" siteId="45" />
      	<Channel id="viasatexplorer@viasat.ee" siteId="46" />
      	<Channel id="mtveesti.ee" siteId="70" />
      </Channels>
      <Listing type="Xml">
        <Site url="http://xmltv.kava.ee/files/[ID]_channeldata.xml" post="" external="false" encoding="" delay="2000" />
        <Xml xpath="//programme" channel="">
          <Fields>
            <Field name="#STARTXMLTV" xmlname="start" />
            <Field name="#ENDXMLTV" xmlname="stop" />
            <Field name="#TITLE" xmlname="title" />
            <Field name="#DESCRIPTION" xmlname="desc" />
          </Fields>
        </Xml>
      </Listing>
    </Grabber>

    Here I some explanations for the channel IDs I've "invented" :D :

    For this channels a Estonian site existed, so they should be ok:

    etv.ee
    kanal2.ee
    tv3@viasat.ee
    tv1000@viasat.ee
    viasathistory@viasat.ee
    viasatexplorer@viasat.ee
    mtveesti.ee

    These where Finnish channels, so I simply copied the names from Finnish grabbers:

    tv1@yle.fi
    tv2@yle.fi
    mtv3@mtv3.fi
    nelonen@nelonen.fi

    The following where a bit tricky, since I don't understand Russian, but I think (after using Google Translation) that the Discovery Channel that we have in the Baltic's, have the same program schedule as in Russia. However, since I don't see the other channels, I'm just guessing that they too have the same schedule. To be honest, I don't even know if these other channels can be found in the same site:

    animal@discoverychannel.ru
    discovery@discoverychannel.ru
    civilisation@discoverychannel.ru
    science@discoverychannel.ru


    I hope this is what you intended. Now I'll start to fix the channel IDs for the Lithuanian grabber.
     

    Users who are viewing this thread

    Top Bottom