View Single Post
benny1967's Avatar
Posts: 3,790 | Thanked: 5,718 times | Joined on Mar 2006 @ Vienna, Austria
#50
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?