Keep in mind the JSON mangler plugin for sophisticated import and refactoring of data.
Regards Tones On Sunday, 27 December 2020 at 04:20:13 UTC+11 [email protected] wrote: > I looked at the slicer-edition when it came out and it didn't quite suit > my purposes. I am interesting in chopping up CFRs from eCFR.gov ... > specifically the new beta site https://ecfr.federalregister.gov/ ... you > can grab an entire part in a number of formats (including JSON) but I end > up with a plain text tiddler. Conveniently, each section is uniquely named > so it has been fairly simple to semi-manually parse using the excise > function in the tiddler editor. It consists of four steps after importing > the big text file into a tiddler: copy section title to clipboard, > Highlight the whole section in editor, excise and paste the title to name > the new tiddler. > > If that could be reduced to a single step of dragging a highlighted > section onto a sidebar area, that would be super-efficient. In my case, the > tiddler title is always the first line of the section being dragged and > always unique so I think this might be doable with some creative splitting. > Like what was discussed in a previous thread, it might require the ability > to trigger two sequential actions like you can with a button. But even if > it requires a button press after to post-process the title, that is still > much more efficient. I'll investigate when I have some time to dedicate. > > Thanks, > /Mike > On Friday, December 25, 2020 at 11:02:35 AM UTC-4 Mark S. wrote: > >> The Slicer Edition and NotoWritey can quickly slice up your text files, >> if you want the whole thing processed. >> >> For this (I think I'll call it Excerpt) getting the source name might be >> tricky. I'm thinking that the new EventCatcherWidget might be wrapped >> around your text tiddlers as a template. Beginning a selection would then >> put the current tiddler name into a tiddler which could then be used by >> Excerpt for tagging and/or naming. >> >> On Thursday, December 24, 2020 at 9:39:40 PM UTC-8 [email protected] >> wrote: >> >>> That is very cool. That kind of functionality will prove very useful in >>> quickly tiddlywiking a big flat text file ... something I do a lot of ... >>> very manually at the moment. >>> >>> I will have to study your 5.1.23-filter wizardry and figure out how to >>> tag the newly created tiddler with the host tiddler and name it based on >>> the highlighted content. >>> >>> Thanks for sharing a very practical example. >>> /Mike >>> >>> On Thursday, December 24, 2020 at 6:55:34 PM UTC-4 Mark S. wrote: >>> >>>> >>>> Now that 5.1.23 has come out, I've added this code to >>>> https://marxsal.github.io/various/playground.html so people can try it >>>> directly. >>>> >>>> -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/dda66e50-eb52-419c-a1cd-10189fa63872n%40googlegroups.com.

