Closed Thread Icon

Topic awaiting preservation: Auto-linking question... (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=8596" title="Pages that link to Topic awaiting preservation: Auto-linking question... (Page 1 of 1)" rel="nofollow" >Topic awaiting preservation: Auto-linking question... <span class="small">(Page 1 of 1)</span>\

 
Thumper
Paranoid (IV) Inmate

From: Deeetroit, MI. USA
Insane since: Mar 2002

posted posted 04-04-2003 16:12

Not sure if this should be here or in server-side scripting.

Can anyone enlighten me on where to find a simple script that will turn any word in a page into a pre-defined link, thus adding relevant anchor tag information automatically?

Also, is there a type of script of this nature that can be implemented into a already-made website?

TIA

Petskull
Maniac (V) Mad Scientist

From: 127 Halcyon Road, Marenia, Atlantis
Insane since: Aug 2000

posted posted 04-07-2003 19:36

Ah, you're talking about regular expressions- I suggest you understand the code you're hacking before you try to rip a script that was written by someone else. You just might a learn a thing or two!

try looking in here: Format URL in text string function..

more stuff on regexps-

Call tag creating error. Newbie needs help!
http://www.ozoneasylum.com/Forum12/HTML/000441.html
http://www.ozoneasylum.com/Archives/Archive-000003/HTML/20020221-2-000902.html
http://www.juicystudio.com/tutorial/javascript/regexp.html



Code - CGI - links - DHTML - Javascript - Perl - programming - Magic - http://www.twistedport.com
ICQ: 67751342

Thumper
Paranoid (IV) Inmate

From: Deeetroit, MI. USA
Insane since: Mar 2002

posted posted 04-10-2003 17:50

Thanks for the links Petskull. Ultimately, I was trying to find an engine of sorts that would recognize a certain keyword or phrase - not necessarily an absolute URL (for instance "contact us"), and replace all instances of this keyword throughout a page with a predetermined anchor link. Basically a script that converts a keyword into a link automatically. Postnuke has a module that does this, yet I can't seem to find a standalone script that can be merged with a site.

Here is a more in depth description of what I am talking about:
http://www.nukezone.de/PN-i-gsg/autolinks.html



« BackwardsOnwards »

Show Forum Drop Down Menu