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
Updated grabber for dagenstv.com in Sweden
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="vuego" data-source="post: 309023" data-attributes="member: 23741"><p>Looks like Dagenstv changed some layout again so the template needs to be updated. I need some help getting it right.</p><p></p><p>Here's what a program looks like in HTML:</p><p>[CODE] <!-- Start 0 --></p><p> <!-- 2008-09-28 06:00 --><!-- 06:00 --></p><p> </p><p> <div class="tbl_lrg_event"></p><p> </p><p> <a name="1296362030"></a></p><p> </p><p> <div class="tbl_lrg_event_time"></p><p> [B]06:00[/B]&nbsp;</p><p> </div></p><p></p><p> <div class="tbl_lrg_event_name"></p><p> [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]</p><p> </div></p><p> </p><p> <div class="tbl_lrg_event_description"></p><p> <!--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] </p><p> </div></p><p></p><p> <div class="tbl_lrg_event_icons"></p><p> <a href="?a=addfav&str=Gomorron Sverige|fredag 10/10 06:00(09:30)|SVT1|svt1.gif&cha=21&cat=&my=&txt=#1296362030"</p><p> 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"</p><p> alt="Rekommendera" /></a></p><p> <a href="http://akas.imdb.com/Tsearch?Gomorron+Sverige" target="blank"></p><p> <img src="/images/v3/icon_imdb.gif" alt="Internet Movie Database" /></a></p><p> </div></p><p> <div style="margin-top:3px;"></p><p> </p><p> </div></p><p> </div></p><p> <!-- Stop 0 --></p><p></p><p>[/CODE]</p><p></p><p>This grabber will do the job:</p><p>[CODE]</p><p>Start: <!-- Program --></p><p>End: <!-- Slut Content-tabell --></p><p>Tags: BDFS</p><p></p><p>Text:</p><p><div></p><p><div><#START>(<#END>)</div></p><p><div><#TITLE>[COLOR="Red"]<b></b>[/COLOR]<z(><span></span></z)?></div></p><p><div></p><p>[COLOR="Red"]<b></b>[/COLOR]<#DESCRIPTION><z(></div>|<form></z)?>[/CODE]</p><p></p><p>We need <z(><span></span></z)?> after the TITLE tag or else reruns won't be grabbed.</p><p>The DESCRIPTION tag is ended with </div> OR <form> hence <z(></div>|<form></z)?> in the template.</p><p></p><p>Now to the problem. The tags marked in red changes between every reload.</p><p>They can be one of the following:</p><p><b></b></p><p><div></div></p><p><font></font></p><p><span></span></p><p><strong></strong></p><p></p><p>How can we make a template that gets either?</p></blockquote><p></p>
[QUOTE="vuego, post: 309023, member: 23741"] 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] </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. [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 --> [/CODE] 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)?>[/CODE] 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? [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
Electronic Program Guide
WebEPG
Updated grabber for dagenstv.com in Sweden
Contact us
RSS
Top
Bottom