Thanks for the hint. I was able to do exactly what I wanted.

In the formatItem function, I changed the line to 

        if (f==this.type_TX)
            var r=this.plainTextTiddler.format([t.title, 
t.created.toLocaleString(), t.modified.toLocaleString(),
                t.modifier, String.encodeTiddlyLinkList(t.tags), 
t.text,t.fields['author']]);

This of course makes the author field parameter %6 and can be referenced in 
the go function, which can easily be modified to include the XML tags :

        +'<author>%6</author>\n'

Thanks again for pointing me in the right direction.

On Friday, March 3, 2017 at 7:45:01 PM UTC-5, Dragon Cotterill wrote:
>
>
>
> On Friday, 3 March 2017 20:01:05 UTC, RLM wrote:
>>
>> Anyone still work with Tiddlywiki Classic (2.8.1)?
>>
>
> Well yes, all my work is still in TWC.
>
> In the normal export, the values for %0, %1 etc. change depending on which 
> export option you selected. If you created your own export option, then it 
> would be up to you to select the elements for export yourself.
>
> I would suggest sticking to the methods which work as export and then 
> process the resulting file into your XML. Exporting as .csv includes all 
> the hidden custom fields on the tiddlers. It may not be elegant, but it'll 
> get you a data format which you can then use outside of TW.
>
>

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d5d9b81a-f741-4a02-8ee4-0e3abfff2d91%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to