[TW5] JsonMangler v2.0.9 Release!

247 views
Skip to first unread message

Joshua Fontany

unread,
Feb 20, 2020, 3:05:30 PM2/20/20
to tiddl...@googlegroups.com
What's New?

  • General bug fix and cleanup of the previous "Over 9000 Csv" release.
  • Exposed the rest of the PapaParse "parsing" options like: delimiter, new_line, quote_char, escape_char
  • Changed importing to async functions.
  • Changed importing to collect all individual row tiddlers into a Plugin as shadow-tiddlers!
  • Cleaned up UI.
  • Moved Csv Help to the ReadMe.

Try it out! Import all the Data!!!!!



Best,
Joshua Fontany

TonyM

unread,
Feb 20, 2020, 8:49:00 PM2/20/20
to TiddlyWiki
Josua,

This is feature rich, thanks for continuing to develop it. There are a lot of things available given the existence of this tool that were not available to tiddlywiki users before. Anyone wanting to import, package json data including tiddler jsons would be advised to look at its capabilities.

Regards
Tony

TonyM

unread,
Feb 20, 2020, 8:50:54 PM2/20/20
to TiddlyWiki
Post script

Installing this in an empty.html is enough to create a valuable tool and the results of the manipulations can then be transferred to any tiddlywiki but various means.

Regards
Tony

Mohammad

unread,
Feb 21, 2020, 12:29:33 AM2/21/20
to TiddlyWiki
Good move Joshua!
Thank you for sharing!

I think the interface still can be polished, specifically the left/right next/previous buttons on the header section.
More simple examples lets user get a quick start with JsonMangler.

--Mohammad

Joshua Fontany

unread,
Feb 28, 2020, 7:44:45 PM2/28/20
to TiddlyWiki
https://github.com/joshuafontany/TW5-JsonMangler/releases/tag/v2.0.10

Just a quick update to fix the <<primaryKey>> variable used in importing "individual tiddlers" or "individual json".

Thanks!
Joshua Fontany

c pa

unread,
Mar 8, 2020, 12:06:19 AM3/8/20
to TiddlyWiki
Joshua,

I've been using the plugin for a couple of weeks. Excellent useful plugin. I have one request. Is it possible to add an "attributes" operator or something like that that would return the direct children of each item? I've found that I have to manually maintain and index in the JSON so that I can keep track.

{
    "item one": {"one": "content", "two": "content", "indexes": "one two"},
    "item two": {"aye": "content", "bee": "content", "indexes": "aye bee"},
    "item three": "content",
    "indexes": "[[item one]] [[item two]] [[item three]]"
}

The indexes operator returns all children and I only need the direct children.

Joshua Fontany

unread,
Mar 8, 2020, 9:54:26 PM3/8/20
to TiddlyWiki
Hi c pa,

Thanks! I have been planning on "overloading" the indexes[] operator, to offer better filtering and maybe a "depth" option. I have an open issue on my github to track this issue:

https://github.com/joshuafontany/TW5-JsonMangler/issues/9

Best,
Joshua F

Joshua Fontany

unread,
Mar 17, 2020, 9:11:57 PM3/17/20
to TiddlyWiki
Hello c pa,

I have updated the `indexes[]` filter operator to return the immediate(root) property names by default. You can now use the syntax `indexes:all[<path>]` to return all properties, or root/all properties from a specific path on the current tiddler.


Best,
Joshua F

On Saturday, March 7, 2020 at 9:06:19 PM UTC-8, c pa wrote:

c pa

unread,
Mar 22, 2020, 9:05:00 PM3/22/20
to tiddl...@googlegroups.com
I just installed this latest version on a clean tiddlywiki download... It throws an error.

I'm using the single file tiddlywiki. I went to tiddlywiki.com, downloaded an empty file, and dragged and dropped the 3 plugins from https://joshuafontany.github.io/TW5-JsonMangler/

I only see the error if I close all tiddlers. Then this pops up from the bottom of the screen.

Joshua Fontany

unread,
Mar 23, 2020, 5:05:37 PM3/23/20
to TiddlyWiki
At this time, the current version of JsonMangler is built against the "Prerelease" version of Tiddlywiki (5.1.22-pre).

You can download an empty copy of that here: https://tiddlywiki.com/prerelease/

Because part of loading JsonMangler "patches" some of the core javascript files, I have chosen to base current features on the latest available in the TiddlyWiki github repository. The TW v5.1.22 release is due very very soon, and hopefully my current process means that JsonMangler will be compatible with that version as soon as it is out. 

Best,
Joshua Fontany
Reply all
Reply to author
Forward
0 new messages