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!

Comments

pamphile’s picture

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

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

Steven’s picture

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.

robertb9527’s picture

glossary module cannot link the word to an external site?

--
http://www.b9527.net

Adagio’s picture

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.

robertb9527’s picture

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

--
http://www.b9527.net

robertb9527’s picture

very thanks!All!

--
http://www.b9527.net

neablo’s picture

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

frostkeep’s picture

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

-brian davis

darkitten’s picture

i know it is an old post, but i just got drupal and i needed this info and i stumbled upon this question

so, the thing really works with WordFilter: http://drupal.org/project/wordfilter

u just set up the word to be filtered, for example "testtext" and in the field for [fileterd text] you write a normal linking html sentence, as for example:

<a href="yourlinkhere.com" target="_black">testtext</a>

or smth like that, and be sure you choose for "input format" Full HTML