Hi Devin

On Tue, Jun 23, 2015 at 1:52 AM, Devin Weaver <weaver.de...@gmail.com>
wrote:
>
>
> The tiddler files however could have any title. So the real question is
> how does the rendertiddler command know what path and filename to output
> to? Is it the tiddler title? or the original tiddler path with .tid turned
> to .html?
>

The rendertiddlers command uses the URI encoded tiddler title for the
filename:

https://github.com/Jermolene/TiddlyWiki5/blob/master/core/modules/commands/rendertiddlers.js#L60

I'd considered extending the mechanism with some kind of filter-based
cascading rules. For example:

/tasks/$encoded-title$: [tag[Task]]
/ideas/$encoded-title$: [tag[Ideas]]
/archive/$encoded-title$: [is[tiddler]]

That example would save tiddlers tagged task to /tasks, and those tagged
ideas to /ideas, with the remainder getting an /archive URL.

Best wishes

Jeremy.




>
> And Finally does TiddlyWiki have a way to customize that path?
>
> Can the file tiddlers/foo/bar.tid with a title: "baz bar froboz" be
> outputted to output/static/all/the/good/stuff/baz-bar-froboz.html ?
>
> On Monday, June 22, 2015 at 3:09:16 PM UTC-4, PMario wrote:
>>
>> IMO can be defined with the output parameter. see:
>> http://tiddlywiki.com/#OutputCommand, http://tiddlywiki.com/#
>> <http://tiddlywiki.com/#Commands>Commands
>> <http://tiddlywiki.com/#Commands>
>>
>> How does you command look like?
>>
>> -m
>>
>  --
> 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/97af8ea8-0184-4bd8-adeb-a21dfb880415%40googlegroups.com
> <https://groups.google.com/d/msgid/tiddlywiki/97af8ea8-0184-4bd8-adeb-a21dfb880415%40googlegroups.com?utm_medium=email&utm_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/CAPKKYJZbUwRkwaY1RcYLx1AccrFAdGmobi5HQ7Eq98aqOpSmQQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to