CsvParser

89 views
Skip to first unread message

cb

unread,
Apr 6, 2014, 10:25:33 PM4/6/14
to tiddl...@googlegroups.com
I was just browsing the TiddlyWiki5 code and came across the CsvParser.  I expected that if a tiddler contained CSV data, that CSV data would be rendered as a Table. However, I couldn't figure out how to view my tiddler with CSV data as an html table. Any ideas?

I also noticed comments to the checkin suggesting an enhancement that each individual cell  value can be retrieved, for processing. I think this is an excellent idea.

Thanks,
cb

cb

unread,
Apr 6, 2014, 10:27:04 PM4/6/14
to tiddl...@googlegroups.com
Sorry, forgot to add that [TW5] to the header :(

Jeremy Ruston

unread,
Apr 7, 2014, 4:09:42 AM4/7/14
to TiddlyWiki
Hi cb

The CSV parser is only present in the prerelease version of TiddlyWiki on GitHub, it's not yet made it's way through to tiddlywiki.com.

The functionality is very basic at present: just the ability to display CSV data in a table. There is no capability to access individual cells yet, but that is coming.

Best wishes

Jeremy.



--
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 tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.



--
Jeremy Ruston
mailto:jeremy...@gmail.com

stevesuny

unread,
Sep 28, 2015, 4:08:19 PM9/28/15
to TiddlyWiki, jeremy...@gmail.com
Hello all,

Pulling on an oldt hread here:

Is there a way to access individual cells in a tiddler created through csv import? (as in, treat each cell as a field, or something like that?)

Thanks!

//steve.

Tobias Beer

unread,
Sep 29, 2015, 1:01:53 AM9/29/15
to tiddl...@googlegroups.com, jeremy...@gmail.com
Hi Stevesuny,
 
Is there a way to access individual cells in a tiddler created through csv import? 
(as in, treat each cell as a field, or something like that?)
 
What are you (eventually) trying to achieve with that?

I could imagine a naming convention where each cell would be named as a field:
  • table-tableid-01-200
    • <table-id>-<row-num>-<col-num>
But this would utterly clutter the field name-space.

I would much rather recommend using a json tiddler for each table,
sorted by index, holding the above nomenclature.

Best wishes,

— tb
Reply all
Reply to author
Forward
0 new messages