Adding something in front of a Link

Hello

I have again a strange requirement to solve :wink:

Each link in an article needs to have a symbol in front of the link text, if the link points to an external site.

I think, i have to intercept the content for parsing and updating, before it will be rendered. Is this right?

Cheers

probably the best place to do that… that way if your requirements change, just pull the interceptor.

okay, this will be a great example to learn this after the ColdBox camp :wink: Actually i’m not really familiary with the interceptor in general.

Yes Martin,

an interceptor is your best approach.

signature0.jpg

Luis F. Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com

ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Blog: http://www.luismajano.com
IECFUG Manager: http://www.iecfug.com

Social: twitter.com/lmajano facebook.com/lmajano

Can learn it now if you like

http://www.andyscott.id.au/blog/writing-a-module-for-contentbox-to-change-post-output

Thanks Andy! Again a great article.