A Conversation for The H2G2 Programmers' Corner
Server side clickable link generation
26199 Started conversation Oct 17, 2002
I've just come from a threat about Digibox users... they can surf the web (by clicking on links), but have no way to type in urls.
It seems to me that it should be reasonably simple to have a server-side script of some sort that will present a page full of links for each letter, symbol, etc, and allow a link to be build up and then used... to save having to store state explicitly, the current entered text could be included in each url.
Unfortunately I have absolutely no experience with this kind of thing... could someone more knowledgable tell me whether I'm being completely crazy here?
Server side clickable link generation
Pastey Posted Oct 17, 2002
So, let me see, you're wanting a page where they can click on buttons on the page to build up a url and then when they're finished click on "GO" and get transferred to that page?
Server side clickable link generation
Peet (the Pedantic Punctuation Policeman, Muse of Lateral Programming Ideas, Eggcups-Spurtle-and-Spoonswinner, BBC Cheese Namer & Zaphodista) Posted Oct 17, 2002
Server side clickable link generation
Pastey Posted Oct 17, 2002
Okay, I've written a page that displays the necessary keys from a keyboard as links on a page. Each time you click on the key/link it adds it to the current target url. When you've finished you click on a Go There link which then takes you the to url you've clicked in.
I'll stick it up as soon as I get home and we can see if it's of any use.
Server side clickable link generation
26199 Posted Oct 17, 2002
Cool ... how'd you do it?
For the record, here's the Digibox thread:
F19585?thread=217110
Server side clickable link generation
Pastey Posted Oct 17, 2002
This method is using a php script, which may or may not be a problem for digbox users, we'll have to find out, and a load of forms to pass information around.
If the boxes can't handle php then I'll code it using Javascript, which is a rather longwinded way.
Server side clickable link generation
Pastey Posted Oct 17, 2002
I've put a link to the Beta version in the other thread.
Another Gadget brought to you by the h2g2Post
Server side clickable link generation
26199 Posted Oct 17, 2002
Looks good ...
If that doesn't work, I've just knocked up a nice little perl script (I've been using perl since yesterday ) which does the same thing but is entirely server-side, and so will work with anything...
Server side clickable link generation
Calculator Nerd 256 Posted Oct 18, 2002
all you really need is some script and then IMG tags with the onClick attribute etc... and one for backspace reply
Server side clickable link generation
26199 Posted Oct 18, 2002
Also, we haven't yet worked out whether the box things will do javascript...
Server side clickable link generation
26199 Posted Oct 18, 2002
Yus. Any suggestions for getting around that?
I can't think of any ... well, apart from the obvious 'persuade the BBC to put something on their site'. Not too likely, one would think...
Server side clickable link generation
Pastey Posted Oct 18, 2002
There is always a way, and even one that I know off, but, err.. It's break the house rules, so I won't. Sorry.
Key: Complain about this post
Server side clickable link generation
- 1: 26199 (Oct 17, 2002)
- 2: 26199 (Oct 17, 2002)
- 3: Pastey (Oct 17, 2002)
- 4: Peet (the Pedantic Punctuation Policeman, Muse of Lateral Programming Ideas, Eggcups-Spurtle-and-Spoonswinner, BBC Cheese Namer & Zaphodista) (Oct 17, 2002)
- 5: Pastey (Oct 17, 2002)
- 6: 26199 (Oct 17, 2002)
- 7: Pastey (Oct 17, 2002)
- 8: Pastey (Oct 17, 2002)
- 9: 26199 (Oct 17, 2002)
- 10: Calculator Nerd 256 (Oct 18, 2002)
- 11: Pastey (Oct 18, 2002)
- 12: 26199 (Oct 18, 2002)
- 13: Pastey (Oct 18, 2002)
- 14: 26199 (Oct 18, 2002)
- 15: Pastey (Oct 18, 2002)
More Conversations for The H2G2 Programmers' Corner
Write an Entry
"The Hitchhiker's Guide to the Galaxy is a wholly remarkable book. It has been compiled and recompiled many times and under many different editorships. It contains contributions from countless numbers of travellers and researchers."