{{$:/MAS/DefaultImagePath}}/2016/maps/map-satel-nwlr2-folo-stalewater.png
Is there a way to easily change the base path of _canonical_uri ?
I tried something easy like this, but of course it didn't work:
{{$:/MAS/DefaultImagePath}}/2016/maps/map-satel-nwlr2-folo-stalewater.png
But maybe there's some other way to do this with macros or templates?
Thanks!
Mark
--
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 tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/5de478b8-e4e8-40c8-87ad-82a34885075b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
So the question is, is there any tiddler where I could put the HTML <base> code and have it invoked when the TW is loaded? Manually hacking the source code is a bit inconvenient.
Changing <base> also changes the base of any relative external links. So you would have to choose between getting _canonical_uri right or getting your links right.
Ideally you would have multiple bases, and images using _canonical_uri would switch bases depending on tags or other criteria.
The point of all this is to make it possible to use TW on different platforms where resources (images, pdfs, etc.) may have to reside in completely different locations.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/a13fdd3b-61b8-4638-ac5c-a0bea233059c%40googlegroups.com.
Hi Mark
That seems to work -- and it turns out to be pretty important -- TW wrote over (fixed?) my hand edited code when I saved!
Thanks again,
Mark
On Monday, April 25, 2016 at 9:19:12 AM UTC-7, Jeremy Ruston wrote:Hi MarkSo the question is, is there any tiddler where I could put the HTML <base> code and have it invoked when the TW is loaded? Manually hacking the source code is a bit inconvenient.Try creating a tiddler tagged $:/tags/RawMarkup containing the <base> tag.
--
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 tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/a060fec4-2aad-4579-b62b-9b3502deb3fe%40googlegroups.com.