Hi Mark,

Thanks for those very important details,
 

> if some of the _canonical_uri's tiddlers already have a custom path inside 
> the existing file structure they will be overwritten by the externalizing 
> process. In that case, you might need to set up an additional flag field 
> and filter to prevent those custom tiddlers from being over-written.
>

I have trouble understanding what you mean by this.

   1. What is the "externalizing process"?
   2. What gets overwritten doing what exactly?
   3. How and when and where use a "flag field / filter"?

For these reasons, it might be preferable to abandon _canonical_uri 
> entirely and display images via a global macro. The macro would provide the 
> path infrastructure and could be quickly changed depending on how the TW is 
> being used (stand-alone, local server, remote server). Different macros 
> could be used for custom images outside the standard file paths.
>

I very much agree, which is why there already is this:

ximg @ tb5 <http://tobibeer.github.io/tb5/#ximg>

The current `_canonical_uri` method appears a bit problematic in more than 
one way,
starting with the naming convention for that field.
Perhaps it's not the worst idea to deprecate this field and how it works 
today.

Best wishes,

— tb

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" 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/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/571e911c-023a-4783-ba16-be170d2986f2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to