Hi!  I've been looking around in the plugins that are there for Radiant 
and I can't seem to find anything directly that does this, so I'm asking 
here to see if anyone has implemented these/ knows of something that 
implements these (or if I just haven't found it).

1. Automatically create links for URL.
I'd like to be able to type in http://example.org or [EMAIL PROTECTED] 
and have a link created to it.  If I use Textile, I need to do this as 
"http://example.org":http://example.org - just wondering if there's a 
tag I can use (else, I think I should just write it up).  I think Rails 
has a function called auto_link that can do this for text content - just 
need to think about any vulnerabilities that this may have.  I imagine 
that this would only be a tag, no database backend needed.

2. Create links for known entities
It would be good to have a mechanism that automatically creates links to 
known entities.  For example, I'd like to set up SampleSite as being 
http://example.org and then every time, I include SampleSite, it 
automatically creates a link to http://example.org.  I don't want it to 
be automatic (so we don't need to parse all the text) - it's good enough 
if I have to pass the name to a tag.  I imagine that this would be 2 
parts - 1 part would be a tab in the admin section allowing the user to 
set up any of the pre-defined entities (I think the link_roll extension 
points in the correct direction) and then a tag that allows the user to 
get back the link.

Any ideas?

Cheers,
Mohit.
8/13/2007 | 10:53 AM.



_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to