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






Am 30.06.2016 um 06:06 schrieb Zaphod Beeblebrox:
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 [email protected] <mailto:[email protected]>. To post to this group, send email to [email protected] <mailto:[email protected]>.
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 [email protected].
To post to this group, send email to [email protected].
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.
[
    {
        "created": "20160712183816193",
        "creator": "JR",
        "text": "\\define userexport() 
\n[modifier[$(exportuser)$]!is[system]!sort[modified]limit[$(exportnum)$]]\n\\end\n<$set
 name=\"exportnum\" value={{$:/macros/Exporter/User!!limit}}>\n<$set 
name=\"exportuser\" value={{$:/status/UserName}}><br>\n<$set 
name=\"var-user-filter\" value=<<userexport>> >\n</$set>\nExport the newest 
{{$:/macros/Exporter/User!!limit}} Tiddlers by {{$:/status/UserName}} 
exportieren <$macrocall $name=\"exportButton\" exportFilter=<<userexport>> 
lingoBase=\"$:/language/Buttons/ExportTiddlers/\"/>\n<hr>\n<span 
title=\"Wieviele\"><$edit-text tag=\"input\" 
tiddler=\"$:/macros/Exporter/User\" field=\"limit\" 
default=\"Wieviele?\"/></span>\n<$set name=\"exportnum\" 
value={{$:/macros/Exporter/User!!limit}}>\n<span title=\"Wer\"><$edit-text 
tiddler=\"$:/status/UserName\" tag=\"input\" type=\"text\"/></span>\n<$set 
name=\"exportnum\" value={{$:/macros/Exporter/User!!limit}}>\n<$set 
name=\"exportuser\" value={{$:/status/UserName}}><br>\n<$list 
filter=<<userexport>> ><$link><<currentTiddler>></$link><br></$list>\n</$set>",
        "caption": "Export by Username",
        "limit": "13",
        "modified": "20160712210854440",
        "modifier": "JR",
        "tags": "task Inventar $:/tags/Macro $:/macros/Exporter",
        "title": "$:/macros/Exporter/User"
    },
    {
        "created": "20160712210550277",
        "creator": "Alberto Molina Pérez",
        "text": "\\define inbrackets() \n[[$(storytag)$]]\n\\end\n\\define 
tagstory() <$list filter=\"[tag[$(storytag)$]]\"> 
<$link>{{!!title}}</$link></$list>\n\nExport all Tiddlers in the Story 
<$macrocall $name=\"exportButton\" exportFilter=\"[list[$:/StoryList]]\" 
lingoBase=\"$:/language/Buttons/ExportTiddlers/\"/>\n<hr>\n{{$:/core/ui/SideBar/Open}}\n<hr>\n<set
 name=\"storytag\" value={{$:/macros/Exporter/Story!!storytag}}>\nChoose a Tag 
to export:<span title=\"Welcher Tag\"><$edit-text tag=\"input\" 
tiddler=\"$:/macros/Exporter/Story\" field=\"storytag\" 
default=\"Tag\"/></span>\n</set>\n\n<$button set=\"$:/StoryList!!list\" 
setTo=<<tagstory>> >{{$:/core/images/right-arrow}}Switch story to the Tiddlers 
tagged with {{!!storytag}}</$button>\n\n<$set name=\"storytag\" 
value={{$:/macros/Exporter/Story!!storytag}}>\n<<tagstory>>\n</$set>",
        "caption": "Export the story",
        "modified": "20160712210819657",
        "modifier": "JR",
        "storytag": "Inventar",
        "tags": "task Inventar $:/macros/Exporter",
        "title": "$:/macros/Exporter/Story Experiment"
    },
    {
        "created": "20160712101722208",
        "creator": "JR",
        "text": "Export all Tiddlers in the Story <$macrocall 
$name=\"exportButton\" exportFilter=\"[list[$:/StoryList]]\" 
lingoBase=\"$:/language/Buttons/ExportTiddlers/\"/>\n<hr>\n{{$:/core/ui/SideBar/Open}}",
        "caption": "Export the story",
        "modified": "20160712210808757",
        "modifier": "JR",
        "storytag": "Inventar",
        "tags": "task Inventar $:/macros/Exporter",
        "title": "$:/macros/Exporter/Story"
    },
    {
        "created": "20160702002458026",
        "creator": "JR",
        "text": "<<tabs \"[tag[$:/macros/Exporter]]\" 
\"$:/temp/macros/Exporter\">>\n\n",
        "caption": "{{$:/core/images/download-button}}",
        "modified": "20160712210826393",
        "modifier": "JR",
        "tags": "Inventar $:/tags/SideBar",
        "title": "$:/macros/Exporter",
        "storytag": "Inventar"
    }
]

Reply via email to