I would like to export a list of tiddlers with a specific tag to a new wiki. How could I do that?
Hi Danielo,
I am interested, could you provide a link? Thanks
-Felix
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
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
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 tiddl...@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.
!! 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>--
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 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.
[exportme[yes]]
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/98c656ec-8d9c-4362-aa07-cd1eff814f09%40googlegroups.com.
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
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/2aa05b89-3822-449a-a5c3-3efee75b2359%40googlegroups.com.
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.
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 the moment) which said:
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 tiddl...@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.