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:
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:
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.
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
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>
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.