can I have some help, seems to work but doesn't update correctly..
something to do with a mismatch of programmes ? please, someone
<channel update="f" site="abs-cbn.com" site_id="ABS-CBN" xmltv_id="ABS-CBN">ABS-CBN</channel>
could it be to do with not using the |channel| id .. what to do when this is the case ? tnx
Try the attached.
However:
1. site does not contain details. And following the links does not lead to something usefull.
2. There is an error in webpage for Saturday:
The Bottomline with Boy Abunda
Sports Unlimited
O Shopping
Out of order show, which play havoc with the grab.
Willy
he he
yeah I noticed before on the Monday too the first Title <span> 's ended like this '/span>' missing the <
not the most educated website, seems like the same programming every day also (?)
Willy,
does it help to sort the showsplit on starttimes? See command sort 4.6.4.9 of the manual. Or is the out of order show just plainly wrong and not just misplaced in the list.
Jan
Jan,
Can not get it to sort:
Result showsplit:
----------begin--block----------
10:30<em style="padding-left: 5px;">PM</em></span><h3>Banana Split Extra Scoop</h3><span class="rated" style="padding-left: 0px; padding-right: 5px;"></span><a href="http://www.webgrabplus.com/%3Ca%20href%3D"http://entertainment.abs-cbn.com/tv/shows/bananasplit/main">">http://entertainment.abs-cbn.com/tv/shows/bananasplit/main">
» Go to site
</a></li><li></ul>
----------end----block----------
----------begin--block----------
10:15<em style="padding-left: 5px;">AM</em></span><h3>The Bottomline with Boy Abunda</h3><span class="rated" style="padding-left: 0px; padding-right: 5px;"></span><a href="http://www.webgrabplus.com/%3Ca%20href%3D"http://www.abs-cbn.com/Weekends/article/5724/bottomline/The-Bottomline.aspx">">http://www.abs-cbn.com/Weekends/article/5724/bottomline/The-Bottomline.a...
» Go to site
</a></li><li></ul>
----------end----block----------
----------begin--block----------
12:15<em style="padding-left: 5px;">AM</em></span><h3>Sports Unlimited</h3><span class="rated" style="padding-left: 0px; padding-right: 5px;"></span><a href="http://www.webgrabplus.com/%3Ca%20href%3D"http://www.abs-cbnnews.com/sportsunlimited">">http://www.abs-cbnnews.com/sportsunlimited">
» Go to site
</a></li><li></ul>
----------end----block----------
----------begin--block----------
11:45<em style="padding-left: 5px;">AM</em></span><h3>O Shopping</h3><span class="rated" style="padding-left: 0px; padding-right: 5px;"></span><a href="http://www.webgrabplus.com/%3Ca%20href%3D"http://www.oshopping.com.ph/">">http://www.oshopping.com.ph/">
» Go to site
</a></li></ul>
----------end----block----------
----------begin--block----------
6:00<em style="padding-left: 5px;">AM</em></span><h3>The Healing Eucharist</h3><span class="rated" style="padding-left: 0px; padding-right: 5px;"></span></li><li></ul>
----------end----block----------
Sort command:
scope.range {(splitindex)|end}
index_showsplit.modify {sort(ascending,string)}
sort_by.scrub {single( debug target="index_showsplit")|||</em>|</span>}
sort_by.modify {calculate(target="index_showsplit" format=time,unix)}
end_scope
Result:
Start Scrub inside string composer
Start Scrub inside string composer
Start Scrub inside string composer
Start Scrub inside string composer
Start Scrub inside string composer
What am I doing wrong.
Willy
the wrong show times didn't seem to effect the update despite obiovusly WG++ being fickle, just updated with francis showsplit and all went perfect
that ini I pasted doglover was kinda my first or second attempt's
abs-cbn.com is philippine so you can't expect much from one of there largest Television Broadcasters (simple errors a 7 yo could do)
Probably the largest actually GMA7 being the other one but I don't get their full channel only adhoc transmissions.....
Wife's Filipinoe so she'll be overwhelmed with excitement ;/
Willy,
I had a look at it as promissed. Unfortunately sort doesn't help here if you do it on an showsplit of several days because the site has no date in the times, so sort will mix all the days.
I also adapted the sort code in the program a bit. So if you ever need it again use beta 55.3 or higher versions.
You siteini lines need to be like this:
index_showsplit.modify {sort(ascending,string)}
sort_by.scrub {single(target="index_showsplit")|||</em>|</em>}
sort_by.modify {replace(target="index_showsplit")|<em style="padding-left: 5px;">| }
sort_by.modify {calculate(target="index_showsplit" format=time)}
Jan
Jan,
It seems not have the desired effect.
Willy
whats the appropriate syntax to pull in a index_description.scub from another url ? if I wanted too
Hi highkick
the prefix index_ in index_description is an indication that the scrub is done from the index page (index_showsplit). The program can scrub from two other pages , detail and subdetail , just use prefix detail_ (that one is default, so can be left out) or subdetail_ So in the case of description you can use detail_description.scrub (or just description.scrub) or subdetail_description.scrub. To grab these pages you have to specify the url's, for detail that is index_urlshow and for subdetail index_urlsubdetail (if you get the url from the index page) or urlsubdetail. See manual 4.4.3
There are plenty of examples in the siteini collection.
Jan
Hi
I finished the abs-cbn.com ini, by adding description and credits from detail and subdetail pages as described in my previous post.
The result may still contain time anomalies due to the well known inaccuracies of the site.
http://www.webgrabplus.com/sites/default/files/download/ini/info/zip/Philippines_abs-cbn.com.zip
Jan
looks good Jan love your work.
give em a shot now
wow full descriptions w/ actors etc lol nice work Wife will love