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
I want to have
So I wrote :
I have a problem : It doesn't work and I have the log file :
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 !!!
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>
I want to have
Code:
<programme start="20070102002500" end="20070102005000" channel="discoveryrealtime.fr">
<title>Photo de couv'</title>
<category>Documentaire - Societe</category>
</programme>
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>
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
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 !!!