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
Grabber file for Lithuania
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="Sasler" data-source="post: 135575" data-attributes="member: 25869"><p>I'm having a some problem with the following code for BTV:</p><p></p><p>[CODE] <?xml version="1.0" encoding="utf-8" ?> </p><p>- <Grabber></p><p> <Info language="lt" availableDays="7" timezone="E. Europe Standard Time" /> </p><p>- <Channels></p><p> <Channel id="btv.lt" siteId="" /> </p><p> </Channels></p><p>- <Listing type="Html"></p><p> <Site url="http://www.btv.lt/index.php/pageid/81/date/[YYYY]-[MM]-[DD]" post="" external="false" encoding="" /> </p><p>- <Html></p><p>- <Template name="default" start="<table cellspacing="1" cellpadding="5" width="100%" border="0" bgcolor="#ffffff">" end="</table>"></p><p>- <SectionTemplate tags="T"></p><p> <TemplateText><tr><td><#START></td> <td><a href><#TITLE></a></td> <td></td></tr></TemplateText> </p><p> </SectionTemplate></p><p> </Template></p><p>- <Template name="Details" start="weekday"></p><p>- <SectionTemplate tags="DP"></p><p> <TemplateText><div><p><#SUBTITLE></p> <z(><p><#GENRE></p><p></p></z)?> <p><#DESCIPTION></p> <p></p></div></TemplateText> </p><p> </SectionTemplate></p><p> </Template></p><p>- <Sublinks></p><p> <Sublink search="programid" template="Details" /> </p><p> </Sublinks></p><p> </Html></p><p> </Listing></p><p> </Grabber>[/CODE]</p><p></p><p>This web site has slightly different versions of details sublink page depending on the show. That is why I use the <z> tag in the template:</p><p></p><p>[CODE]<div><p><#SUBTITLE></p> <z(><p><#GENRE></p><p></p></z)?> <p><#DESCIPTION></p> <p></p></div>[/CODE]</p><p></p><p>This works fine in WebEPG Designer, but when running the grabber in WebEPG (not Designer) it will fill the #GENRE (<category> in TVGuide.xml) and leave the #DESCIPTION (<desc> in TVGuide.xml) empty.</p><p></p><p>For example, the WebEPG Designer shows for the details:</p><p></p><p>#SUBTITLE „ŠALIA KELIO...“ </p><p>#GENRE Humoro laida</p><p>#DESCIPTION Mažame Lietuvos provi...</p><p></p><p>But the TVGuide.xml has only the following entry:</p><p>[CODE]<programme start="20070315173000" channel="btv.lt" clumpidx="0/1"></p><p> <title>ŠALIA KELIO... Humoro laida</title> </p><p> <sub-title>„Šalia Kelio...“</sub-title> </p><p> <category>Humoro laida</category> </p><p> </programme>[/CODE]</p><p></p><p>I tryed to use different template for different sublink (there are 3 - I think - wiht the id of "82", "83" and "88"), but that I couldnt get to work at all. This is what I tryed:</p><p>[CODE]<Sublinks></p><p> <Sublink search="83" template="Details83" /></p><p> <Sublink search="88" template="Details88" /></p><p></Sublinks>[/CODE]</p><p></p><p>This would have been the easyest approach, but it doesn't load any sublinks whe I try this. Any ideas what I'm doing wrong?</p></blockquote><p></p>
[QUOTE="Sasler, post: 135575, member: 25869"] I'm having a some problem with the following code for BTV: [CODE] <?xml version="1.0" encoding="utf-8" ?> - <Grabber> <Info language="lt" availableDays="7" timezone="E. Europe Standard Time" /> - <Channels> <Channel id="btv.lt" siteId="" /> </Channels> - <Listing type="Html"> <Site url="http://www.btv.lt/index.php/pageid/81/date/[YYYY]-[MM]-[DD]" post="" external="false" encoding="" /> - <Html> - <Template name="default" start="<table cellspacing="1" cellpadding="5" width="100%" border="0" bgcolor="#ffffff">" end="</table>"> - <SectionTemplate tags="T"> <TemplateText><tr><td><#START></td> <td><a href><#TITLE></a></td> <td></td></tr></TemplateText> </SectionTemplate> </Template> - <Template name="Details" start="weekday"> - <SectionTemplate tags="DP"> <TemplateText><div><p><#SUBTITLE></p> <z(><p><#GENRE></p><p></p></z)?> <p><#DESCIPTION></p> <p></p></div></TemplateText> </SectionTemplate> </Template> - <Sublinks> <Sublink search="programid" template="Details" /> </Sublinks> </Html> </Listing> </Grabber>[/CODE] This web site has slightly different versions of details sublink page depending on the show. That is why I use the <z> tag in the template: [CODE]<div><p><#SUBTITLE></p> <z(><p><#GENRE></p><p></p></z)?> <p><#DESCIPTION></p> <p></p></div>[/CODE] This works fine in WebEPG Designer, but when running the grabber in WebEPG (not Designer) it will fill the #GENRE (<category> in TVGuide.xml) and leave the #DESCIPTION (<desc> in TVGuide.xml) empty. For example, the WebEPG Designer shows for the details: #SUBTITLE „ŠALIA KELIO...“ #GENRE Humoro laida #DESCIPTION Mažame Lietuvos provi... But the TVGuide.xml has only the following entry: [CODE]<programme start="20070315173000" channel="btv.lt" clumpidx="0/1"> <title>ŠALIA KELIO... Humoro laida</title> <sub-title>„Šalia Kelio...“</sub-title> <category>Humoro laida</category> </programme>[/CODE] I tryed to use different template for different sublink (there are 3 - I think - wiht the id of "82", "83" and "88"), but that I couldnt get to work at all. This is what I tryed: [CODE]<Sublinks> <Sublink search="83" template="Details83" /> <Sublink search="88" template="Details88" /> </Sublinks>[/CODE] This would have been the easyest approach, but it doesn't load any sublinks whe I try this. Any ideas what I'm doing wrong? [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
Electronic Program Guide
WebEPG
Grabber file for Lithuania
Contact us
RSS
Top
Bottom