NEW Italian EPG grabber, but need your HELP!!

Discussion in 'WebEPG' started by koala04, September 26, 2006.

  1. koala04

    koala04 Portal Member

    Joined:
    September 26, 2006
    Messages:
    10
    Likes Received:
    0
    Ratings:
    +0 / 0
    Home Country:
    Italy Italy
    for all italians watchers i've made a new grabber for italian channels from site alice.it but i need your help to coplete the project. i want to grab also the extra descriprion that is linked on grabbed lines but im not able to configure the "SubListingLink" command. if someone can halp me... :D

    this is my currently grabber. it works perfect for simple grabber with no extra description:

    (correct some things)



    <?xml version="1.0" encoding="utf-8"?>
    <profile>
    <section name="ChannelList">
    <entry name="Rai 1">1</entry><!-- Rai 1 -->
    <entry name="Rai 2">3</entry><!-- Rai 2 -->
    <entry name="Rai 3">16</entry><!-- Rai 3 -->
    <entry name="Canale 5">22</entry><!-- Canale 5 -->
    <entry name="Italia 1">23</entry><!-- Italia 1 -->
    <entry name="Rete 4">24</entry><!-- Rete 4 -->
    <entry name="La7">75</entry><!-- La7 -->
    <entry name="All Music">72</entry><!-- All Music -->
    <entry name="MTV Italia">24</entry><!-- Mtv -->
    </section>

    <section name="Listing">
    <entry name="BaseURL">http://spettacolo.alice.it</entry>
    <entry name="SearchURL">/guidatv/cgi/index.cgi?tipo=3&amp;channel=[ID]&amp;day=[DD]/[MM]/[YYYY]</entry>

    <entry name="Tags">TDA</entry>

    <!-- Template of the Listing information -->
    <entry name="Template">
    <tr>
    <td>
    <div>
    <#START>
    </div>
    </td>
    <td>
    <div>
    <a href>
    <#TITLE>
    </div>
    </td>
    <td>
    <div>
    <#GENRE>
    </div>
    </td>
    </tr>
    </entry>
    <entry name="SubListingLink">?tipo=1&amp;qs=</entry>
    </section>
    <section name="SubListing">
    <entry name="Tags">TD</entry>
    <entry name="Template">
    <div id="scheda-testo">
    <#DESCRIPTION>
    <br><br>
    <b></b>
    <br>
    <br>
    </div>
    </entry>
    </section>
    <section name="Info">
    <entry name="GuideDays">6</entry>
    <entry name="Language">it</entry>
    <entry name="SiteDescription">alice.it</entry>
    <entry name="TimeZone">W. Europe Standard Time</entry>
    </section>
    </profile>
     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. boobee
    • Team MediaPortal

    boobee Retired Team Member

    Joined:
    May 10, 2006
    Messages:
    60
    Likes Received:
    0
    Ratings:
    +0 / 0
    Home Country:
    Italy Italy
  4. crazyboy
    • Premium Supporter

    crazyboy MP Donator

    Joined:
    March 25, 2006
    Messages:
    38
    Likes Received:
    8
    Ratings:
    +8 / 0
    Show System Specs
    Hi, i have tested your grabber script and work perfect. I have had to replaced "<" and ">" simbols with "&#60" and "&#62" and i have had to replaced "Channel DB ID" but other is ok.

    It grab description too without problem.

    Thank's
     
  5. koala04

    koala04 Portal Member

    Joined:
    September 26, 2006
    Messages:
    10
    Likes Received:
    0
    Ratings:
    +0 / 0
    Home Country:
    Italy Italy
    can you post your script?
     
  6. boobee
    • Team MediaPortal

    boobee Retired Team Member

    Joined:
    May 10, 2006
    Messages:
    60
    Likes Received:
    0
    Ratings:
    +0 / 0
    Home Country:
    Italy Italy
    sorry, what script are we talking about?

    I use xmltv (svn) only and its own grabber 'tv_grab_it', first time xmltv needs to be invoked with --configure (xmltv tv_grab_it --configure) to let you choose which channel it should retrieve, then i scheduled this command:

    Code (Text):
    1. xmltv tv_grab_it --output d:\mediaportal\xmltv\tvguide.xml --days 7 --slow --verbose --backend skytv

    Last, but not least, your channels need to be renamed to match xmltv's naming, otherwise your tvguide will be empty.

    that's all.
     
  7. boobee
    • Team MediaPortal

    boobee Retired Team Member

    Joined:
    May 10, 2006
    Messages:
    60
    Likes Received:
    0
    Ratings:
    +0 / 0
    Home Country:
    Italy Italy
    ... maybe you meant WebEPG grabber? AFAIK skytv/skylife is not supported by WebEPG, it uses some non-standard stuff in the way it renders data which can't be handled ATM.

    hope i don't have misunderstood your question
     
  8. koala04

    koala04 Portal Member

    Joined:
    September 26, 2006
    Messages:
    10
    Likes Received:
    0
    Ratings:
    +0 / 0
    Home Country:
    Italy Italy
    xmltv is sooooooo slow :( webepg grab all channels in 30 seconds...

    my question was for crazyboy :)
     
  9. boobee
    • Team MediaPortal

    boobee Retired Team Member

    Joined:
    May 10, 2006
    Messages:
    60
    Likes Received:
    0
    Ratings:
    +0 / 0
    Home Country:
    Italy Italy
  10. crazyboy
    • Premium Supporter

    crazyboy MP Donator

    Joined:
    March 25, 2006
    Messages:
    38
    Likes Received:
    8
    Ratings:
    +8 / 0
    Show System Specs
    Sorry for delay.

    My script in attachment.



    p.s.
    I see now that if i write script in this forum messagge "&#60" e "&#62" symbols come are converted.
     
  11. koala04

    koala04 Portal Member

    Joined:
    September 26, 2006
    Messages:
    10
    Likes Received:
    0
    Ratings:
    +0 / 0
    Home Country:
    Italy Italy
    yesterday Jams have made some code correction to webepg. tonight i will post the correct grabber with all channel (terrestral+satellite)
     

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!