You are here

televisiononline.com.ar site ini created, help needed

4 posts / 0 new
Last post
1NSdbZVbpZDX
Offline
Joined: 9 years
Last seen: 6 years
televisiononline.com.ar site ini created, help needed

please little help needed to finish this ini creation!

can't  grab the start times at all:

sometimes de start time on same show comes in form of:

************************************************************

<ul id="diasHorarios">
                        <li>
                <span class="nombre">Cinemax DTH</span>
                <div class="horarios">Lunes 23 de Noviembre | 00:58 hs.<br /></div>
            </li>
                        <li>
                <span class="nombre">Cinemax DTH</span>
                <div class="horarios">Martes 24 de Noviembre | 19:25 hs.<br /></div>
            </li>
                        <li>
                <span class="nombre">Cinemax DTH</span>
                <div class="horarios">Lunes 30 de Noviembre | 13:58 hs.<br /></div>
            </li>
                        <li>
                <span class="nombre">Cinemax DTH</span>
                <div class="horarios">Lunes 07 de Diciembre | 02:00 hs.<br /></div>
            </li>

****************************************************************

or same day with different hours.

everything else works smoothly even the spantime!

just 1 step ahead from site ini creation...

francis
Offline
francis's picture
Has donated long time agoWG++ Team member
Joined: 11 years
Last seen: 2 weeks
Is the support helpful?
support us

The main problem was that there was a | inside the html. And then you need to be carefull. This has to do with the fact that wg++ internally uses | to split strings into a string array. So if you can, just avoid using | in your scrub/modify.

I adjusted your siteini a little bit.

- correct timezone

- better showsplit

- working time grabbing

francis
Offline
francis's picture
Has donated long time agoWG++ Team member
Joined: 11 years
Last seen: 2 weeks
Is the support helpful?
support us

One thing I've missed is you must use

charset=ISO-8859-1

instead of

charset=UTC-8
1NSdbZVbpZDX
Offline
Joined: 9 years
Last seen: 6 years

Hi Francis

thanks for the help

start times got recognized by the grabber but still output has some errors:

start times are more database oriented rather than chronological
per ex: channel:'DXTV HD' 'Supercampeones' show has multiple entries for several days of the week
and the "resultadoFicha" for those 'multiple day/hour shows' links to same ID, since there is no stop times final result skips many upcoming shows if any of them has more than 1 ocurrence.
Some shows include duration some others not so establishing a stop time by calc is not an option,
I've found indexshowdetails page (Ficha=3721.txt) has more detailed start times

unluckly have no idea how to manipulate those multiple entries (Webgrab newB here)

Attachments: 
Log in or register to post comments

Brought to you by Jan van Straaten

Program Development - Jan van Straaten ------- Web design - Francis De Paemeleere
Supported by: servercare.nl