Question
Is there any way, perhaps using a plugin, to make the display of "double bracketed" links to external sites look different to links to twiki pages.
For example, I'd like a link to
http://www.AndyPryke.com
to look different to
AndyPryke when the link is made using the [[ markup.
This would allow me to make links to long urls like
http://www.onlinecommunityreport.com/features/mayfield
in a friendlier form like
Social Text Interview
but have it clear to viewers that the link is external and not to a twiki page called SocialTextInterview
The markup could be as simple as different colouring or perhaps the addition of a small icon.
If this feature isn't currently available in TWiki, then I guess this should become a
FeatureRequest.
Environment
--
AndyPryke - 13 Jan 2004
Answer
I was looking at the code in TWiki.pm and it would be ideal if we could specify a
DecoratorPattern
to all links.
It is not clear to me if this exists, but my desire would be to add a small arrow gif to external links. I've seen this in
JSPWiki
for instance.
Another thought would be to associate
CeeSesSesClasses with each link type and let the
TWikiSkins handle the formatting externally.
--
JeffSchilling - 24 Jan 2004
And more... I see that a proposal exists for this functionality in
MorePluginHooks
--
JeffSchilling - 24 Jan 2004
And some discussions on CSS is in
TWikiUsingCSS
--
PeterThoeny - 02 Apr 2004