You are here

Al Jazeera Sports

7 posts / 0 new
Last post
mayankel
Offline
Donator
Joined: 11 years
Last seen: 4 years
Al Jazeera Sports

Hi again
 
could you take a look to this web?:
http://www.en.aljazeerasport.tv/Schedule
 
Many Thanks

doglover
Offline
Joined: 11 years
Last seen: 3 years

Is this enough?
 
Willy

Attachments: 
doglover
Offline
Joined: 11 years
Last seen: 3 years

You migth have to edit the siteini with this:
 
site {url=aljazeerasport.tv|timezone=UTC+02:00|maxdays=7.1|cultureinfo=en|charset=UTF-8|titlematchfactor=1}
 
(timezone correction)
Willy

mayankel
Offline
Donator
Joined: 11 years
Last seen: 4 years

Thank you very much doglover, it works like a charm. Just one more question, with your script i get something like this:
 
 

 <programme start="20130521100000 +0300" stop="20130521114500 +0300" channel="JSC Sport +9">

    <title lang="en">Troyes vs Bordeaux (R)</title>

    <category lang="en">French League - Ligue 1</category>

  </programme>

How could i do to get, for all the programs in this web a new category first called "Sports"? I mean to get something like this:
 

 

 <programme start="20130521100000 +0300" stop="20130521114500 +0300" channel="JSC Sport +9">

    <title lang="en">Troyes vs Bordeaux (R)</title>

    <category lang="en">Sports</category>

    <category lang="en">French League - Ligue 1</category>

  </programme>

 
Thanks again :)

doglover
Offline
Joined: 11 years
Last seen: 3 years

Moved the original catergory to the subtitle.
And added a fixed Sports Category.
 

* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
* Site : aljazeerasport.tv
* revision : 0

*
*
site {url=aljazeerasport.tv|timezone=UTC+02:00|maxdays=7.1|cultureinfo=en|charset=UTF-8|titlematchfactor=1}
url_index{url()|http://www.en.aljazeerasport.tv/Schedule/tab/2/channel/|channel|}
urldate.format {datestring|yyyyMMdd}  * not used

index_showsplit.scrub {multi()|<div id="channelTables">|<tr style|</tr>|<div class="signUpBanner clearfix">}
*
index_date.scrub {single(force include=first)|<div id="channelTables">|<h2>|<|</h2>}
index_start.scrub {single()|<td class="startTime">||</}
index_title.scrub {single()|<td class="eventsCell hardAlign">||</}
index_subtitle.scrub {single|<td class="category">||</}
index_category.modify {addstart|Sports}
* enable the following two lines to create a channel list file  (The channel in the config file is missing)
*index_site_channel.scrub {multi()|<div id="channelFilter">|" >|</|</select>}
*index_site_id.scrub {multi()|<div id="channelFilter">|<option value="|" >|</select>}
 

Result

 <programme start="20130515183000 +0300" stop="20130515203000 +0300" channel="Al Jazeera Sport 1">
    <title lang="en">Corinthians vs Santos (R)</title>
    <sub-title lang="en">Brazil League - Paulista A1</sub-title>
    <category lang="en">Sports</category>
  </programme>
  <programme start="20130515203000 +0300" stop="20130515213000 +0300" channel="Al Jazeera Sport 1">
    <title lang="en">The NBA Show (R)</title>
    <sub-title lang="en">Programmes</sub-title>
    <category lang="en">Sports</category>
  </programme>
 

 
 
Willy

mayankel
Offline
Donator
Joined: 11 years
Last seen: 4 years

Hi again doglover,
 
nice solution, thank you.
Regards :)

WGMaker
Offline
WGMaker's picture
WG++ Team memberDonator
Joined: 12 years
Last seen: 8 hours
Is the support helpful?
support us

Willy,
thanks (again) for your contribution!
 
I placed it in the current site ini pack in the international section and you can download it directly @
http://webgrabplus.com/sites/default/files/download/ini/info/zip/International_aljazeerasport.tv.zip
 
(I only changed the headers because we need them to get it listed in the EPG-Channels overview)
 
Jan

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