Notices


Reply
Thread Tools
fgs's Avatar
Posts: 77 | Thanked: 85 times | Joined on Feb 2008 @ Italy
#51
Originally Posted by pillar View Post
fgs: can you give the link to RAI teletext so I can take a look as well.
Page 100, subpage 1: http://www.televideo.rai.it/televide...e/page-100.png
Page 100, subpage 2: http://www.televideo.rai.it/televide...page-100.2.png
Notice the difference.

For page prediction I was using the text-only version at
http://www.televideo.rai.it/televideo/pub/solotesto.jsp. I don't know if it's right, I didn't understand how page prediction should work.
 
pillar's Avatar
Posts: 154 | Thanked: 124 times | Joined on Mar 2007
#52
Originally Posted by benny1967 View Post

When [page] is "101", [topicpage] gets translated to "[100]" instead of "100". - The brackets [ and ] are included in the URL. Doesn't work.

Is there something I did wrong with [topicpage] or is it really a bug?
It's a bug, I fixed it already. It will be working in the next version. Thanks for reporting it.

@fgs yes text only version is needed for the prediction so that it can parse the next page number from there.

The url scheme of RAI is quite hard, since it also has that "." before the subpage, which is conditional. Can someone figure out an easy way to tell Dexter how it should handle a url like that? Will have to think about that..
 

The Following User Says Thank You to pillar For This Useful Post:
Posts: 68 | Thanked: 6 times | Joined on Feb 2010
#53
Can somebody help me to add mtv3 to dexter. I only need yle and mtv3. I just cant edit confic file in xterm. Can someone give me simple advice.
 
benny1967's Avatar
Posts: 3,790 | Thanked: 5,718 times | Joined on Mar 2006 @ Vienna, Austria
#54
Tried swiss teletext; they offer a new challenge.

EDIT: forgot to include the URL: http://www.teletext.ch/

First, it'd be nice to parse because they have 6 channels in 3 languages on one site, all following the same scheme.

The downside:
The image URLs are irregular.
From what I see, they usually end in
Code:
.../[page]-00.gif
for pages that do not have sub-pages and in
Code:
.../[page]-[subpage].gif
for pages that have subpages (01-99).

Sometimes though, even pages that do not have sub-pages are
Code:
.../[page]-01.gif
instead of
Code:
.../[page]-00.gif
I couldn't detect a pattern.

So when you browse subpages, it's clear what you need to fetch. When you go to a main page, it could end in either "-00.gif" (which it usually does) or "-01.gif". You just don't know.

You might change your logic so that people can add a SubImageUrl in addition to the imageUrl. (If not set, it'll have the same value as imageUrl.) The application would then use imageUrl to address main pages, subImageUrl to cycle through subpages and would use subImageUrl for subpage #1 as a fallback in case imageUrl fails. That would do for swiss teletext (imageurl=.../[page]-00.gif and subimageurl=../[page]+[subpage].gif, [page]-01 being the fallback if [page]-00 fails.). Maybe other services also have different URL schemes for main pages and subpages.

Last edited by benny1967; 2010-02-03 at 20:51.
 

The Following User Says Thank You to benny1967 For This Useful Post:
benny1967's Avatar
Posts: 3,790 | Thanked: 5,718 times | Joined on Mar 2006 @ Vienna, Austria
#55
Originally Posted by copperviking View Post
Can somebody help me to add mtv3 to dexter. I only need yle and mtv3. I just cant edit confic file in xterm. Can someone give me simple advice.
no, editing it in xterm is no joy. i did on my GNU/linux desktop computer, but if you run windows on your desktop, you may run into new problems with text files...

i'd recommend you install leafpad from the application manager. leafpad is a good and simple graphical text editor.
open xterm then, go to the directory the file is in (/home/user/.config/Dexter/) and type
Code:
leafpad dexter.conf
let me know if it works for you.
 
Posts: 353 | Thanked: 263 times | Joined on Dec 2009 @ Finland
#56
Originally Posted by copperviking View Post
Can somebody help me to add mtv3 to dexter. I only need yle and mtv3. I just cant edit confic file in xterm. Can someone give me simple advice.
Can you do this?
http://talk.maemo.org/showpost.php?p...4&postcount=30
 
Posts: 68 | Thanked: 6 times | Joined on Feb 2010
#57
Not working.... I hope some update will bring MTV3 to Dexter.
 
Posts: 508 | Thanked: 130 times | Joined on Sep 2009
#58
Here is the conf file for the dutch NOS teletext

WARNING! This is still work in progress

to change this put it in the n900 memory and do as follows:
1. install rootsh (to become root)
2. install dexter from repository
3. extract and copy file in this attachment to the n900 sd memorycard from pc
4. reboot n900
5. open xterminal
6. typ "sudo gainroot" [enter]
7. typ "cp /media/mmc1/dexter.conf /home/user/.config/Dexter/dexter.conf" [enter]

Now open dexter and you can use the dutch teletext
Attached Files
File Type: zip dexter.zip (301 Bytes, 119 views)

Last edited by sygys; 2010-02-05 at 13:37.
 
benny1967's Avatar
Posts: 3,790 | Thanked: 5,718 times | Joined on Mar 2006 @ Vienna, Austria
#59
Originally Posted by sygys View Post
Here is the conf file for the dutch NOS teletext
all your values except imageUrl still point to the Yle site.
It even shows up as Yle in the list.
 
Posts: 508 | Thanked: 130 times | Joined on Sep 2009
#60
i know but it does work though. im still working on the rest of the links. sorry that i didnt mention that. its still work in progress.

Its kind of a spaghetti in the file where i get them off. its a program designed for linux to show the dutch teletext im getting the links from. and im still kinda new to this scripting editing stuff, but im eager to learn and try some stuff like this.

Does anyone know this i tried the code to test it but for some reason "cd /media/mmc2/" wont work. Im sure it work before! am i missing something? For now i changed the tutorial to sd card with mmc1 just to be sure it works.

**update** i have updated the file and made all links. the only thing i cant fix are the sub pages to work. next and previous works too but the apps loads them very slow. there is set some kind of delay

Last edited by sygys; 2010-02-05 at 13:39.
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 09:32.