> When I was looking at the tiddlytools export tiddlers plugin, I saw
> that it generates a different PureStore format. This format has the
> advantage that tiddler content is visible in plain html. However it
> seems to me that using the export tiddlers plugin to generate
> PureStore can be quite dangerous, because it seems not to generate all
> fields in PureStore if a tiddler has extra fields defined.
That is *not* correct. TiddlyTools' ExportTiddlersPlugin (and also
SaveAsPlugin), both use TW core functions for generating the tiddler
data output. The TW standard HTML format for a stored tiddler, as
generated by the core function, is:
<div title="..." modifier="..." created="..." modified="..."
tags="..." customfield="..." customfield2="..." changecount="...">
CONTENT GOES HERE
</div>
This format includes both core-defined tiddler fields, as well as
custom-defined fields that have been assigned to that tiddler. This
is the format written into the PureStore files generated by
ExportTiddlersPlugin (or SaveAsPlugin).
If you examine the generated source of the exported file you will see
that ALL the custom fields were, in fact, written to the file. The
only thing different about TiddlyTools' output is the addition of some
document summary information that is written before the 'storeArea'
data and a tiny bit of CSS to make the 'pure store' tiddler *content*
visible. These additions occur *outside* the 'storeArea' div that
holds the actual tiddler data, and are ignored by ALL versions of TW
when the PureStore file is imported.
One significant difference between Saq's PureStore format and
TiddlyTools' format, is that Saq's format does NOT include an internal
'file markers' used to signal the END of the storeArea, either:
<!--POST-STOREAREA-->
or
<!--POST-BODY-START-->
These markers were added to the TW standard format quiet some time ago
(but after Saq wrote his description of PureStore), and are used by
various core functions as well as external applications to locate and
extract the tiddler data from a TW file. Note: Saq's format still
works only because the TW core has fallback-logic that, if the markers
are not present, simply uses the entire remainder of the file content.
-e
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/tiddlywiki?hl=en.