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
Develop my own Grabber
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="DKreeK" data-source="post: 100643" data-attributes="member: 28203"><p>Hello,</p><p></p><p>I want to develop my own grabber but I have some problem. The only documentation I found it's the "commented-grabber.xml" file. But I have some questions :</p><p></p><p>- I want to use the tag [PAGE_OFFSET] in my URL site and to go from 1 to 5. If I read the documentation, I can use PageStart to start from 1 and not 0. But this don't work... Also, I don't find where i put the limit...</p><p></p><p>- Here an exemple of the HTML code</p><p>[CODE]<div class="horaire" style="width: 97px;">&nbsp;00H25</div></p><p><div class="thematique-34782" style="width: 97px;">&nbsp;DOCUMENTAIRE</div></p><p><div class="info" style="height: 61px; width: 97px;"><p style="padding: 2px 3px;"></p><p> <a href="javascript:var retour=popupSimple('tpl72.htm&cha=239&thema=34782&DID=16591057', 'Inscription', 400, 584);" class="tt-blanc10">Photo de couv'</a></p><p> </p></p><p></div></p><p><div class="duree" style="width: 97px;">25 min </div></p><p><div id="zoomEmission16591057" class="DetailEmission" onmouseout="MM_changeProp('zoomEmission16591057', '', 'style.visibility', 'hidden', 'DIV');"></p><p> <p style="padding: 2px;"></p><p> <span class="tt-noir10">PHOTO DE COUV'</span><br /><br /></p><p> De 00h25 à 00h50 <br /><br /></p><p> DOCUMENTAIRE &nbsp;-&nbsp;SOCIETE<br /></p><p> <br /></p><p> Rediffusion<br /></p><p> </p></p><p></div>[/CODE]</p><p></p><p>I want to have</p><p></p><p>[CODE] <programme start="20070102002500" end="20070102005000" channel="discoveryrealtime.fr"></p><p> <title>Photo de couv'</title></p><p> <category>Documentaire - Societe</category></p><p> </programme>[/CODE]</p><p></p><p>So I wrote :</p><p></p><p>[CODE] <SectionTemplate tags="TPA"></p><p> <TemplateText></p><p> &lt;span class="tt-noir10"&gt;&lt;#TITLE&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;</p><p> De&lt;#START&gt;à&lt;#END&gt;&lt;br/&gt;&lt;br/&gt;</p><p> &lt;#GENRE&gt;&lt;br /&gt;</p><p> </TemplateText></p><p> </SectionTemplate></p><p>[/CODE]</p><p></p><p>I have a problem : It doesn't work and I have the log file : </p><p>[CODE]2007-01-02 00:50:58.928256 [Info.][1]: WebEPG: ChannelId: discoveryrealtime.fr</p><p>2007-01-02 00:50:58.943881 [Debug][1]: WebEPG: Grab Start 00:50 02/01/2007</p><p>2007-01-02 00:50:58.990756 [Info.][1]: WebEPG: Reading http://www.canalsat.fr/index.php?tpl=217&DAY=02-01-07&cha=239&tra=0&multi=2 POST: </p><p>2007-01-02 00:51:00.662631 [Info.][1]: WebEPG: Listing Count 25</p><p>2007-01-02 00:51:00.678256 [Warn.][1]: WebEPG: Program Count (0) < Listing Count (25), possible template error</p><p>2007-01-02 00:51:00.678256 [Info.][1]: WebEPG: Finished</p><p>[/CODE]</p><p>Could you help me ? And it's possible to lowercase the title and the category like the php function "ucfirst" ?</p><p></p><p>I have also an other question, I want to get the description of the entry. But the description is in an athor page (a popup). I have the link before an for this exemple it's : tpl72.htm&cha=239&thema=34782&DID=16591057</p><p>It's possible to get the description from an other HTML page ?</p><p></p><p>Thank's in advance and an happy new year for every body !!!</p></blockquote><p></p>
[QUOTE="DKreeK, post: 100643, member: 28203"] Hello, I want to develop my own grabber but I have some problem. The only documentation I found it's the "commented-grabber.xml" file. But I have some questions : - I want to use the tag [PAGE_OFFSET] in my URL site and to go from 1 to 5. If I read the documentation, I can use PageStart to start from 1 and not 0. But this don't work... Also, I don't find where i put the limit... - Here an exemple of the HTML code [CODE]<div class="horaire" style="width: 97px;"> 00H25</div> <div class="thematique-34782" style="width: 97px;"> DOCUMENTAIRE</div> <div class="info" style="height: 61px; width: 97px;"><p style="padding: 2px 3px;"> <a href="javascript:var retour=popupSimple('tpl72.htm&cha=239&thema=34782&DID=16591057', 'Inscription', 400, 584);" class="tt-blanc10">Photo de couv'</a> </p> </div> <div class="duree" style="width: 97px;">25 min </div> <div id="zoomEmission16591057" class="DetailEmission" onmouseout="MM_changeProp('zoomEmission16591057', '', 'style.visibility', 'hidden', 'DIV');"> <p style="padding: 2px;"> <span class="tt-noir10">PHOTO DE COUV'</span><br /><br /> De 00h25 à 00h50 <br /><br /> DOCUMENTAIRE - SOCIETE<br /> <br /> Rediffusion<br /> </p> </div>[/CODE] I want to have [CODE] <programme start="20070102002500" end="20070102005000" channel="discoveryrealtime.fr"> <title>Photo de couv'</title> <category>Documentaire - Societe</category> </programme>[/CODE] So I wrote : [CODE] <SectionTemplate tags="TPA"> <TemplateText> <span class="tt-noir10"><#TITLE></span><br /><br /> De<#START>à<#END><br/><br/> <#GENRE><br /> </TemplateText> </SectionTemplate> [/CODE] I have a problem : It doesn't work and I have the log file : [CODE]2007-01-02 00:50:58.928256 [Info.][1]: WebEPG: ChannelId: discoveryrealtime.fr 2007-01-02 00:50:58.943881 [Debug][1]: WebEPG: Grab Start 00:50 02/01/2007 2007-01-02 00:50:58.990756 [Info.][1]: WebEPG: Reading http://www.canalsat.fr/index.php?tpl=217&DAY=02-01-07&cha=239&tra=0&multi=2 POST: 2007-01-02 00:51:00.662631 [Info.][1]: WebEPG: Listing Count 25 2007-01-02 00:51:00.678256 [Warn.][1]: WebEPG: Program Count (0) < Listing Count (25), possible template error 2007-01-02 00:51:00.678256 [Info.][1]: WebEPG: Finished [/CODE] Could you help me ? And it's possible to lowercase the title and the category like the php function "ucfirst" ? I have also an other question, I want to get the description of the entry. But the description is in an athor page (a popup). I have the link before an for this exemple it's : tpl72.htm&cha=239&thema=34782&DID=16591057 It's possible to get the description from an other HTML page ? Thank's in advance and an happy new year for every body !!! [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
Electronic Program Guide
WebEPG
Develop my own Grabber
Contact us
RSS
Top
Bottom