Re: [tw] How do you use $:/core/templates/canonical-uri-external-image ?
Hi Mark I was imagining that as you move a TW between node.js, or between various platforms, you can have a template that you would apply to all your image links. By changing the template, you could change where the images point to. This is useful because the pathing is different between different platforms. I can accomplish all this by making all image links by a global macro, but this isn't standard. I thought if all links could be formatted with a pathing template then that would provide a long-term, standard solution. That's pretty close to what this template is for, at or least a part of it: it is used under Node.js to specify the path for external tiddlers to reference their content. The external tiddler mechanism pretty much addresses your goals, at the cost of making each of the images your working with into a tiddler. If you need something slightly different that I would recommend using custom global macros to encapsulate your image references. Best wishes Jeremy Thanks! Mark On Saturday, August 8, 2015 at 5:35:00 AM UTC-7, Jeremy Ruston wrote: Hi Mark That template is specifically used during the saving of external images under Node.js. It isn't intended to be used for anything else. What are you trying to achieve? Best wishes Jeremy. On Sat, Aug 1, 2015 at 1:18 AM, 'Mark S.' via TiddlyWiki tiddl...@googlegroups.com wrote: I've tried using $:/core/templates/canonical-uri-external-image as a template on image tiddlers, the idea being to assign a new base url. But when you apply the template to an image transclusion, you don't get back an image. Does this template do anything, and if so, how? 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 http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/d951eb8f-82dc-4066-bf2a-d75fd21d032a%40googlegroups.com https://groups.google.com/d/msgid/tiddlywiki/d951eb8f-82dc-4066-bf2a-d75fd21d032a%40googlegroups.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- Jeremy Ruston mailto:jeremy...@gmail.com -- 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+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. 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/5a342bd5-44d5-45b0-b86a-97f8c818db8a%40googlegroups.com https://groups.google.com/d/msgid/tiddlywiki/5a342bd5-44d5-45b0-b86a-97f8c818db8a%40googlegroups.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- Jeremy Ruston mailto:jeremy.rus...@gmail.com -- 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+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. 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/CAPKKYJY4PamuSnPgWvKkF_XKyEcfGx4uMgFNQLTD2jHbubFS0Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
Re: [tw] How do you use $:/core/templates/canonical-uri-external-image ?
Hi Mark That template is specifically used during the saving of external images under Node.js. It isn't intended to be used for anything else. What are you trying to achieve? Best wishes Jeremy. On Sat, Aug 1, 2015 at 1:18 AM, 'Mark S.' via TiddlyWiki tiddlywiki@googlegroups.com wrote: I've tried using $:/core/templates/canonical-uri-external-image as a template on image tiddlers, the idea being to assign a new base url. But when you apply the template to an image transclusion, you don't get back an image. Does this template do anything, and if so, how? 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+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. 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/d951eb8f-82dc-4066-bf2a-d75fd21d032a%40googlegroups.com https://groups.google.com/d/msgid/tiddlywiki/d951eb8f-82dc-4066-bf2a-d75fd21d032a%40googlegroups.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- Jeremy Ruston mailto:jeremy.rus...@gmail.com -- 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+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. 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/CAPKKYJbZ8%2BwLGpqUYw3DTzxr%2Bq0PHRAPAQmekPN0D5wHbq8kUw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
Re: [tw] How do you use $:/core/templates/canonical-uri-external-image ?
I was imagining that as you move a TW between node.js, or between various platforms, you can have a template that you would apply to all your image links. By changing the template, you could change where the images point to. This is useful because the pathing is different between different platforms. I can accomplish all this by making all image links by a global macro, but this isn't standard. I thought if all links could be formatted with a pathing template then that would provide a long-term, standard solution. Thanks! Mark On Saturday, August 8, 2015 at 5:35:00 AM UTC-7, Jeremy Ruston wrote: Hi Mark That template is specifically used during the saving of external images under Node.js. It isn't intended to be used for anything else. What are you trying to achieve? Best wishes Jeremy. On Sat, Aug 1, 2015 at 1:18 AM, 'Mark S.' via TiddlyWiki tiddl...@googlegroups.com javascript: wrote: I've tried using $:/core/templates/canonical-uri-external-image as a template on image tiddlers, the idea being to assign a new base url. But when you apply the template to an image transclusion, you don't get back an image. Does this template do anything, and if so, how? 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 javascript:. To post to this group, send email to tiddl...@googlegroups.com javascript:. 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/d951eb8f-82dc-4066-bf2a-d75fd21d032a%40googlegroups.com https://groups.google.com/d/msgid/tiddlywiki/d951eb8f-82dc-4066-bf2a-d75fd21d032a%40googlegroups.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- Jeremy Ruston mailto:jeremy...@gmail.com javascript: -- 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+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. 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/5a342bd5-44d5-45b0-b86a-97f8c818db8a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw] How do you use $:/core/templates/canonical-uri-external-image ?
I've tried using $:/core/templates/canonical-uri-external-image as a template on image tiddlers, the idea being to assign a new base url. But when you apply the template to an image transclusion, you don't get back an image. Does this template do anything, and if so, how? 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+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. 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/d951eb8f-82dc-4066-bf2a-d75fd21d032a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.