Updated grabber for dagenstv.com in Sweden (3 Viewers)

entrecour

MP Donator
  • Premium Supporter
  • September 11, 2007
    75
    5
    Home Country
    United Kingdom United Kingdom
    Hi Petsa, OK - I'll give it a go. If I get stuck I'll come back for advice :)

    Thanks.
     

    vuego

    Documentation Group
  • Team MediaPortal
  • August 5, 2006
    1,639
    764
    Göteborg
    Home Country
    Sweden Sweden
    Looks like Dagenstv changed some layout again so the template needs to be updated. I need some help getting it right.

    Here's what a program looks like in HTML:
    Code:
        <!-- Start 0 -->
        <!-- 2008-09-28 06:00 --><!--  06:00 -->
        
        <div class="tbl_lrg_event">
           
            <a name="1296362030"></a>
            
            <div class="tbl_lrg_event_time">
                [B]06:00[/B]&nbsp;
            </div>
    
            <div class="tbl_lrg_event_name">
                [B]Gomorron Sverige[/B]<!--Cached Content-->[COLOR="Red"]<b style="display:none;"  >[/COLOR] Copyright Comspace AB 2008  | 2008-09-28 21:08:05 /> < > < /> [COLOR="Red"]</b>[/COLOR]
            </div>
            
                <div class="tbl_lrg_event_description">
                    <!--Cached Content-->[COLOR="Red"]<b style="display:none;" >[/COLOR] Copyright Comspace AB 2008 | 2008-09-28 21:08:05 /> < > < /> [COLOR="Red"]</b>[/COLOR][B]Med nyheter, regionala nyheter.&nbsp;[99700519][/B] 
                </div>
    
                <div class="tbl_lrg_event_icons">
                    <a href="?a=addfav&str=Gomorron Sverige|fredag 10/10 06:00(09:30)|SVT1|svt1.gif&cha=21&cat=&my=&txt=#1296362030"
                            title="Favorite"><img src="/images/v3/icon_heart.gif" alt="Favorit" /></a><a href="javascript:tellWindow(1296362030);" title="Tell a friend"><img src="/images/v3/icon_mail.gif"
                                    alt="Rekommendera" /></a>
                    <a href="http://akas.imdb.com/Tsearch?Gomorron+Sverige" target="blank">
                        <img src="/images/v3/icon_imdb.gif" alt="Internet Movie Database" /></a>
                </div>
                <div style="margin-top:3px;">
                    
                </div>
            </div>
            <!-- Stop 0 -->

    This grabber will do the job:
    Code:
    Start: <!-- Program -->
    End: <!-- Slut Content-tabell -->
    Tags: BDFS
    
    Text:
    <div>
    <div><#START>(<#END>)</div>
    <div><#TITLE>[COLOR="Red"]<b></b>[/COLOR]<z(><span></span></z)?></div>
    <div>
    [COLOR="Red"]<b></b>[/COLOR]<#DESCRIPTION><z(></div>|<form></z)?>

    We need <z(><span></span></z)?> after the TITLE tag or else reruns won't be grabbed.
    The DESCRIPTION tag is ended with </div> OR <form> hence <z(></div>|<form></z)?> in the template.

    Now to the problem. The tags marked in red changes between every reload.
    They can be one of the following:
    <b></b>
    <div></div>
    <font></font>
    <span></span>
    <strong></strong>

    How can we make a template that gets either?
     

    Seeco

    Portal Pro
    October 15, 2007
    241
    7
    Linköping
    Home Country
    Sweden Sweden
    I have been getting a strange problem lately. I use dagenstv to download my EPG, but when I run WebEPG the resulting tvguide.xml stops building at a random point. Sometimes it becomes only 13kb, sometimes 80kb and so on. Could this be because of these problems with DagensTV?
     

    ferroz3

    Portal Member
    January 26, 2008
    12
    1
    Home Country
    Sweden Sweden
    I have been getting a strange problem lately. I use dagenstv to download my EPG, but when I run WebEPG the resulting tvguide.xml stops building at a random point. Sometimes it becomes only 13kb, sometimes 80kb and so on. Could this be because of these problems with DagensTV?

    I see the same thing. For each download I get different program information and thus the size of the tvguide.xml varies. I really hope that someone with the skills succeeds in updating the grabber soon.

    /Martin
     

    J-B-N

    Portal Pro
    December 29, 2005
    196
    20
    Sweden
    Home Country
    Sweden Sweden
    My dagenstv grabber seems to fail and I have no epg-data after friday octpber 10:th. If I understand the last few posts this can't be solved? I seem not skilled enough to fix the grabber myself.

    Is the solution to swap to another source?
     

    Seeco

    Portal Pro
    October 15, 2007
    241
    7
    Linköping
    Home Country
    Sweden Sweden
    Yeah, would another source be a solution or do they all collect their EPG data from the same source initially? I think I have tried at least some of the other sources available in WebEPG config, but that has not made any difference.
     

    J-B-N

    Portal Pro
    December 29, 2005
    196
    20
    Sweden
    Home Country
    Sweden Sweden
    Well, I swapped to grab epg-data from boxer instead. I generally believe that dagenstv has better epg info (programme info) but I need the info.
     

    petsa

    MP Donator
  • Premium Supporter
  • January 23, 2007
    588
    15
    Stockholm
    Home Country
    Sweden Sweden
    Hi guys,

    I swapped to use tv.swedb.se instead. Works very nicely and worked out of the box pretty much.

    /Peter
     

    Users who are viewing this thread

    Top Bottom