auto convert words to links?

robertb9527 - May 10, 2005 - 13:47

If I can define a link list about some words, example ibm is www.ibm.com, when I post a blog contain the word "ibm", it can auto be ibm?

I want this module!

thanks man!

That would be interesting.

mpamphile - May 16, 2008 - 02:21

That would be interesting. Sounds like something close to what the glossary does.

http://prewrittencontent.com
http://writingschedule.com

Glossary module

Steven - May 10, 2005 - 16:59

Glossary module does what you want, mostly, though it links to another page with word descriptions rather than an external site. You could link to the ibm site there for example. Still, it is very easy to write your own filter for this, or to modify glossary module.

You can see this module in action on http://support.bryght.com/, look for gray underlined words (you can theme this yourself).

--
If you have a problem, please search before posting a question.

glossary module cannot link

robertb9527 - May 11, 2005 - 06:15

glossary module cannot link the word to an external site?

--
http://www.b9527.net

General string replacer

Adagio - May 10, 2005 - 17:10

I've written a general string replacer for you. You can get it here:
http://www.mypastebin.com/?code=1373113183

It allows you to replace any string you want with any string you want (except for strings over several lines because of the way it collects replacement sets). It's configurable through the admin > input formats section. Enable it, and choose "configure". Feedback appreciated, although it shouldn't be that much to say about it.

but how to use it?where I

robertb9527 - May 11, 2005 - 04:34

but how to use it?
where I paste your php code?

--
http://www.b9527.net

very thanks!All!

robertb9527 - May 11, 2005 - 02:48

very thanks!All!

--
http://www.b9527.net

sorry?

neablo - January 5, 2006 - 11:26

Okay, for everyone: you have to rename a txt-file to "stringreplacer.module", paste the code in there, upload it to the modules directory and activate it at admin/modules...

The next point is the regcognition of capital letters, how is it possible to recognize BOTH versions of a word, like "google" and "Google" ??

thanks so far

neablo

link is broke

frostkeep - May 15, 2008 - 16:15

i really really want that module too!
but the link is broke now...
:(

-brian davis

 
 

Drupal is a registered trademark of Dries Buytaert.