Hi Yijun

> i am planning to handle the CSV file, by filtering out some key/value.
should be my own javascript's Macro
but the question is how to input the raw contents from the upload the
file/or tiddler.

There's currently no support for extending the import process to have
custom handling specific data types.

The easiest option may well be to convert your CSV files to .JSON files of
tiddlers using an external program.

Alternatively, you may find it easiest to clone and customise the existing
"dropzone" widget:

https://github.com/Jermolene/TiddlyWiki5/blob/master/core/modules/widgets/dropzone.js

Best wishes

Jeremy.



On Sun, Dec 21, 2014 at 11:14 AM, Tobias Beer <[email protected]> wrote:

> Hi Yijun,
>
> I think I understand your idea more clearly now.
>
> Perhaps this may help you get to where you're headed...
>
> http://tb5.tiddlyspot.com/#Batch%20Importing%20Tiddlers
>
> Essentially, you should *batch-create* *individual tiddlers* for the
> entries you wish to filter / report on... having custom fields with your
> desired data and tags that allow you to easily access related entries.
>
> Then, with a little bit of knowledge about filters
> <http://tiddlywiki.com/#Filters>you should be able to rather quickly get
> to the desired data. For this, you could have something like a "template
> TiddlyWiki" that has all the required reports prepared for you so that —
> once you've imported your data — you get those ready-made-reports. Then you
> would save that TiddlyWiki as *report-x-2014-12* or something and start
> with a blank report-wiki next month / week / etc...
>
> However, if you need to also cross-report different "months"... you may
> want to do all of it in one TiddlyWiki. That means, above all, you need to
> make sure your tiddlers have unique names. You could have "template
> reports" containing the desired filters and templates and then you simply
> "clone" your template tiddler so as to create a tiddler *report-x-2014-12*
> .
>
> Makes sense?
>
> Of course, without knowing what your data are (entries) and what
> properties they have (fields), it's hard for me to give you more specific
> advise. So, once you've got those tiddlers properly imported, perhaps get
> back with questions about filtering <http://tiddlywiki.com/#Filters>, in
> case you're stuck.
>
> Best wishes, Tobias.
>
> --
> 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