[tw5] Re: Action to export a tiddler/set of tiddlers in JSON matching set criteria?

2019-11-12 Thread Hubert
Thank you Mario for pointing me to these resources. So much interesting and 
useful stuff!

Thanks,
Hubert

On Monday, 11 November 2019 12:50:19 UTC, PMario wrote:
>
> Hi Hubert, 
>
> My post was triggered by "reverse-engineer". I thought a plugin has a much 
> narrower scope, than the TW core. So it should be easier to understand, 
> what's going on there. ... 
>
> There is one more plugin that I always use to develop my own stuff: 
> link-to-tabs 
> . 
> It lets you directly open selected tabs. So it's much faster to find and 
> open system tabs as used in advanced search and in the sidebar. 
>
> have fun!
> mario
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/15ec2c34-d1cb-4755-bea5-35807706c02c%40googlegroups.com.


[tw5] Re: Action to export a tiddler/set of tiddlers in JSON matching set criteria?

2019-11-11 Thread PMario
Hi Hubert, 

My post was triggered by "reverse-engineer". I thought a plugin has a much 
narrower in scope, than the TW core. So it should be easier to understand, 
what's going on there. ... 

There is one more plugin that I always use to develop my own stuff: 
link-to-tabs 
. 
It lets you directly open selected tabs. So it's much faster to find and 
open system tabs as used in advanced search and in the sidebar. 

have fun!
mario

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/23e04789-340b-4749-87da-96c1d2a347f5%40googlegroups.com.


[tw5] Re: Action to export a tiddler/set of tiddlers in JSON matching set criteria?

2019-11-11 Thread Hubert
Hi Mario,

Thank you! I didn't mean to discount the effects of your work, it's just 
that I do like to open things up to see how they work as that's the way I 
learn.

Your plugin does indeed look like a match for my use case, though it'll 
take some time for me to ingest all that info (thanks for linking to the 
intro post). Nice work!

Thanks again & regards,
Hubert

On Monday, 11 November 2019 12:02:59 UTC, PMario wrote:
>
> On Monday, November 11, 2019 at 12:26:32 PM UTC+1, Hubert wrote:
> ..
>
>> That said, I think I will continue to fiddle/try to reverse-engineer 
>> $:/core/macros/export in order to understand it better and build something 
>> that 100% matches my needs based on core mechanisms alone.
>>
>
> Hi, 
>
> I did create the bundler-plugin. It is 100% compatible with the core. I 
> basically did the same thing, as you want to do. ... Create a new UI 
> around  $:/core/macros/export
>
> If you have a closer look about the plugin Content tab, you'll see several 
> UI elements. If you understand what BundlesList and export-bundle 
> 
>  
> do, you are set up, to create your own stuff according to the OP. 
>
> If you want to create something that works exactly like AdvancedSearch, 
> you'll need to understand: BundlesFiltered and export-bundle-filter. It's 
> the same thing as advanced search, but looks different. That's it. 
>
> There are 2 js elements in the plugin, that are used for convenience 
> functions, which you don't need for export 
> BUT they will be handy if you want to import your bundles again, without 
> overwriting existing content. ... 
>
> The Intro Thread 
>  of 
> the plugin tells more about the development of the plugin. 
>
> have fun!
> mario
>
>
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5cf33946-c8ba-41a5-9411-6c6b5a6641b8%40googlegroups.com.


[tw5] Re: Action to export a tiddler/set of tiddlers in JSON matching set criteria?

2019-11-11 Thread PMario
On Monday, November 11, 2019 at 12:26:32 PM UTC+1, Hubert wrote:
..

> That said, I think I will continue to fiddle/try to reverse-engineer 
> $:/core/macros/export in order to understand it better and build something 
> that 100% matches my needs based on core mechanisms alone.
>

Hi, 

I did create the bundler-plugin. It is 100% compatible with the core. I 
basically did the same thing, as you want to do. ... Create a new UI 
around  $:/core/macros/export

If you have a closer look about the plugin Content tab, you'll see several 
UI elements. If you understand what BundlesList and export-bundle 

 
do, you are set up, to create your own stuff according to the OP. 

If you want to create something that works exactly like AdvancedSearch, 
you'll need to understand: BundlesFiltered and export-bundle-filter. It's 
the same thing as advanced search, but looks different. That's it. 

There are 2 js elements in the plugin, that are used for convenience 
functions, which you don't need for export 
BUT they will be handy if you want to import your bundles again, without 
overwriting existing content. ... 

The Intro Thread 
 of 
the plugin tells more about the development of the plugin. 

have fun!
mario


-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/cf5c5988-d488-40be-91db-e896e80f7f30%40googlegroups.com.


[tw5] Re: Action to export a tiddler/set of tiddlers in JSON matching set criteria?

2019-11-11 Thread Hubert
Thanks TT, that's a very neat plugin.

That said, I think I will continue to fiddle/try to reverse-engineer 
$:/core/macros/export in order to understand it better and build something 
that 100% matches my needs based on core mechanisms alone.

Thanks,
Hubert

On Monday, 11 November 2019 11:15:56 UTC, @TiddlyTweeter wrote:
>
> Would PMario's Bundler Plugin suit the use case? Its one of the best 
> import/export JSON tools TW has. Set and click.
>
>
> https://wikilabs.github.io/editions/bundler/#%24%3A%2Fplugins%2Fwikilabs%2Fbundler
>
> Best
> TT
>
> On Monday, 11 November 2019 12:05:33 UTC+1, Hubert wrote:
>>
>> Hello,
>>
>> I've researched this already and am aware that this can be achieved using 
>> Advanced Search, albeit manually.
>>
>> What I would like to do is export a pre-defined set of tiddlers with a 
>> *single 
>> click of a button* as part of a set of actions.
>>
>> I had a look at the widget message tm-download-file 
>>  
>> with an exportFilter but this outputs a html file, not individual tiddlers 
>> in JSON format.
>>
>> Thank you in advance for advice.
>>
>> Regards,
>> Hubert
>>
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/fa3bcbf0-1bdf-4c85-9278-7b61c2ab5aa8%40googlegroups.com.


[tw5] Re: Action to export a tiddler/set of tiddlers in JSON matching set criteria?

2019-11-11 Thread @TiddlyTweeter
Would PMario's Bundler Plugin suit the use case? Its one of the best 
import/export JSON tools TW has. Set and click.

https://wikilabs.github.io/editions/bundler/#%24%3A%2Fplugins%2Fwikilabs%2Fbundler

Best
TT

On Monday, 11 November 2019 12:05:33 UTC+1, Hubert wrote:
>
> Hello,
>
> I've researched this already and am aware that this can be achieved using 
> Advanced Search, albeit manually.
>
> What I would like to do is export a pre-defined set of tiddlers with a 
> *single 
> click of a button* as part of a set of actions.
>
> I had a look at the widget message tm-download-file 
>  
> with an exportFilter but this outputs a html file, not individual tiddlers 
> in JSON format.
>
> Thank you in advance for advice.
>
> Regards,
> Hubert
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/539cc591-40ff-4d86-b5cf-e51ab3bfec6e%40googlegroups.com.