maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Dexter - Text-TV Reader (https://talk.maemo.org/showthread.php?t=42207)

pillar 2010-02-18 17:26

Re: Dexter - Text-TV Reader
 
Mtv3 is weird in that day don't have the subpage numbers in the image. Are there others like it? I could show the current subpage close to the page number, although getting how many subpages there are in a page would not still work.

benny1967 2010-02-20 16:46

Re: Dexter - Text-TV Reader
 
went through the listing on
http://www.teletext-online.de.vu/
and added a few working sites. surprised how many won't work with the dexter logic.... mainly because:
  • subpages aren't numbered; they use A, B, C... to indicate subpage 1, 2, 3. This is mainly in the Czech Republik and Slovakia.
  • subpages aren't given as "prev"/"next", but there's a list of links for all the possible subpages. a human user can click on 1, 2, 3..., but dexter wouldn't know what's *next*
    (The best in this category are the spanish stations: they give you the first 10 subpages as links plus a ">>" that does not link to the next subpage, as expected, but to the list for subpages 11, 12, 13...)
  • prev/next for both pages and/or subpages do exist as links or buttons, but the HTML around those links doesn't contain a reference to the previous/next (sub)page. instead, they like to a server side script (à la "cgi/getnext") and the HTML on the page itself is always the same.

difficult... but not impossible. :D

megaexer 2010-02-22 19:26

Re: Dexter - Text-TV Reader
 
Another idea in fullscreen mode: swipe left/right to change the teletext page, and swipe up/down to change the sub page, with a slide transition. :-)

pillar 2010-03-03 22:26

Re: Dexter - Text-TV Reader
 
Worked on other projects for a while, but decided to give Dexter some love as well :)

0.2-4 pushed to Extras-devel. Added experimental gesture support to swipe right for next page, left for previous, up for next subpage and down for previous subpage. Working in both modes. Let me know how well it works for you.

Thanks for the idea megaexer and huge thanks for lbt sharing the gesture code.

fgs 2010-03-19 18:18

Re: Dexter - Text-TV Reader
 
I just found a very long list of text-tv websites:
http://wwitv.com/portal.htm?http://w...m/teletext_tv/
I made some sample checks, not every link is valid and not every text-tv seems Dexter-compatible.

Snaps 2010-03-30 08:21

Re: Dexter - Text-TV Reader
 
Any UK teletext links?

Can I add my own?

Also, why is the Dexter name not centered with the icon?

pillar 2010-03-30 09:25

Re: Dexter - Text-TV Reader
 
@Snaps you are welcome and even encouraged to add your own. Please read the wiki found in the first post of this thread to find out how.

Concerning the name being not centered, I have no idea. Anyone? I'll fix it if someone can tell me what's causing it!

JohnLF 2010-03-30 09:48

Re: Dexter - Text-TV Reader
 
I tried to decode the BBC websites but the pages are all aspx and it's not easy.
I did manage to get the Irish channel Aertel done, so at least there is an English language one! I can post the details if anyone is interested?

JohnLF 2010-03-30 09:53

Re: Dexter - Text-TV Reader
 
Quote:

Originally Posted by pillar (Post 587850)
Concerning the name being not centered, I have no idea. Anyone? I'll fix it if someone can tell me what's causing it!

By any chance, did you pad the name with trailing spaces when you packaged it?
I must admit I never noticed it before now!

fgs 2010-03-30 13:41

Re: Dexter - Text-TV Reader
 
I just added to the Wiki page entries for BBC Ceefax1 and Ceefax2 services (United Kingdom).

Current limitation: for pages with multiple subpages, the URL of the first subpage is not correct. In the configuration file, parameters are
Code:

x\imageUrl=http://www.ceefax.tv/cgi-bin/gfx.cgi?page=[page]_0&font=big&channel=bbc1
x\subImageUrl=http://www.ceefax.tv/cgi-bin/gfx.cgi?page=[page]_[subpage]&font=big&channel=bbc1

If you insert the page number manually, the page URL will contain
Code:

page=[page]_0
but if the page has subpages it should be
Code:

page=[page]_1
How can this be fixed? In previous posts a page/subpage URL fallback mechanism was suggested. I think it would be helpful in this case.


All times are GMT. The time now is 05:45.

vBulletin® Version 3.8.8