Discussion:
[tw] Exporting a list of tiddlers
Patrick Pfeifer
2015-04-06 13:43:17 UTC
Permalink
I would like to export a list of tiddlers with a specific tag to a new
wiki. How could I do that?

The reason why I am asking / my use case is the following: I have a wiki
running on node.js on a personal web server. While travelling I can not
access that server, so before I leave, I save a copy of that wiki to a
local file and then make modifications there. Once I can connect to the
server again, I would like to "merge" the mods that I made while
travelling. Ideally, I could just drag and drop the html file (wiki) into
the node.js hosted wiki page and click ok. However, when I do that, I get a
_huge_ list of tiddlers "ready for import". But I have edited only one or
to and do not want to import all the others. (Maybe in the meantime I might
have made some edits on the server wiki ss well and I do not want them to
be overwriten. So I really want to define the list of tiddlers to import
from the offline copy myself, buth I do not want to manually untick all of
those without modifications in that huge list. Thus the simplest thing
would be to tag and export those that I _do_ want to merge and then import
that whole list (new wiki) into the server wiki. But now now to export that
list of tagged tiddlers??? I see lots of suggestions on
http://tiddlywiki.org/#Export, but that all seems to be applicable to the
legacy / classic version of TiddlyWiki. Is there an export plugin for
TiddlyWiki 5? Or yould t^it be done from the command line with node.js ?

Cheers
Patrick
--
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 ***@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/ccb2b5fa-07fe-4ab7-acbd-5b828bed6b53%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Eric Shulman
2015-04-06 19:33:47 UTC
Permalink
Post by Patrick Pfeifer
I would like to export a list of tiddlers with a specific tag to a new
wiki. How could I do that?
1) Go to the $:/AdvancedSearch tiddler (click the magnifying glass next to
the search input in the sidebar)
2) Open the "filter" tab
3) Enter a filter that selects the tiddlers you want, for example:
[tag[exportThis]]
(assuming you tagged the changed tiddlers with "exportThis"), or perhaps
or
[!is[system]!sort[modified]limit[N]]
(where N is the number of tiddlers you want to export... i.e., "the N
most recently changed tiddlers")

4) After the search results are shown, notice the "export" button next to
the search input field (the button looks like an open-topped box with an
arrow pointing up).
5) When you click it, you will get a dropdown of choices for the export
format. Choose "JSON tiddlers file" to create and save a "tiddlers.json"
file to your local filesystem.
6) Drag the tiddlers.json file into your TW5 document to import the
tiddlers.

Q.E.D

enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios

"Inside TiddlyWiki: The Missing Manual"
https://www.indiegogo.com/projects/inside-tiddlywiki-the-missing-manual/x/8816263
Note: the IndieGogo funding campaign has ended,
but direct fundraising continues below...

YOUR DONATIONS ARE VERY IMPORTANT!
HELP ME TO HELP YOU - MAKE A CONTRIBUTION TO MY "TIP JAR"...
http://TiddlyTools.github.com/fundraising.html#MakeADonation

Professional TiddlyWiki Consulting Services...
Analysis, Design, and Custom Solutions:
http://www.TiddlyTools.com/#Contact
--
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 ***@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/a7d986a2-e389-49f3-929d-6cb1aee6ff7a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Patrick Pfeifer
2015-04-07 17:21:04 UTC
Permalink
Hello Eric

Woa ... _that_ simple !?? :-D ... great!!! Thanks a ton! I will put a link
to your detailed instructions on my blog (not yet live...)!

Cheers
Patrick

PS: In the meanwhile I already ran and implemented "c pa"'s solution
<https://groups.google.com/d/msg/tiddlywiki/AaP7s81ec0A/U5CDugIXKWYJ>,
which also works but is a lot more complicated - but quiet fun, if you have
an inclination for programming and some time at hand.
--
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 ***@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/307ab1d9-394d-47dd-97ef-c1b283dd7d4c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Danielo Rodríguez
2015-04-08 17:09:14 UTC
Permalink
Hello Patrick,

If you are interested I wrote a plugin some time ago that helps with this kind of scenarios. Basically it allows you to batch select only those tiddlers that have been modified while importing.
--
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 ***@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/01b54c2d-0db6-420f-bd05-934245e86549%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Felix Küppers
2015-04-08 17:12:35 UTC
Permalink
Hi Danielo,

I am interested, could you provide a link? Thanks

-Felix
Post by Danielo Rodríguez
Hello Patrick,
If you are interested I wrote a plugin some time ago that helps with this kind of scenarios. Basically it allows you to batch select only those tiddlers that have been modified while importing.
--
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 ***@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/BLU436-SMTP160BBC278347D46B1DCE235CEFC0%40phx.gbl.
For more options, visit https://groups.google.com/d/optout.
Danielo Rodríguez
2015-04-08 17:53:01 UTC
Permalink
Post by Felix Küppers
Hi Danielo,
I am interested, could you provide a link? Thanks
-Felix
Not very polised but here is it:

https://github.com/danielo515/import-tools/tree/master/plugins/import-tools
--
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 ***@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/2eaa7849-476a-46f4-a56c-6f2c8e4fab7f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Zaphod Beeblebrox
2016-06-30 04:06:01 UTC
Permalink
Following this line of discussion/thinking, I have another situation:

I would like to make a TW available for download by folks, and then send
out 'updates' in the form of new tiddlers bundled in a .json file that they
can simply drag & drop into their TW.

I followed some instructions found here (can't find the post to link to at
*For those who are unaware of the standard method – this is my usual
procedure:1. Tag each of the tiddlers you wish to export with the tag
'Export' 2. Open the Filter tab of Advanced Search 3. Enter the filter
expression '[tag[Export]]' (this should list the tiddlers you wish to
export) 4. Click the little 'Export tiddlers' button next to the filter
search box 5. Select 'JSON File' 6. Enter the name of your file, and save
7. Drag the saved file onto your other wiki 8. Import the tiddlers 9. If
any of the tiddlers contained plugins, save and refresh*
This method works great, but when those tiddlers are subsequently imported
into the users' TW, the "Export" tag remains and I'd rather not have that
happen.

Isn't there a way (a macro, maybe?) that would enable you to see a list of
all the tiddlers in your TW and pick and choose the one(s) to export by
simply clicking a checkbox next to their title?

And, as a secondary question/problem I have, could I force the
newly-imported tiddlers to open in an expanded position immediately after
importation into the users' TW?
(I'm assuming there's no possibility of overwriting the *Default tiddlers*
section of the users' Control Panel, so that those newly imported tiddlers
would be the first thing seen upon a reload?)

Thank You in advance for any help :)

--Zaphod
--
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 ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/f81fe2fa-274a-48a2-951a-bf87fcd2423c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
PMario
2016-06-30 14:00:32 UTC
Permalink
Hi,

You can just use a list of tiddlers without a tag eg: HelloThere Learning
Features
If you use this string, you don't need tags to list them. ... It's more
work, but would be a work around for the beginning.

The other possibility would be to modify the export button a bit. .... I'll
need to do some tests :)

-m
--
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 ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/f08b3fea-2f78-41ad-9bbc-aa6413c20174%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Zaphod Beeblebrox
2016-06-30 22:59:28 UTC
Permalink
Thank You so much, Mario - That solution does indeed do the trick :)

It is a bit cumbersome, but I don't mind - I can simply copy & paste the
titles into a text file (or dummy tiddler) as I create each tiddler, then
format and copy the whole statement into the Advanced Search box when ready
to export my 'update' :)

The titles of the tiddlers (in my case) need to be enclosed in single
quotes, as nearly all of them will include spaces (most will be movie
titles, eg: 'Treasure Island (1972-G)' but that's a piddling thing.

--Zaphod
Post by PMario
Hi,
You can just use a list of tiddlers without a tag eg: HelloThere Learning
Features
If you use this string, you don't need tags to list them. ... It's more
work, but would be a work around for the beginning.
The other possibility would be to modify the export button a bit. ....
I'll need to do some tests :)
-m
--
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 ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/8e420d77-e94c-4152-b3ad-1b5222ad5fad%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
PMario
2016-07-03 00:29:06 UTC
Permalink
Post by Zaphod Beeblebrox
Thank You so much, Mario - That solution does indeed do the trick :)
It is a bit cumbersome, but I don't mind - I can simply copy & paste the
titles into a text file (or dummy tiddler) as I create each tiddler, then
format and copy the whole statement into the Advanced Search box when ready
to export my 'update' :)
The titles of the tiddlers (in my case) need to be enclosed in single
quotes, as nearly all of them will include spaces (most will be movie
titles, eg: 'Treasure Island (1972-G)' but that's a piddling thing.
--Zaphod
use this: [['Treasure Island (1972-G)']]

see:
http://tiddlywiki.com/#WikiText:WikiText%20%5B%5BLinking%20in%20WikiText%5D%5D

------------------

I did have a closer look. ... A generic solution is a bit more complicated,
as I thought.

It would be possible to change the jsontiddlers.js macro, but we would need
to find a way to "temporarily" mark tiddlers for export, in a *nice and
generic way*.
But I don't have an easy to implement idea atm. .. There may be a
mechanism, that is similar to the import dialog, but for export. ...

Just as an info: responsible tiddlers:
http://tiddlywiki.com/#%24%3A%2Fcore%2Fmodules%2Fmacros%2Fjsontiddlers.js:%24%3A%2Fcore%2Fmodules%2Fmacros%2Fjsontiddlers.js%20%24%3A%2Fcore%2Ftemplates%2Fexporters%2FJsonFile%20%24%3A%2Fcore%2Fmacros%2Fexport

-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+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/1e3a706d-0424-4eca-963b-9e6b6e43a5e5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Zaphod Beeblebrox
2016-07-03 01:35:07 UTC
Permalink
Thank You for taking the time to investigate further :)

Your aforementioned solution will be more than satisfactory for my needs
until such time as Jeremy or one of the other "Guru's" comes along and
makes a ridiculously simple fix for the problem.

I took a cursory look at the javascript you linked to, but really can't do
anything with it. I can handle (most) HTML, (some) CSS, but anything
higher than that and I'm just a script-kiddie, making niggling changes here
and there.

I'm off now to tackle yet another problem: Flexbox divs in TiddlyWiki!
(wish me luck :-P )

--Zaphod
Post by PMario
Post by Zaphod Beeblebrox
Thank You so much, Mario - That solution does indeed do the trick :)
It is a bit cumbersome, but I don't mind - I can simply copy & paste the
titles into a text file (or dummy tiddler) as I create each tiddler, then
format and copy the whole statement into the Advanced Search box when ready
to export my 'update' :)
The titles of the tiddlers (in my case) need to be enclosed in single
quotes, as nearly all of them will include spaces (most will be movie
titles, eg: 'Treasure Island (1972-G)' but that's a piddling thing.
--Zaphod
use this: [['Treasure Island (1972-G)']]
http://tiddlywiki.com/#WikiText:WikiText%20%5B%5BLinking%20in%20WikiText%5D%5D
------------------
I did have a closer look. ... A generic solution is a bit more
complicated, as I thought.
It would be possible to change the jsontiddlers.js macro, but we would
need to find a way to "temporarily" mark tiddlers for export, in a *nice
and generic way*.
But I don't have an easy to implement idea atm. .. There may be a
mechanism, that is similar to the import dialog, but for export. ...
http://tiddlywiki.com/#%24%3A%2Fcore%2Fmodules%2Fmacros%2Fjsontiddlers.js:%24%3A%2Fcore%2Fmodules%2Fmacros%2Fjsontiddlers.js%20%24%3A%2Fcore%2Ftemplates%2Fexporters%2FJsonFile%20%24%3A%2Fcore%2Fmacros%2Fexport
-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+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/85501261-d907-4c45-a83d-1af3e12606f0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
'Mark S.' via TiddlyWiki
2016-07-03 04:10:32 UTC
Permalink
You can use a field like "exportme" with the value "yes" to select ones you
want to export. Then use a configuration tiddler like:

$:/config/EditTemplateFields/Visibility/exportme


with value "hide" to hide the field from the average user.


You can write a <$list> with buttons that will let you quickly select items
you want to mark. If you can't I'm sure someone here less sleepy than me
can ;-)


Mark
Post by Zaphod Beeblebrox
Thank You for taking the time to investigate further :)
Your aforementioned solution will be more than satisfactory for my needs
until such time as Jeremy or one of the other "Guru's" comes along and
makes a ridiculously simple fix for the problem.
I took a cursory look at the javascript you linked to, but really can't do
anything with it. I can handle (most) HTML, (some) CSS, but anything
higher than that and I'm just a script-kiddie, making niggling changes here
and there.
I'm off now to tackle yet another problem: Flexbox divs in TiddlyWiki!
(wish me luck :-P )
--Zaphod
Post by PMario
Post by Zaphod Beeblebrox
Thank You so much, Mario - That solution does indeed do the trick :)
It is a bit cumbersome, but I don't mind - I can simply copy & paste the
titles into a text file (or dummy tiddler) as I create each tiddler, then
format and copy the whole statement into the Advanced Search box when ready
to export my 'update' :)
The titles of the tiddlers (in my case) need to be enclosed in single
quotes, as nearly all of them will include spaces (most will be movie
titles, eg: 'Treasure Island (1972-G)' but that's a piddling thing.
--Zaphod
use this: [['Treasure Island (1972-G)']]
http://tiddlywiki.com/#WikiText:WikiText%20%5B%5BLinking%20in%20WikiText%5D%5D
------------------
I did have a closer look. ... A generic solution is a bit more
complicated, as I thought.
It would be possible to change the jsontiddlers.js macro, but we would
need to find a way to "temporarily" mark tiddlers for export, in a *nice
and generic way*.
But I don't have an easy to implement idea atm. .. There may be a
mechanism, that is similar to the import dialog, but for export. ...
http://tiddlywiki.com/#%24%3A%2Fcore%2Fmodules%2Fmacros%2Fjsontiddlers.js:%24%3A%2Fcore%2Fmodules%2Fmacros%2Fjsontiddlers.js%20%24%3A%2Fcore%2Ftemplates%2Fexporters%2FJsonFile%20%24%3A%2Fcore%2Fmacros%2Fexport
-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+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/34ad1157-1641-4d4e-8e7e-d8e603dc9075%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Zaphod Beeblebrox
2016-07-04 13:14:28 UTC
Permalink
Thank You for this, Mark :)

I *almost* grasp the Field concept, and that would work to hide the label
from the user. Unfortunately, though, I haven't graduated to the point of
understanding $lists in TW, yet. I see much interesting discussion about
them, but I haven't had to delve into the nuts and bolts of the thing in my
use case, so far.

--Zaphod
Post by 'Mark S.' via TiddlyWiki
You can use a field like "exportme" with the value "yes" to select ones
$:/config/EditTemplateFields/Visibility/exportme
with value "hide" to hide the field from the average user.
You can write a <$list> with buttons that will let you quickly select
items you want to mark. If you can't I'm sure someone here less sleepy than
me can ;-)
Mark
Post by Zaphod Beeblebrox
Thank You for taking the time to investigate further :)
Your aforementioned solution will be more than satisfactory for my needs
until such time as Jeremy or one of the other "Guru's" comes along and
makes a ridiculously simple fix for the problem.
I took a cursory look at the javascript you linked to, but really can't
do anything with it. I can handle (most) HTML, (some) CSS, but anything
higher than that and I'm just a script-kiddie, making niggling changes here
and there.
I'm off now to tackle yet another problem: Flexbox divs in TiddlyWiki!
(wish me luck :-P )
--Zaphod
Post by PMario
Post by Zaphod Beeblebrox
Thank You so much, Mario - That solution does indeed do the trick :)
It is a bit cumbersome, but I don't mind - I can simply copy & paste
the titles into a text file (or dummy tiddler) as I create each tiddler,
then format and copy the whole statement into the Advanced Search box when
ready to export my 'update' :)
The titles of the tiddlers (in my case) need to be enclosed in single
quotes, as nearly all of them will include spaces (most will be movie
titles, eg: 'Treasure Island (1972-G)' but that's a piddling thing.
--Zaphod
use this: [['Treasure Island (1972-G)']]
http://tiddlywiki.com/#WikiText:WikiText%20%5B%5BLinking%20in%20WikiText%5D%5D
------------------
I did have a closer look. ... A generic solution is a bit more
complicated, as I thought.
It would be possible to change the jsontiddlers.js macro, but we would
need to find a way to "temporarily" mark tiddlers for export, in a *nice
and generic way*.
But I don't have an easy to implement idea atm. .. There may be a
mechanism, that is similar to the import dialog, but for export. ...
http://tiddlywiki.com/#%24%3A%2Fcore%2Fmodules%2Fmacros%2Fjsontiddlers.js:%24%3A%2Fcore%2Fmodules%2Fmacros%2Fjsontiddlers.js%20%24%3A%2Fcore%2Ftemplates%2Fexporters%2FJsonFile%20%24%3A%2Fcore%2Fmacros%2Fexport
-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+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/929097be-70e1-4659-864f-d0f13e91e084%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
'Mark S.' via TiddlyWiki
2016-07-04 19:37:25 UTC
Permalink
Be sure to back up your files. This should allow you to put "yes" into an
"exportme" field. Just copy it into a tiddler. Warning -- If you have a lot
of tiddlers, the list might be long.

!! Select tiddlers for export
<table>
<tr><th>Title</th><th>Export?</th></tr>
<$list filter="[all[tiddlers]!is[system]!is[shadow]sort[]]">
<tr><td><$view field=title/></td><td align=center> <$checkbox field=
"exportme" checked="yes" unchecked=""/></td>
</tr>
</$list>
</table>

HTH
Mark
Post by Zaphod Beeblebrox
Thank You for this, Mark :)
I *almost* grasp the Field concept, and that would work to hide the label
from the user. Unfortunately, though, I haven't graduated to the point of
understanding $lists in TW, yet. I see much interesting discussion about
them, but I haven't had to delve into the nuts and bolts of the thing in my
use case, so far.
--Zaphod
Post by 'Mark S.' via TiddlyWiki
You can use a field like "exportme" with the value "yes" to select ones
$:/config/EditTemplateFields/Visibility/exportme
with value "hide" to hide the field from the average user.
You can write a <$list> with buttons that will let you quickly select
items you want to mark. If you can't I'm sure someone here less sleepy than
me can ;-)
Mark
--
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 ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/afc3adf4-8f81-4691-8d47-8a8bbb3c9a8b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Zaphod Beeblebrox
2016-07-06 13:19:16 UTC
Permalink
Well, Thank You, Mark! :)

Isn't it pretty? (gushes like a schoolgirl at the sight of all those little
checkboxes :-P )

That does the selection trick very nicely - Once checked the tiddlers
immediately appear in the SideBar under the current date, as being 'edited'
or 'updated'.

Now, what is the string that I'd put in the Advanced Search box to tag all
of them for export to .json?

The only 'improvement' I can think of would be to maybe narrow its scope
down with a date-specific filter, like the last 3 days, 7 days, etc., but
the whole date/time system in TW stymies me (I'd love to be able to *easily*
decipher/change the creation date of tiddlers)

--Zaphod
Post by 'Mark S.' via TiddlyWiki
Be sure to back up your files. This should allow you to put "yes" into an
"exportme" field. Just copy it into a tiddler. Warning -- If you have a lot
of tiddlers, the list might be long.
!! Select tiddlers for export
<table>
<tr><th>Title</th><th>Export?</th></tr>
<$list filter="[all[tiddlers]!is[system]!is[shadow]sort[]]">
<tr><td><$view field=title/></td><td align=center> <$checkbox field=
"exportme" checked="yes" unchecked=""/></td>
</tr>
</$list>
</table>
HTH
Mark
--
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 ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/28817642-2cc4-4dd1-9de1-bc07b9378d86%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
'Mark S.' via TiddlyWiki
2016-07-06 14:23:00 UTC
Permalink
Try, in the advanced search filter tab:

[exportme[yes]]
Post by Zaphod Beeblebrox
Well, Thank You, Mark! :)
Isn't it pretty? (gushes like a schoolgirl at the sight of all those
little checkboxes :-P )
That does the selection trick very nicely - Once checked the tiddlers
immediately appear in the SideBar under the current date, as being 'edited'
or 'updated'.
Now, what is the string that I'd put in the Advanced Search box to tag all
of them for export to .json?
The only 'improvement' I can think of would be to maybe narrow its scope
down with a date-specific filter, like the last 3 days, 7 days, etc., but
the whole date/time system in TW stymies me (I'd love to be able to
*easily* decipher/change the creation date of tiddlers)
--Zaphod
Post by 'Mark S.' via TiddlyWiki
Be sure to back up your files. This should allow you to put "yes" into an
"exportme" field. Just copy it into a tiddler. Warning -- If you have a lot
of tiddlers, the list might be long.
!! Select tiddlers for export
<table>
<tr><th>Title</th><th>Export?</th></tr>
<$list filter="[all[tiddlers]!is[system]!is[shadow]sort[]]">
<tr><td><$view field=title/></td><td align=center> <$checkbox field=
"exportme" checked="yes" unchecked=""/></td>
</tr>
</$list>
</table>
HTH
Mark
--
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 ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/e1d46ec4-8e25-43ab-8467-a47f06775562%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Zaphod Beeblebrox
2016-07-07 20:29:15 UTC
Permalink
I knew it would be that simple :-P (I have absolutely NO
experience/knowledge with $lists and such in TW...)

Thank You, Mark :)

--Zaphod
Post by 'Mark S.' via TiddlyWiki
[exportme[yes]]
Post by Zaphod Beeblebrox
Well, Thank You, Mark! :)
Isn't it pretty? (gushes like a schoolgirl at the sight of all those
little checkboxes :-P )
That does the selection trick very nicely - Once checked the tiddlers
immediately appear in the SideBar under the current date, as being 'edited'
or 'updated'.
Now, what is the string that I'd put in the Advanced Search box to tag
all of them for export to .json?
The only 'improvement' I can think of would be to maybe narrow its scope
down with a date-specific filter, like the last 3 days, 7 days, etc., but
the whole date/time system in TW stymies me (I'd love to be able to
*easily* decipher/change the creation date of tiddlers)
--Zaphod
Post by 'Mark S.' via TiddlyWiki
Be sure to back up your files. This should allow you to put "yes" into
an "exportme" field. Just copy it into a tiddler. Warning -- If you have a
lot of tiddlers, the list might be long.
!! Select tiddlers for export
<table>
<tr><th>Title</th><th>Export?</th></tr>
<$list filter="[all[tiddlers]!is[system]!is[shadow]sort[]]">
<tr><td><$view field=title/></td><td align=center> <$checkbox field=
"exportme" checked="yes" unchecked=""/></td>
</tr>
</$list>
</table>
HTH
Mark
--
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 ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/c349beb0-0375-4bbf-976e-df68aadb1758%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Jan
2016-07-04 18:42:31 UTC
Permalink
Hi,
I made a little thing wich allows to export a chosen number of tiddlers
last modified by the current user as an html file.
(Not a jason-file as you intended, but it works the same way...)
My aim was also to make collaboration a bit more easy so I called it
Export for Teamwork.
I hope it helps for your usecase.
To make it work in the sidebar it was best to transclude it into another
tiddler tagged $:/tags/SideBar.
If you do not want it in the sidebar you can delete it.

Cheers,
Jan
Post by Zaphod Beeblebrox
I would like to make a TW available for download by folks, and then
send out 'updates' in the form of new tiddlers bundled in a .json file
that they can simply drag & drop into their TW.
I followed some instructions found here (can't find the post to link
*For those who are unaware of the standard method – this is my
1. Tag each of the tiddlers you wish to export with the tag 'Export'
2. Open the Filter tab of Advanced Search
3. Enter the filter expression '[tag[Export]]' (this should list
the tiddlers you wish to export)
4. Click the little 'Export tiddlers' button next to the filter
search box
5. Select 'JSON File'
6. Enter the name of your file, and save
7. Drag the saved file onto your other wiki
8. Import the tiddlers
9. If any of the tiddlers contained plugins, save and refresh*
This method works great, but when those tiddlers are subsequently
imported into the users' TW, the "Export" tag remains and I'd rather
not have that happen.
Isn't there a way (a macro, maybe?) that would enable you to see a
list of all the tiddlers in your TW and pick and choose the one(s) to
export by simply clicking a checkbox next to their title?
And, as a secondary question/problem I have, could I force the
newly-imported tiddlers to open in an expanded position immediately
after importation into the users' TW?
(I'm assuming there's no possibility of overwriting the *Default
tiddlers* section of the users' Control Panel, so that those newly
imported tiddlers would be the first thing seen upon a reload?)
Thank You in advance for any help :)
--Zaphod
--
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
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/f81fe2fa-274a-48a2-951a-bf87fcd2423c%40googlegroups.com
<https://groups.google.com/d/msgid/tiddlywiki/f81fe2fa-274a-48a2-951a-bf87fcd2423c%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
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 ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/577AAE17.3060001%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.
Zaphod Beeblebrox
2016-07-06 13:08:34 UTC
Permalink
Thank You, Jan, but I'm not quite sure what it is...?

I downloaded it, but upon bringing it up in either Firefox or Chrome, all I
get is a blank white page.

--Zaphod
Post by Jan
Hi,
I made a little thing wich allows to export a chosen number of tiddlers
last modified by the current user as an html file.
(Not a jason-file as you intended, but it works the same way...)
My aim was also to make collaboration a bit more easy so I called it
Export for Teamwork.
I hope it helps for your usecase.
To make it work in the sidebar it was best to transclude it into another
tiddler tagged $:/tags/SideBar.
If you do not want it in the sidebar you can delete it.
Cheers,
Jan
--
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 ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/2f1b9f42-6945-421a-b334-a24d28ee0f69%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Jan
2016-07-06 13:59:57 UTC
Permalink
Hi Zaphod,
The html contains the exported tiddlers. Drag it onto a Tiddlywiki to
import and test it.
I t installs an exporter in a sidebar tab which exports a chosen number
of tiddlers ( again in html format...) which can then be dragged to
other Tws...
Cheers Jan.
Post by Zaphod Beeblebrox
Thank You, Jan, but I'm not quite sure what it is...?
I downloaded it, but upon bringing it up in either Firefox or Chrome,
all I get is a blank white page.
--Zaphod
Hi,
I made a little thing wich allows to export a chosen number of
tiddlers last modified by the current user as an html file.
(Not a jason-file as you intended, but it works the same way...)
My aim was also to make collaboration a bit more easy so I called
it Export for Teamwork.
I hope it helps for your usecase.
To make it work in the sidebar it was best to transclude it into
another tiddler tagged $:/tags/SideBar.
If you do not want it in the sidebar you can delete it.
Cheers,
Jan
--
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
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/2f1b9f42-6945-421a-b334-a24d28ee0f69%40googlegroups.com
<https://groups.google.com/d/msgid/tiddlywiki/2f1b9f42-6945-421a-b334-a24d28ee0f69%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
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 ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/577D0EDD.80908%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.
Zaphod Beeblebrox
2016-07-06 14:22:32 UTC
Permalink
Ah, I see, now - I tried dragging the link from here onto the TW, but never
got the Import ribbon...

Very clean and smooth - Thank You :)

Is there a way to have it export to .json, though? I'm afraid that some of
my less technically-inclined users would (do what I just did :-P ) try to
bring up the .html file in their browser, instead of importing it.

--Zaphod
Post by Jan
Hi Zaphod,
The html contains the exported tiddlers. Drag it onto a Tiddlywiki to
import and test it.
I t installs an exporter in a sidebar tab which exports a chosen number of
tiddlers ( again in html format...) which can then be dragged to other
Tws...
Cheers Jan.
Thank You, Jan, but I'm not quite sure what it is...?
I downloaded it, but upon bringing it up in either Firefox or Chrome, all
I get is a blank white page.
--Zaphod
Post by Jan
Hi,
I made a little thing wich allows to export a chosen number of tiddlers
last modified by the current user as an html file.
(Not a jason-file as you intended, but it works the same way...)
My aim was also to make collaboration a bit more easy so I called it
Export for Teamwork.
I hope it helps for your usecase.
To make it work in the sidebar it was best to transclude it into another
tiddler tagged $:/tags/SideBar.
If you do not want it in the sidebar you can delete it.
Cheers,
Jan
--
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
<javascript:>.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/2f1b9f42-6945-421a-b334-a24d28ee0f69%40googlegroups.com
<https://groups.google.com/d/msgid/tiddlywiki/2f1b9f42-6945-421a-b334-a24d28ee0f69%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
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 ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/98c656ec-8d9c-4362-aa07-cd1eff814f09%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Jan
2016-07-06 14:35:00 UTC
Permalink
Hi Zaphod,
This is a question for the Wizards...and a very useful modification.
Perhaps we put it up in the forum as a new Topic.
If anyone more skilled reads this,
What is the syntax to export Tiddlers with the download-message to
something else than .html?

Cheers Jan
Post by Zaphod Beeblebrox
Ah, I see, now - I tried dragging the link from here onto the TW, but
never got the Import ribbon...
Very clean and smooth - Thank You :)
Is there a way to have it export to .json, though? I'm afraid that
some of my less technically-inclined users would (do what I just did
:-P ) try to bring up the .html file in their browser, instead of
importing it.
--Zaphod
Hi Zaphod,
The html contains the exported tiddlers. Drag it onto a Tiddlywiki
to import and test it.
I t installs an exporter in a sidebar tab which exports a chosen
number of tiddlers ( again in html format...) which can then be
dragged to other Tws...
Cheers Jan.
Post by Zaphod Beeblebrox
Thank You, Jan, but I'm not quite sure what it is...?
I downloaded it, but upon bringing it up in either Firefox or
Chrome, all I get is a blank white page.
--Zaphod
Hi,
I made a little thing wich allows to export a chosen number
of tiddlers last modified by the current user as an html file.
(Not a jason-file as you intended, but it works the same way...)
My aim was also to make collaboration a bit more easy so I
called it Export for Teamwork.
I hope it helps for your usecase.
To make it work in the sidebar it was best to transclude it
into another tiddler tagged $:/tags/SideBar.
If you do not want it in the sidebar you can delete it.
Cheers,
Jan
--
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,
<javascript:>.
Visit this group at https://groups.google.com/group/tiddlywiki
<https://groups.google.com/group/tiddlywiki>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/2f1b9f42-6945-421a-b334-a24d28ee0f69%40googlegroups.com
<https://groups.google.com/d/msgid/tiddlywiki/2f1b9f42-6945-421a-b334-a24d28ee0f69%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout
<https://groups.google.com/d/optout>.
--
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
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/98c656ec-8d9c-4362-aa07-cd1eff814f09%40googlegroups.com
<https://groups.google.com/d/msgid/tiddlywiki/98c656ec-8d9c-4362-aa07-cd1eff814f09%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
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 ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/577D1714.9010905%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.
wimm
2016-07-06 20:02:34 UTC
Permalink
there are some macros for exporting to json.
they include the exportbutton icon.

they require a filter as parameter to specify the tiddlers you want to export. the filter for a single tiddler is created with another macro to surround the tiddler title with [[]].

it also requires a lingoBase parameter

and a baseFilename

search for exportbu in advanced search tab shadow tiddlers

you are probably looking for macros/export which contains a action sendmessage tm-download...

it is not easy to convert into something else, there is a lot of dependencies embedded in download.js

(for my specific implementation I had to modify download.js as well, auto datetime signing name added filename from tiddler without url encoding for local file names, exporting story river to json ..)

hope this helps a little
--
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 ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/f93758e4-8b20-4267-82d2-5d82ce0db893%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Jan
2016-07-06 21:44:20 UTC
Permalink
Hi Wimm!
Exporting the Storyriver to .json sounds seductive. I would be happy if
you could post this.
The construction is the following, is there an additional expression for
the exportbutton() to make it export a json-file

\define download-param()
\define saveTiddlerFilter() $(var-user-filter)$ +[sort[title]]

\define savingEmpty() yes

{{$:/core/templates/tiddlywiki5.html}}
\end

\define templatebutton()
<$button set="$:/temp/SaveMyNewTiddlersTemplate"
setTo=<<download-param>> to={{!!title}}>{{!!limit}}</$button>
\end

\define userexport()
[modifier[$(exportuser)$]!is[system]!sort[modified]limit[$(exportnum)$]]
\end

\define exportbutton() <$button message="tm-download-file"
param="$:/temp/SaveMyNewTiddlersTemplate" title="Export">Die neuesten
{{!!limit}} Einträge von {{$:/status/UserName}} exportieren</$button>

<$set name="exportnum" value={{!!limit}}>
<$set name="exportuser" value={{$:/status/UserName}}><br>
<$set name="var-user-filter" value=<<userexport>> >
<<templatebutton>>
</$set>
<<exportbutton>>
<hr>
<span title="Wieviele"><$edit-text tag="input" field="limit"
default="Wieviele?"/></span>
<$set name="exportnum" value={{!!limit}}>
<span title="Wer"><$edit-text tiddler="$:/status/UserName" tag="input"
type="text"/></span>
<$set name="exportnum" value={{!!limit}}>
<$set name="exportuser" value={{$:/status/UserName}}><br>
<$list filter=<<userexport>> ><br><<currentTiddler>></$list>
</$set>


cheers Jan
Post by wimm
there are some macros for exporting to json.
they include the exportbutton icon.
they require a filter as parameter to specify the tiddlers you want to export. the filter for a single tiddler is created with another macro to surround the tiddler title with [[]].
it also requires a lingoBase parameter
and a baseFilename
search for exportbu in advanced search tab shadow tiddlers
you are probably looking for macros/export which contains a action sendmessage tm-download...
it is not easy to convert into something else, there is a lot of dependencies embedded in download.js
(for my specific implementation I had to modify download.js as well, auto datetime signing name added filename from tiddler without url encoding for local file names, exporting story river to json ..)
hope this helps a little
--
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 ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/577D7BB4.4070404%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.
'Mark S.' via TiddlyWiki
2016-07-06 21:44:28 UTC
Permalink
If you go into the filter tab under "advanced search" and enter a valid
filter, a little export (up arrow) icon will appear next to the search box.
Look closely -- it can be very hard to see. Click on that and you will be
offered the chance to download a csv file, an html file, a json file, or a
tiddler file.

Unfortunately, if you choose to download as tiddlers, only ONE of the
target tiddlers will be exported.

Mark
Post by Jan
Hi Zaphod,
This is a question for the Wizards...and a very useful modification.
Perhaps we put it up in the forum as a new Topic.
If anyone more skilled reads this,
What is the syntax to export Tiddlers with the download-message to
something else than .html?
Cheers Jan
Ah, I see, now - I tried dragging the link from here onto the TW, but
never got the Import ribbon...
Very clean and smooth - Thank You :)
Is there a way to have it export to .json, though? I'm afraid that some of
my less technically-inclined users would (do what I just did :-P ) try to
bring up the .html file in their browser, instead of importing it.
--Zaphod
Post by Jan
Hi Zaphod,
The html contains the exported tiddlers. Drag it onto a Tiddlywiki to
import and test it.
I t installs an exporter in a sidebar tab which exports a chosen number
of tiddlers ( again in html format...) which can then be dragged to other
Tws...
Cheers Jan.
Thank You, Jan, but I'm not quite sure what it is...?
I downloaded it, but upon bringing it up in either Firefox or Chrome, all
I get is a blank white page.
--Zaphod
Post by Jan
Hi,
I made a little thing wich allows to export a chosen number of tiddlers
last modified by the current user as an html file.
(Not a jason-file as you intended, but it works the same way...)
My aim was also to make collaboration a bit more easy so I called it
Export for Teamwork.
I hope it helps for your usecase.
To make it work in the sidebar it was best to transclude it into another
tiddler tagged $:/tags/SideBar.
If you do not want it in the sidebar you can delete it.
Cheers,
Jan
--
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
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/2f1b9f42-6945-421a-b334-a24d28ee0f69%40googlegroups.com
<https://groups.google.com/d/msgid/tiddlywiki/2f1b9f42-6945-421a-b334-a24d28ee0f69%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
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
<javascript:>.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/98c656ec-8d9c-4362-aa07-cd1eff814f09%40googlegroups.com
<https://groups.google.com/d/msgid/tiddlywiki/98c656ec-8d9c-4362-aa07-cd1eff814f09%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
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 ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/2aa05b89-3822-449a-a5c3-3efee75b2359%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Jan
2016-07-06 22:21:46 UTC
Permalink
Hi Zaphod,
I made a new version with the exportbutton. It is all so easy if you
know the correct spell. I renamed the tiddlers to avoid that they export
themselves.
Cheers!
Jan
Post by 'Mark S.' via TiddlyWiki
If you go into the filter tab under "advanced search" and enter a
valid filter, a little export (up arrow) icon will appear next to the
search box. Look closely -- it can be very hard to see. Click on that
and you will be offered the chance to download a csv file, an html
file, a json file, or a tiddler file.
Unfortunately, if you choose to download as tiddlers, only ONE of the
target tiddlers will be exported.
Mark
Hi Zaphod,
This is a question for the Wizards...and a very useful modification.
Perhaps we put it up in the forum as a new Topic.
If anyone more skilled reads this,
What is the syntax to export Tiddlers with the download-message to
something else than .html?
Cheers Jan
Post by Zaphod Beeblebrox
Ah, I see, now - I tried dragging the link from here onto the TW,
but never got the Import ribbon...
Very clean and smooth - Thank You :)
Is there a way to have it export to .json, though? I'm afraid
that some of my less technically-inclined users would (do what I
just did :-P ) try to bring up the .html file in their browser,
instead of importing it.
--Zaphod
Hi Zaphod,
The html contains the exported tiddlers. Drag it onto a
Tiddlywiki to import and test it.
I t installs an exporter in a sidebar tab which exports a
chosen number of tiddlers ( again in html format...) which
can then be dragged to other Tws...
Cheers Jan.
Post by Zaphod Beeblebrox
Thank You, Jan, but I'm not quite sure what it is...?
I downloaded it, but upon bringing it up in either Firefox
or Chrome, all I get is a blank white page.
--Zaphod
Hi,
I made a little thing wich allows to export a chosen
number of tiddlers last modified by the current user as
an html file.
(Not a jason-file as you intended, but it works the same
way...)
My aim was also to make collaboration a bit more easy so
I called it Export for Teamwork.
I hope it helps for your usecase.
To make it work in the sidebar it was best to transclude
it into another tiddler tagged $:/tags/SideBar.
If you do not want it in the sidebar you can delete it.
Cheers,
Jan
--
You received this message because you are subscribed to the
Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails
Visit this group at
https://groups.google.com/group/tiddlywiki
<https://groups.google.com/group/tiddlywiki>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/2f1b9f42-6945-421a-b334-a24d28ee0f69%40googlegroups.com
<https://groups.google.com/d/msgid/tiddlywiki/2f1b9f42-6945-421a-b334-a24d28ee0f69%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout
<https://groups.google.com/d/optout>.
--
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,
<javascript:>.
Visit this group at https://groups.google.com/group/tiddlywiki
<https://groups.google.com/group/tiddlywiki>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/98c656ec-8d9c-4362-aa07-cd1eff814f09%40googlegroups.com
<https://groups.google.com/d/msgid/tiddlywiki/98c656ec-8d9c-4362-aa07-cd1eff814f09%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout
<https://groups.google.com/d/optout>.
--
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
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/2aa05b89-3822-449a-a5c3-3efee75b2359%40googlegroups.com
<https://groups.google.com/d/msgid/tiddlywiki/2aa05b89-3822-449a-a5c3-3efee75b2359%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
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 ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/577D847A.4090203%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.
Zaphod Beeblebrox
2016-07-07 20:44:59 UTC
Permalink
Well, that works slicker than snot on a doorknob!

And even with the ability to input how many tiddlers you'd like to export :)

Thank You, Sir :)

--Zaphod
Post by Jan
Hi Zaphod,
I made a new version with the exportbutton. It is all so easy if you know
the correct spell. I renamed the tiddlers to avoid that they export
themselves.
Cheers!
Jan
If you go into the filter tab under "advanced search" and enter a valid
filter, a little export (up arrow) icon will appear next to the search box.
Look closely -- it can be very hard to see. Click on that and you will be
offered the chance to download a csv file, an html file, a json file, or a
tiddler file.
Unfortunately, if you choose to download as tiddlers, only ONE of the
target tiddlers will be exported.
Mark
Post by Jan
Hi Zaphod,
This is a question for the Wizards...and a very useful modification.
Perhaps we put it up in the forum as a new Topic.
If anyone more skilled reads this,
What is the syntax to export Tiddlers with the download-message to
something else than .html?
Cheers Jan
Ah, I see, now - I tried dragging the link from here onto the TW, but
never got the Import ribbon...
Very clean and smooth - Thank You :)
Is there a way to have it export to .json, though? I'm afraid that some
of my less technically-inclined users would (do what I just did :-P ) try
to bring up the .html file in their browser, instead of importing it.
--Zaphod
Post by Jan
Hi Zaphod,
The html contains the exported tiddlers. Drag it onto a Tiddlywiki to
import and test it.
I t installs an exporter in a sidebar tab which exports a chosen number
of tiddlers ( again in html format...) which can then be dragged to other
Tws...
Cheers Jan.
Thank You, Jan, but I'm not quite sure what it is...?
I downloaded it, but upon bringing it up in either Firefox or Chrome,
all I get is a blank white page.
--Zaphod
Post by Jan
Hi,
I made a little thing wich allows to export a chosen number of tiddlers
last modified by the current user as an html file.
(Not a jason-file as you intended, but it works the same way...)
My aim was also to make collaboration a bit more easy so I called it
Export for Teamwork.
I hope it helps for your usecase.
To make it work in the sidebar it was best to transclude it into
another tiddler tagged $:/tags/SideBar.
If you do not want it in the sidebar you can delete it.
Cheers,
Jan
--
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
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/2f1b9f42-6945-421a-b334-a24d28ee0f69%40googlegroups.com
<https://groups.google.com/d/msgid/tiddlywiki/2f1b9f42-6945-421a-b334-a24d28ee0f69%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
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
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/98c656ec-8d9c-4362-aa07-cd1eff814f09%40googlegroups.com
<https://groups.google.com/d/msgid/tiddlywiki/98c656ec-8d9c-4362-aa07-cd1eff814f09%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
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
<javascript:>.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/2aa05b89-3822-449a-a5c3-3efee75b2359%40googlegroups.com
<https://groups.google.com/d/msgid/tiddlywiki/2aa05b89-3822-449a-a5c3-3efee75b2359%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
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 ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/f02049c0-e7b8-4d55-82aa-aa192655026f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
wimm
2016-07-08 08:12:03 UTC
Permalink
Jan,

tiddler code to export StoryList (story river) to json

J[*^*] + count of tiddlers in the river

<span title="export open / story river tiddlers"><$macrocall
$name="exportButtonJSON" exportFilter="[list[$:/StoryList]]"
lingoBase=""/>^^<$count filter="[list[$:/StoryList]]"/>^^ </span>

tiddler for the export macro including the necessary tag is attached. (BTW
lingo tiddlers are not available)

Njoy
WiM
--
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 ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/aebbd273-4c04-4bba-a600-b7981af15d98%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
wimm
2016-07-08 08:27:58 UTC
Permalink
this tiddler will add a filter for exporting storylist storyriver in the
the advanced search tiddler
however it exports only the first tiddler when using json export
--
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 ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/700853b3-5fea-4d4d-a118-0a5e6f3f9591%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
'Birthe C' via TiddlyWiki
2016-07-08 09:40:06 UTC
Permalink
Hi Wimm,

Testing this I get all the story tiddlers + your filter tiddler and
$:/AdvancedSearch.


Birthe
Post by wimm
this tiddler will add a filter for exporting storylist storyriver in the
the advanced search tiddler
however it exports only the first tiddler when using json export
--
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 ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/cb047ff5-f157-42e0-b41d-bbfd04ffb24c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
wimm
2016-07-08 11:10:38 UTC
Permalink
Birthe,

which of the two are you referring to?

1) for the exportbutton J[*^*] story river to json
it is best to call it from a menu tab in the sidebar (like the open
tab), or at a tag $:/tags/SideBar or $:/tags/MoreSideBar to the tiddler,
and a caption field for the name on the new tab.

2) just the filter,
if those tiddlers are in the story river they are also exported to e.g.
html

if you want to exclude $:/advancedsearch (which is in the story river when
you select the filter)

you can replace
[list[$:/StoryList]]
by
[list[$:/StoryList]!search:title[advancedsearch]]

Njoy
WiM
--
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 ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/ae19e453-4c4f-4279-9060-38074dce96ad%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
'Birthe C' via TiddlyWiki
2016-07-08 13:09:12 UTC
Permalink
Hi WiM,

Thank you! I had testet the filter. It is of course working nicely now ;-).


Birthe
Post by wimm
Birthe,
which of the two are you referring to?
1) for the exportbutton J[*^*] story river to json
it is best to call it from a menu tab in the sidebar (like the open
tab), or at a tag $:/tags/SideBar or $:/tags/MoreSideBar to the
tiddler, and a caption field for the name on the new tab.
2) just the filter,
if those tiddlers are in the story river they are also exported to e.g.
html
if you want to exclude $:/advancedsearch (which is in the story river when
you select the filter)
you can replace
[list[$:/StoryList]]
by
[list[$:/StoryList]!search:title[advancedsearch]]
Njoy
WiM
--
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 ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/d9dd8efd-3af4-40ef-8e03-48384b967787%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
wimm
2016-07-09 03:40:51 UTC
Permalink
Zaphod, I like your idea to open the new tiddlers when you import an
update. To automatically fill $:/DefaultTiddler from the story river you
could use

<$button><$action-setfield $tiddler="$:/DefaultTiddlers" field="text"
text={{$:/StoryList!!list}}/>init $:/DefaultTiddlers with all tiddlers in
story river</$button>

I've added this button to my sidebar in the Open tiddlers tab. Mayb later
I'll add it to the icons tags/pagecontrol, but then I'll have to design an
svg icon. We'll see

Or you can use a tiddler to generate the links all surrounded with double
square brackets
<$list filter="your filter"><$text text="[["/><$view field="title"/><$text
text="]]"/></$list>

Njoy
WiM
--
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 ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/a29abd78-027d-425e-b995-b07000058c58%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Zaphod Beeblebrox
2016-07-10 19:44:37 UTC
Permalink
Well, that is very handy indeed, WiM! - Thank You :)

--Zaphod
Post by wimm
Zaphod, I like your idea to open the new tiddlers when you import an
update. To automatically fill $:/DefaultTiddler from the story river you
could use
<$button><$action-setfield $tiddler="$:/DefaultTiddlers" field="text"
text={{$:/StoryList!!list}}/>init $:/DefaultTiddlers with all tiddlers in
story river</$button>
I've added this button to my sidebar in the Open tiddlers tab. Mayb later
I'll add it to the icons tags/pagecontrol, but then I'll have to design an
svg icon. We'll see
Or you can use a tiddler to generate the links all surrounded with double
square brackets
<$list filter="your filter"><$text text="[["/><$view field="title"/><$text
text="]]"/></$list>
Njoy
WiM
--
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 ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/4b0c4a0a-ca8e-4dc4-a920-2f02327446e6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Zaphod Beeblebrox
2016-07-06 14:09:10 UTC
Permalink
Answering my own question, here :-P

Thought I'd throw it out there, for any folks who might also be looking for
a solution.

In my use case, I want to distribute an 'update' to my users in the form of
a .json-bundled pack of tiddlers, but would like those new tiddlers to open
in an expanded state immediately upon them reloading their TW. One way to
do this is to override the Default Tiddlers section of the Control Panel
and insert a list of the updated tiddlers we're adding.

I simply created a tiddler titled *$:/DefaultTiddlers* and listed the
titles of each new tiddler (one per line, and remembering to enclose within
brackets any titles that contained spaces). This replaces any tiddlers
that might have been there before, and is the same as if you'd gone into
Control Panel and manually added them yourself.

--Zaphod
Post by Zaphod Beeblebrox
And, as a secondary question/problem I have, could I force the
newly-imported tiddlers to open in an expanded position immediately after
importation into the users' TW?
(I'm assuming there's no possibility of overwriting the *Default tiddlers*
section of the users' Control Panel, so that those newly imported tiddlers
would be the first thing seen upon a reload?)
Thank You in advance for any help :)
--Zaphod
--
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 ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/88a81e00-10e1-4a02-ba15-34dc38b9f97c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Jan
2016-07-12 21:53:13 UTC
Permalink
Dear Exporters...
I made a new Version of the export-Tool implementing Wimm's Idea to
export the storylist and my little tool to export the chosen number of
tiddlers last modified by the current user.
They are both packed in the tabs of a SidebarTabExporter, you find it in
the attached Json.
I had some problems adding a third way of exporting:
Opening all Tiddlers tagged by a chosen tag in the storyriver...to
control and then export them with the Storylist exporter...
So...How do you do set the story to all tiddlers containing a secific
tag entered in an inputfield while closing the others? Any Ideas...?
For everyone who just wants to use the plugin: Import and then delete
$:/macros/Exporter/Story Experiment
<http://magictabs.tiddlyspot.com/#%24%3A%2Fmacros%2FExporter%2FStory%20Experiment>
evrything else is working...
There is on other issue: You have to type really slow in the
Input-fields, because otherwise the focus jumps away. Is there a cure
for that behaviour?

Cheers jan
Post by Zaphod Beeblebrox
I would like to make a TW available for download by folks, and then
send out 'updates' in the form of new tiddlers bundled in a .json file
that they can simply drag & drop into their TW.
I followed some instructions found here (can't find the post to link
*For those who are unaware of the standard method – this is my
1. Tag each of the tiddlers you wish to export with the tag 'Export'
2. Open the Filter tab of Advanced Search
3. Enter the filter expression '[tag[Export]]' (this should list
the tiddlers you wish to export)
4. Click the little 'Export tiddlers' button next to the filter
search box
5. Select 'JSON File'
6. Enter the name of your file, and save
7. Drag the saved file onto your other wiki
8. Import the tiddlers
9. If any of the tiddlers contained plugins, save and refresh*
This method works great, but when those tiddlers are subsequently
imported into the users' TW, the "Export" tag remains and I'd rather
not have that happen.
Isn't there a way (a macro, maybe?) that would enable you to see a
list of all the tiddlers in your TW and pick and choose the one(s) to
export by simply clicking a checkbox next to their title?
And, as a secondary question/problem I have, could I force the
newly-imported tiddlers to open in an expanded position immediately
after importation into the users' TW?
(I'm assuming there's no possibility of overwriting the *Default
tiddlers* section of the users' Control Panel, so that those newly
imported tiddlers would be the first thing seen upon a reload?)
Thank You in advance for any help :)
--Zaphod
--
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
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/f81fe2fa-274a-48a2-951a-bf87fcd2423c%40googlegroups.com
<https://groups.google.com/d/msgid/tiddlywiki/f81fe2fa-274a-48a2-951a-bf87fcd2423c%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
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 ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/578566C9.3020209%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.
Continue reading on narkive:
Search results for '[tw] Exporting a list of tiddlers' (Questions and Answers)
16
replies
why did the USA invade Iraq ?
started 2008-04-02 04:06:51 UTC
current events
Loading...