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
Can WebEPG grab from sites like these ...
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="Khurram" data-source="post: 352092" data-attributes="member: 74579"><p>I looked at [WEEKDAY] token, but the url uses the shortened notation; that is, mon instead of Monday. I cant find a token for the shortened weekday name.</p><p></p><p></p><p>Ok, its much clear now how multiple days are handled. It seems that the site in (2) cant be handled as it is showing the schedule for the entire week starting from Friday. Also, it seems that the web site in (3) cant be handled as it is showing the entire first (or second or third or fourth) week depending upon which week "today" falls in; also the "4th week" is not really a week as it goes from the 22nd to the end of the month and so it can be from 7 to 10 days.</p><p></p><p>2 more questions: </p><p></p><p>5) If a website shows the schedule for 1 day in multiple pages, how can I handle this?</p><p></p><p>6) I cant seem to parse this html:</p><p>[CODE]<tr class="r1"></p><p><td width="40" class="time">01:30<div class="interval">02:00</div></p><p><div class="interval">02:30</div></p><p><div class="interval">03:00</div></p><p></td><td width="60" valign="top"></td><td width="470" class="programme" valign="top">Barclays Premier League 2008/9<BR>Match: Tottenham Hotspur vs. Fulham</td></p><p></tr>[/CODE]</p><p>The template I am using is</p><p>[CODE]<td width="40" class="time"><#START><div class="interval">00:30</div></p><p></td><td width="60" valign="top"></td><td width="470" class="programme" valign="top"><#TITLE><BR><#SUBTITLE></td>[/CODE]</p><p>Tags are TB. I dont know what all those <div class="interval">...</div> tags are all about but I want to skip over them. But after parsing, #START contains 01:3002:0002:3003:00. What am I doing wrong?</p><p></p><p>Thanks again.</p></blockquote><p></p>
[QUOTE="Khurram, post: 352092, member: 74579"] I looked at [WEEKDAY] token, but the url uses the shortened notation; that is, mon instead of Monday. I cant find a token for the shortened weekday name. Ok, its much clear now how multiple days are handled. It seems that the site in (2) cant be handled as it is showing the schedule for the entire week starting from Friday. Also, it seems that the web site in (3) cant be handled as it is showing the entire first (or second or third or fourth) week depending upon which week "today" falls in; also the "4th week" is not really a week as it goes from the 22nd to the end of the month and so it can be from 7 to 10 days. 2 more questions: 5) If a website shows the schedule for 1 day in multiple pages, how can I handle this? 6) I cant seem to parse this html: [CODE]<tr class="r1"> <td width="40" class="time">01:30<div class="interval">02:00</div> <div class="interval">02:30</div> <div class="interval">03:00</div> </td><td width="60" valign="top"></td><td width="470" class="programme" valign="top">Barclays Premier League 2008/9<BR>Match: Tottenham Hotspur vs. Fulham</td> </tr>[/CODE] The template I am using is [CODE]<td width="40" class="time"><#START><div class="interval">00:30</div> </td><td width="60" valign="top"></td><td width="470" class="programme" valign="top"><#TITLE><BR><#SUBTITLE></td>[/CODE] Tags are TB. I dont know what all those <div class="interval">...</div> tags are all about but I want to skip over them. But after parsing, #START contains 01:3002:0002:3003:00. What am I doing wrong? Thanks again. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
Electronic Program Guide
WebEPG
Can WebEPG grab from sites like these ...
Contact us
RSS
Top
Bottom