Notices


Reply
Thread Tools
Posts: 21 | Thanked: 15 times | Joined on Jan 2010 @ Finland, Vantaa
#71
Originally Posted by pillar View Post
@JKO65: That is most likely due to the changes to the config file parameters. You can either 1) delete your config file from ~/.config/Dexter/dexter.conf and start Dexter - it will regenerate Yle site with the correct values for the new version 2) Edit config file and change the values yourself (Wiki has working examples for Yle and Mtv3)
Great! That helped. I like this App. Fast and kind of retro feeling ...
 
Posts: 31 | Thanked: 18 times | Joined on Feb 2010 @ Finland
#72
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
"
 
Posts: 40 | Thanked: 4 times | Joined on Mar 2008
#73
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">
							
								<span style="font-family:Courier;font-size:8pt;color:#645e5e">Pagina Precedente
with several \r \n \t between <a> and <span>.
Should I escape those special characters? and what about &?

Thanks
 
benny1967's Avatar
Posts: 3,790 | Thanked: 5,718 times | Joined on Mar 2006 @ Vienna, Austria
#74
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.
 
Posts: 49 | Thanked: 23 times | Joined on Oct 2009 @ Oulu, Finland
#75
Originally Posted by benny1967 View Post
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.
Can you send your current settings for that?
 
Posts: 49 | Thanked: 23 times | Joined on Oct 2009 @ Oulu, Finland
#76
Originally Posted by famusc View Post
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">
							
								<span style="font-family:Courier;font-size:8pt;color:#645e5e">Pagina Precedente
with several \r \n \t between <a> and <span>.
Should I escape those special characters? and what about &?

Thanks
Is the span needed?

<a alt=\"Pagina Precedente\" href=\"solotesto.jsp.pagina=(\d+).sottopagina=\d+\ ">
 
benny1967's Avatar
Posts: 3,790 | Thanked: 5,718 times | Joined on Mar 2006 @ Vienna, Austria
#77
Originally Posted by jakoleh View Post
Can you send your current settings for that?
Thx for offering help - it really must have been too late for me yesterday evening... first i made some (as I see today: obvious) mistakes, then I didn't post the lines I needed help on... my dear.

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\">&lt;</a>"
x\nextSubPrediction="pagnr=\\d+_(\\d+)\" class=\"teletext_numberBtn\">&gt;</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?

Last edited by benny1967; 2010-02-09 at 19:06.
 
Posts: 49 | Thanked: 23 times | Joined on Oct 2009 @ Oulu, Finland
#78
Originally Posted by benny1967 View Post
Thx for offering help - it really must have been too late for me yesterday evening... first i made some (as I see today: obvious) mistakes, then I didn't post the lines I needed help on... my dear.
That happens

Originally Posted by benny1967 View Post
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.

...

Maybe someone outside Austria/Switzerland (probably same redirect to sat1.ch) can test?
German site is working the same as at.


Originally Posted by benny1967 View Post
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:
Yes that is correct. When you go to page 485 you will see no change. If you then click next it will go to page 400. This happens because you are using predictionurl without &trynext=1 at the end. In the internet when you click next in page 484 you have that &trynext=1 at the end.

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.

Originally Posted by benny1967 View Post
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?
For time being, just write information to wiki informing how this thing works.
 

The Following User Says Thank You to jakoleh For This Useful Post:
benny1967's Avatar
Posts: 3,790 | Thanked: 5,718 times | Joined on Mar 2006 @ Vienna, Austria
#79
Originally Posted by jakoleh View Post
For time being, just write information to wiki informing how this thing works.
Stop being pragmatic!

... and thx for testing .de
 
Posts: 68 | Thanked: 6 times | Joined on Feb 2010
#80
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?
 
Reply


 
Forum Jump


All times are GMT. The time now is 23:57.