The attributes you see in the storeArea tiddler DIV are actually the
storage format for the tiddler 'fields'. This includes both standard
core-defined fields (title, modifier, created, modified, tags, and
changecount), and any *custom* fields, which can be plugin-accessible
(using the store.getValue() and store.setValue(...) functions) or
entered via a custom EditTemplate and displayed using a custom
ViewTemplate (with the <span macro='view fieldname'></span> syntax).
For example, check out this tiddler:
http://www.TiddlyTools.com/#%5B%5B2008.06.18%20TiddlyWest%5D%5D
Because it is tagged with "task" it uses a custom template (e.g.,
"TaskViewTemplate", selected via the TaggedTemplateTweak plugin).
This custom template uses form controls provided by ListboxPlugin and
CheckboxPlugin to set various task-related custom fields, including
status, urgent, and assigned, which are then saved in the storeArea
DIV as attributes, like this:
<div title="2008.06.18 TiddlyWest" modifier="ELSDesignStudios"
created="200805181707" modified="200806150527" tags="sample
TaskPackage task Done" status="not started" changecount="50"
urgent="false" assigned="all">
So, in summary: yes, if you are using a server-side script to generate
storeArea DIVs that contain non-standard attributes, not only will
they be properly preserved in the file, but you can even access (and
modify) those attributes from within TiddlyWiki by using custom
templates to display/write the values, accessed internally as custom
tiddler fields.
enjoy,
-e