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
How to use <DayNames> to get correct url for a Spanish grabber?
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="igalan" data-source="post: 384155" data-attributes="member: 13477"><p>I'm updating some of the Spanish grabbers that no longer work. I'm having trouble to format the correct URL for one of them. I've searched up and down, read the Wiki, but I can't figure out how to get it working. It's a simple problem:</p><p></p><p>[CODE]</p><p>URL for Monday is: http://www.elpais.es/parrillatv/[ID]/lunes</p><p>URL for Tuesday is: http://www.elpais.es/parrillatv/[ID]/martes</p><p>URL for Wednesday is: http://www.elpais.es/parrillatv/[ID]/miercoles</p><p>URL for Thursday is: http://www.elpais.es/parrillatv/[ID]/jueves</p><p>URL for Friday is: http://www.elpais.es/parrillatv/[ID]/viernes</p><p>URL for Saturday is: http://www.elpais.es/parrillatv/[ID]/sabado</p><p>URL for Domingo is: http://www.elpais.es/parrillatv/[ID]/domingo[/CODE]</p><p></p><p>The tag [WEEKDAY] doesn't work as I get the week day en English. But if it returned the weekday in Spanish it still wouldn't help, as some weekdays have letters with accents and the URLs don't have them.</p><p></p><p>So I've tried:</p><p></p><p>[CODE]</p><p> <Site url="http://www.elpais.es/parrillatv/[ID]/[DAY_NAME]" post="" external="false" encoding="" /></p><p> <Search startOffset="0" maxlistings="0" startPage="0"></p><p> <DayNames></p><p> <Day>lunes</Day></p><p> <Day>martes</Day></p><p> <Day>miercoles</Day></p><p> <Day>jueves</Day></p><p> <Day>viernes</Day></p><p> <Day>sabado</Day></p><p> <Day>domingo</Day></p><p> </DayNames></p><p> </Search>[/CODE]</p><p></p><p>But that doesn't work, because it starts counting the days from your current day, so if now is thursday WebEPG converts this current weekday to "lunes" (first in the list, instead of "jueves") and the next day "martes" (instead of "viernes").</p><p></p><p>The Wiki doesn't explain much those <Search> and <DayNames> tags, can someone shed some light on this. Thanks <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /> .</p><p></p><p>P.D.: Of course, once I update the grabbers I will send them so the new releases have working grabbers for Spanish users.</p></blockquote><p></p>
[QUOTE="igalan, post: 384155, member: 13477"] I'm updating some of the Spanish grabbers that no longer work. I'm having trouble to format the correct URL for one of them. I've searched up and down, read the Wiki, but I can't figure out how to get it working. It's a simple problem: [CODE] URL for Monday is: http://www.elpais.es/parrillatv/[ID]/lunes URL for Tuesday is: http://www.elpais.es/parrillatv/[ID]/martes URL for Wednesday is: http://www.elpais.es/parrillatv/[ID]/miercoles URL for Thursday is: http://www.elpais.es/parrillatv/[ID]/jueves URL for Friday is: http://www.elpais.es/parrillatv/[ID]/viernes URL for Saturday is: http://www.elpais.es/parrillatv/[ID]/sabado URL for Domingo is: http://www.elpais.es/parrillatv/[ID]/domingo[/CODE] The tag [WEEKDAY] doesn't work as I get the week day en English. But if it returned the weekday in Spanish it still wouldn't help, as some weekdays have letters with accents and the URLs don't have them. So I've tried: [CODE] <Site url="http://www.elpais.es/parrillatv/[ID]/[DAY_NAME]" post="" external="false" encoding="" /> <Search startOffset="0" maxlistings="0" startPage="0"> <DayNames> <Day>lunes</Day> <Day>martes</Day> <Day>miercoles</Day> <Day>jueves</Day> <Day>viernes</Day> <Day>sabado</Day> <Day>domingo</Day> </DayNames> </Search>[/CODE] But that doesn't work, because it starts counting the days from your current day, so if now is thursday WebEPG converts this current weekday to "lunes" (first in the list, instead of "jueves") and the next day "martes" (instead of "viernes"). The Wiki doesn't explain much those <Search> and <DayNames> tags, can someone shed some light on this. Thanks :) . P.D.: Of course, once I update the grabbers I will send them so the new releases have working grabbers for Spanish users. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
Electronic Program Guide
WebEPG
How to use <DayNames> to get correct url for a Spanish grabber?
Contact us
RSS
Top
Bottom