Hi, want to beuatify the external links that are created from a plain
text URL (I think they are called "urlLink"):

Remove http://, https:// and www. prefixes:
http://www.google.com returns "google.com" as link text

Shorten long URLs:
http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=nyc&aq=&sll=43.071878,-92.865534&sspn=46.773316,78.75&ie=UTF8&hq=&hnear=New+York&z=11
returns maps.google.com/maps?f=q&source=s_q&hl=e...r=New+York&z=11

The algorithm could be: if link text without prefix is longer than 60
chars, split into 25 chars behind domain, "..." and 15 chars at the
end.

Combined:
http://www.google.com/calendar?hl=en&tab=gc returns
google.com/calendar?hl=en&tab=gc

Is there an extension that could do this?

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to tiddlywiki@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.

Reply via email to