Hi Danielo

> if I open the resultant HTML file and click the download button the html
generated removes ONLY those plugins

That's because the download button in the client-server edition
specifically excludes the filesystem and tiddlywebadaptor plugins. Have a
look at the filter here:

https://github.com/Jermolene/TiddlyWiki5/blob/master/plugins%2Ftiddlywiki%2Ftiddlyweb%2Fsave-offline.tid

So you can use that same template with the rendertiddler command to save a
copy of the wiki without those plugins:

--rendertiddler $:/plugins/tiddlywiki/tiddlyweb/save/offline offline.html
text/plain

Best wishes

Jeremy.



On Mon, Dec 1, 2014 at 3:12 PM, Danielo Rodríguez <[email protected]>
wrote:

> Hello BJ,
>
> And the person who was asking that Is exactly the same :P
> From that conversation I extrac this:
>
> The following works OK for me:
>> tiddlywiki editions/tw5.com-server/  --rendertiddler
>> $:/editions/server/download-offline offline.html text/plain
>> I'd expect a blank file if the tiddler "$:/editions/server/download-offline"
>> were missing, as would happen if you attempted this command with a wiki
>> that doesn't include the tiddlywebadaptor plugin.
>
>
> but my wiki does include the mentioned plugin , why I'm getting then an
> empty wiki?
>
> {
> "plugins": [
>           "tiddlywiki/filesystem",
>   "tiddlywiki/tiddlyweb",
>           "tiddlywiki/highlight"
> ],
> "themes": [
>           "tiddlywiki/vanilla",
>           "tiddlywiki/snowwhite"
>     ],
> "includeWikis": [
>         {"path": "../core", "read-only": true}
>     ],
> "build": {
> "index": [
> "--rendertiddler","$:/core/save/all","index.html","text/plain"]
> }
> }
>
>
> It's curious to see how the human mind is someway cyclical.
>
> El lunes, 1 de diciembre de 2014 14:41:28 UTC+1, BJ escribió:
>
>> I seem to remember something similar here:
>> https://groups.google.com/forum/#!topic/tiddlywiki/jgg5nND10zA
>> cheers
>> BJ
>>
>> On Monday, December 1, 2014 5:05:19 AM UTC-6, Danielo Rodríguez wrote:
>>>
>>> Hello Jeremy,
>>>
>>> I just noticed a behavior that is probably intended but I find it
>>> curious. As I said, I have the problem that the HTML file created when
>>> rendering a wiki includes the plugins needed for working with NODE.js. BUT,
>>> if I open the resultant HTML file and click the download button the html
>>> generated removes ONLY those plugins. This is exactly what I wanted. Can
>>> this behavior be reproduced when building the wiki from node.js?
>>>
>>> Regards
>>>
>>  --
> 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 http://groups.google.com/group/tiddlywiki.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Jeremy Ruston
mailto:[email protected]

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to