The *very* nice way to do it would be to have a system config type of
tiddler that contains a user's additional URL protocols, and automagically
use those protocol types.

Probably you'd want to combine a $/whatever/DefaultLinkStrings tiddler, and
a $/whatever/UserLinkStrings tiddler, and combine the two to get the final
protocol list.  That way the standard list can get updated without hosing
the user's list.

Anyone want to write a plugin for it?  Can you even override matchRegExp
from a plugin?

;Daniel


On 6 January 2015 at 08:43, James Anderson <[email protected]>
wrote:

> When i update I edit core/modules/parsers/wikiparser/rules/extlink.js
> <https://github.com/Jermolene/TiddlyWiki5/blob/4a1c530da721276e072cf1f21aa294e3147e2c2d/core/modules/parsers/wikiparser/rules/extlink.js>
>  and
> maybe core/modules/parsers/wikiparser/rules/prettylink.js
> <https://github.com/Jermolene/TiddlyWiki5/blob/4a1c530da721276e072cf1f21aa294e3147e2c2d/core/modules/parsers/wikiparser/rules/prettylink.js>
>
>
> specifically to add "kindle" and some other custom links to the end of
>
> this.matchRegExp = /~?(?:file|http|https|mailto|ftp|irc|news|data|skype):
>
> Is there a nicer way of doing this other than me just having to remember
> to edit there files each time I update? Not that I mind doing this, i was
> just wondering if there was a nicer way of doing it?
>
> Thanks,
> James
>
> --
> You received this message because you are subscribed to the Google Groups
> "TiddlyWikiDev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/tiddlywikidev.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Daniel Baird
objoke: I had a problem and decided to solve it with threading. Now,
have problems. two I

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywikidev.
For more options, visit https://groups.google.com/d/optout.

Reply via email to