![]() |
Re: Dexter - Text-TV Reader
Quote:
1. An idea. Dexter could extract configurations from the Wiki page automatically. The source code of the Wiki page is quite simple to parse, IMO. 2. A problem. I could not make Dexter work with the site for Italian television RAI, because it has a different pattern for URLs. In a nutshell, if the subpage is 1, the number must not appear in the URL; if it is not 1, it must appear in the URL. Can Dexter handle this situation? |
Re: Dexter - Text-TV Reader
Nelonen added to wiki. Only subpages 1 and 2 can be used. Dexter doesn't seem to handle different padding for imageUrl and predictionUrl at the moment. ImageUrl is ex. 100_0001 and subPredictionUrl has ?page=100&subpage=3
|
Re: Dexter - Text-TV Reader
Few ideas:
1) Are you planning to put your tool to bugs.maemo.org so that found bugs could be reported there? 2) Would it be possible to populate the available providers directly in menu instead of having button in menu to go to list where to choose? |
Re: Dexter - Text-TV Reader
@fgs @ruskie
Good feedback about what is needed for the url's. I will try to incorporate the needed changes. fgs: can you give the link to RAI teletext so I can take a look as well. @jakoleh 1) Bugzilla, sure, if someone tells me how to create it. 2) Right now that would make send and I think it's doable. Why it is the way it is now, is that I thought there might be other options (set as default etc) that could be in the menu as well. Will have to think about the UI more when the application matures. Thanks for the feedback. Prediction seems to be a hit or miss for some reason at the moment, I need to debug it more with the sites that it is not working. It worked beautifully for the two sites I chose to test with.. |
Re: Dexter - Text-TV Reader
Quote:
|
Re: Dexter - Text-TV Reader
|
Re: Dexter - Text-TV Reader
Quote:
If it using padding then the problem lies there. Nelonen for example is using 4 numbers in images, but only one in subpages. |
Re: Dexter - Text-TV Reader
Yeah, padding is used for the subpage. As a workaround for Nelonen, the url part of subpage could be as 000[subpage] and then pad=1 .. that could work, except if the page has more than 9 subpages (not so often).
I guess the solution would be to have some kind of additional variable. I would like to keep it as simple and clean as possible though. |
Re: Dexter - Text-TV Reader
Quote:
Could it be so that if second parameter is not given then the current one is used for both? |
Re: Dexter - Text-TV Reader
I'm trying to set up ORF Teletext and got it working only partially:
I think it should look something like this: 2\siteName=ORF Teletext 2\imageUrl=http://teletext.orf.at/[topicpage]/[page]_[subpage].png 2\predictionUrl=http://teletext.orf.at/[topicpage]/[page]_[subpage].htm 2\subPredictionUrl=http://teletext.orf.at/[topicpage]/[page]_[subpage].htm 2\previousPrediction="<a href=\"(\\d+)_\\d+.htm\" accesskey=\"1\">" 2\nextPrediction="<a href=\"(\\d+)_\\d+.htm\" accesskey=\"2\">" 2\previousSubPrediction="<a href=\"\\d+_(\\d+).htm\" accesskey=\"3\">" 2\nextSubPrediction="<a href=\"\\d+_(\\d+).htm\" accesskey=\"4\">" 2\pad=4 Problem: [topicpage] isn't treated as expected. When [page] is "101", [topicpage] gets translated to "[100]" instead of "100". - The brackets [ and ] are included in the URL. Doesn't work. I removed [topicpage] now and replaced it with "100"; this at least allows me to test the first pages between 100 and 199. Looks good. I'm not gonna add it to the Wiki, though, as long as it cannot really be used for the full range. Is there something I did wrong with [topicpage] or is it really a bug? |
| All times are GMT. The time now is 05:45. |
vBulletin® Version 3.8.8