Page 1 of 1

Autolink plugin?

Posted: Mon Oct 23, 2006 11:24 am
by pgtaboada
Hi,

is there any autolink plugin? It would work similarly to the glossary plugin, but instead I need it to link to an url instead of creating a popup window.

brgds,

Papick

Re: Autolink plugin?

Posted: Mon Oct 23, 2006 11:26 am
by garvinhicking
Hi!

What's an autolink?

Best regards,
Garvin

Posted: Mon Oct 23, 2006 12:35 pm
by pgtaboada
I think I read this name "autolink" in some CMS I tried in the past. It was a very niec feature: I could manage a list of words/ urls, something like

java -> http://java.sun.com
oio -> http://www.oio.de

and so on. So, every time I hat the word java or oio in my content they would automatically be linked to the urls.

Would be nice to have it in s9y.

brgds,

Papick

Posted: Mon Oct 23, 2006 12:41 pm
by garvinhicking
Hi!

Ah. For that we have a generic "Content-Rewrite" plugin. This forum contains some postings about how to use it.

There you can configured a pattern like

Code: Select all

<a href="{to}">{from}</a>
and then set up specific keys with title and description, like:

Title: Java
Description: http://www.java.com/

Then the links will also be converted.

This plugin actually was a precedessor to the glossary plugin; the glossary plugin is more specific and easier to setup, whereas the contentrewrite plugin is more generic and can be bent to serve multiple automatic replacement techniques.

HTH,
Garvin