![]() |
Re: Dexter - Text-TV Reader
Quote:
|
Re: Dexter - Text-TV Reader
I'm pretty newbie with maemo. So, I'm wondering what is the way to update the dexter.conf?
-What editor I could use? -if sudo is needed, what would be the password as default? I combiled following from wiki in order to get MTV3 and nelonen available here in finland. Thanks ! " 2\siteName=Mtv3 2\imageUrl=http://www.mtv3tekstikanava.fi/new2008/images/[page]-[2:subpage].gif 2\predictionUrl=http://www.mtv3tekstikanava.fi/new2008/[page]-01.htm 2\subPredictionUrl=http://www.mtv3tekstikanava.fi/new2008/[page]-[2:subpage].htm 2\previousPrediction="<a href=\"(\\d+)-01.htm\"><< Edellinen sivu</a>" 2\nextPrediction="<a href=\"(\\d+)-01.htm\">Seuraava sivu >></a>" 2\previousSubPrediction="<a href=\"\\d+-(\\d+).htm\"><< alasivu</a>" 2\nextSubPrediction="<a href=\"\\d+-(\\d+).htm\">alasivu >></a>" 2\startPage=100 3\siteName=Nelonen 3\imageUrl=http://www.nelonen.fi/teksti4/pages/[page]_[4:subpage].gif 3\predictionUrl=http://www.nelonen.fi/teksti4/?page=[page] 3\subPredictionUrl=http://www.nelonen.fi/teksti4/?page=[page]&subpage=[subpage] 3\previousPrediction="<a href=\".page=(\\d+)\"><img src=\"images/alalaita_edellinen.gif\".+></a>" 3\nextPrediction="<a href=\".page=(\\d+)\"><img src=\"images/alalaita_seuraava.gif\".+></a>" 3\previousSubPrediction="<a href=\".page=\\d+&subpage=(\\d+)\"><img src=\"images/alalaita_edellinen_ala.gif\".+></a>" 3\nextSubPrediction="<a href=\".page=\\d+&subpage=(\\d+)\"><img src=\"images/alalaita_seuraava_ala.gif\".+></a>" 3\startPage=101 " |
Re: Dexter - Text-TV Reader
Hello, that's really a great program.
I was trying to configure it for Rai tv teletext. I have some problems with previous/next predictions: prediction link is like Code:
<a alt="Pagina Precedente" href="solotesto.jsp?pagina=769&sottopagina=1">Should I escape those special characters? and what about &? Thanks |
Re: Dexter - Text-TV Reader
Added 3sat (Austria/Germany/Switzerland) to the Wiki.
Running into problems with http://www.sat1.at/service/teletext/ http://www.sat1.ch/service/teletext/ Never finds the regex for the prediction urls. dont know what it is, but the whole thing is full of "?" and "+" and whatnot in the URLs and in the HTML, maybe I really don't know how to properly escape it. Maybe someone else has more luck. |
Re: Dexter - Text-TV Reader
Quote:
|
Re: Dexter - Text-TV Reader
Quote:
<a alt=\"Pagina Precedente\" href=\"solotesto.jsp.pagina=(\d+).sottopagina=\d+\ "> |
Re: Dexter - Text-TV Reader
Quote:
Anyway, both sat1.at and sat1.ch are in the wiki now. The one thing that would need testing is the original German sat1 site. Problem is: They use some weird 303 redirect, probably based on my IP address; whenever I try to get something from sat1.de, they redirect my browser to sat1.at. If they follow the same URL scheme, it could be: x\siteName=sat.1 Deutschland x\imageUrl=http://www.sat1.de/service/teletext/cache_de/[page]_[2:subpage].png x\predictionUrl=http://www.sat1.de/service/teletext/index.php?pagnr=[page]_[2:subpage] x\subPredictionUrl=http://www.sat1.de/service/teletext/index.php?pagnr=[page]_[2:subpage] x\previousPrediction="pagnr=(\\d+)_\\d+&trynext=-1\" class=\"teletext_numberBtn\">-</a>" x\nextPrediction="pagnr=(\\d+)_\\d+&trynext=1\" class=\"teletext_numberBtn\">\\+</a>" x\previousSubPrediction="pagnr=\\d+_(\\d+)\" class=\"teletext_numberBtn\"><</a>" x\nextSubPrediction="pagnr=\\d+_(\\d+)\" class=\"teletext_numberBtn\">></a>" x\startPage=100 Maybe someone outside Austria/Switzerland (probably same redirect to sat1.ch) can test? Oh, BTW, sat.1 introduces a new "feature" that you simply can't workaround with the current logic: The link their previous/next-buttons point to is always page+1 (or page-1, respectively), not matter if this page exists or not. They even load a URL that refers to a non-existent page, but display the next existing page in it. Doesn't make sense to you? See page 484: http://www.sat1.at/service/teletext/...p?pagnr=484_01 The link on the [+]-button takes you to 485, which doesn't exist. However, the browser loads http://www.sat1.at/service/teletext/...5_01&trynext=1 and the image embedded within this "virtual" page 485 is page 499 http://www.sat1.at/service/teletext/cache_at/499_01.png Also, the [+] button now points to 500, not to 486. That's strange. Most complicated. I wonder how to best represent this in the UI? Do away with the previous/next buttons altogether, knowing they'll not work reliably? Not a good idea probably as long as they work at least sometimes. They're a good feature. Any other ideas? |
Re: Dexter - Text-TV Reader
Quote:
Quote:
Quote:
You would need two prediction urls. One for going down (&trynext=-1 at the end) and another one with (&trynext=1) at the end. Not so convenient. For this site to work we would need to go through all the next images and when the image is not redirected to http://www.sat1.at/images/blind.gif then we would show that image. Quote:
|
Re: Dexter - Text-TV Reader
Quote:
... and thx for testing .de |
Re: Dexter - Text-TV Reader
Can somebody help me? I manage to edit the confic file (mtv3 and yle), but I can only see yle in Dexter settings. Where is mtv3?
|
| All times are GMT. The time now is 17:31. |
vBulletin® Version 3.8.8