Hi vpl

> I need to export these fields and I'm currently using the nodejs version
with the command line (as documented)

What file format are you hoping to use?

Depending on the format, you may not need to write any JS code to do this.
The "rendertiddlers" command renders a filtered list of tiddlers through a
template, and you can define a template that outputs all the fields. For
example, the template for writing tiddlers as HTML DIVs is in
$:/core/templates/html-div-tiddler;
it writes tiddlers in the format:

<div created="20131211131022562" modified="20131211131023829"
title="$:/SiteTitle" type="text/vnd.tiddlywiki">
<pre>TiddlyWiki</pre>
</div>

Best wishes

Jeremy.



On Tue, Sep 16, 2014 at 7:48 AM, vpl <[email protected]> wrote:

> Hi,
>
> Using my TW5 as a database I extensively leverage the flexible tiddler
> fields capability
> I need to export these fields and I'm currently using the nodejs version
> with the command line (as documented)
>
> I'm wondering if I could develop a macro to do that, but I'm blocking on
> the File I/O. Is their a code sample that I could start from to develop a
> macro that will create a file containing each tiddler fields ?
>
> Thanks for your help
>
> Regards
>
> Vpl
>
> --
> 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.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Jeremy Ruston
mailto:[email protected]

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to