title: $:/NoteSelf/save/download
\define saveTiddlerFilter()[[$:/core]] [[$:/isEncrypted]] [[$:/plugins/danielo515/tiddlypouch]] [[$:/themes/tiddlywiki/snowwhite]] [tag[$:/default-config]] [[$:/themes/tiddlywiki/vanilla]] -[[$:/boot/boot.css]] -[type[application/javascript]library[yes]] -[[$:/boot/boot.js]] -[[$:/boot/bootprefix.js]] -[prefix[$:/config/]] +[sort[title]]\end\define savingEmpty()yes\end{{$:/core/templates/tiddlywiki5.html}}
--
You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywikide...@googlegroups.com.
To post to this group, send email to tiddly...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywikidev/b61342ca-b682-4430-ae80-8c76b18dbe8d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Danielo> I just added some tiddlers with the tag $:/core/wiki/rawmarkup to one of mu plugins. If I run the wiki from node it works perfectly, no issues, no problems, the tiddlers are being included in the head section.I guess you mean running the wiki via the --server command? Can you show the complete command line you are using?
> But if I built the wiki using the build command, those tiddlers are not being included on the resulting wiki, which produces big errors on my plugin.Can you show the complete build command that you are using, and the relevant section of your tiddlywiki.info file?
"build": { "index": [ "--rendertiddler","$:/NoteSelf/save/deploy","index.html","text/plain"], "OnlineDemo": [ "--rendertiddler","$:/NoteSelf/save/download","online.html","text/plain"]
}
$ TIDDLYWIKI_PLUGIN_PATH="/h/My Dropbox/tiddlywiki/plugins/danielo515/tiddlypouchPlugin/master/src/plugins" tiddlywiki ./wiki --verbose --build
Boot log: Startup task: load-modules Startup task: info after: load-modules before: startup Startup task: startup after: load-modules Startup task: story after: startup Startup task: commands platforms: node after: storyExecuting command: buildExecuting command: rendertiddler ReadMe readme.md text/htmlExecuting command: rendertiddler License license.md text/htmlExecuting command: savetiddler $:/favicon.ico favicon.icoExecuting command: rendertiddler $:/core/save/all online.html text/plainExecuting command: rendertiddler $:/NoteSelf/save/deploy index.html text/plain
"OnlineDemo": [ "--rendertiddler","$:/core/save/all","online.html","text/plain"],
Yes running it via the --server command works flawlessly.
--
You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywikide...@googlegroups.com.
To post to this group, send email to tiddly...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywikidev/312885e1-b60c-4aa2-be18-a04e04639088%40googlegroups.com.
Hi DanieloYes running it via the --server command works flawlessly.Are you using any parameters with the --server command? If not, it will use the default template ($:/core/save/all), and not your custom save template.
"args": [ "--verbose", "--server", "8087", "$:/core/save/all", "text/plain", "text/html"]
\define saveTiddlerFilter()[is[tiddler]] -[prefix[$:/state/popup/]] -[[$:/HistoryList]] -[prefix[$:/config/]] -[[$:/boot/boot.css]] -[type[application/javascript]library[yes]] -[[$:/boot/boot.js]] -[[$:/boot/bootprefix.js]] +[sort[title]] $(publishFilter)$\end{{$:/core/templates/tiddlywiki5.html}}
/plugin-folder
|_demo_wiki
/Other_wiki
|_wiki
--
You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywikide...@googlegroups.com.
To post to this group, send email to tiddly...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywikidev/494a2a1a-b351-4c52-8040-a619530e98f3%40googlegroups.com.
Hi Danielo
Are the $:/tags/RawMarkup tiddlers shadow tiddlers within $:/plugins/danielo515/tiddlypouch plugin?
What happens if you move them into the wiki, so that they are no longer shadow tiddlers?
At the point that you are running the --build command, is the $:/plugins/danielo515/tiddlypouch plugin properly loaded? Or rather, is the plugin loaded in the usual way via tiddlywiki.info?
$./config/Plugins/Disabled/$:/plugins/danielo515/tiddlypouch: yes
$./config/Plugins/Disabled/$:/plugins/danielo515/tiddlypouch: yes
What exactly does (not) happen to a disabled plugin? If disabling prevents unpacking plugin tiddlers, including shadows then there's little wonder why your packaged tiddlers tagged $:/core/wiki/rawmarkup would not take any effect. You probably have to distribute them separately.
Best wishes,Tobias.
--
You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywikide...@googlegroups.com.
To post to this group, send email to tiddly...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywikidev/cd19c658-4dc0-46cf-9906-f8a24f2975dd%40googlegroups.com.
If you read my answer above you can see that is what I said:they are not being unpacked, and they are not accessible for the filters.
I find odd to be forced to distribute parts of a single plugin as separate plugins just for this reason. Implementing the solution proposed by BG fixes this situation. You should be pretty familiar with his code because there are a bunch of comments from you on his commit proposal :D
As I said, this is a real problem. The good part about it is that the solution exists already, it's just a matter of making it official
--
You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywikide...@googlegroups.com.
To post to this group, send email to tiddly...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywikidev/ef2a5bc5-d3ce-4e4e-8fcc-1144902583bb%40googlegroups.com.
Does that all make sense?
I would strongly recommend a different approach: wrapping "pouchdb-5.4.5.min.js” up as an ordinary TiddlyWiki module tiddler, and allowing it to be executed by TiddlyWiki’s module loader in the usual way. Taking this approach allows you to use the same plugin consistently in the browser and under Node.js, and avoids the problems with $:/tags/RawMarkup (which is only intended as a hack, anyway).
Why is $:/core/wiki/rawmarkup old and deprecated?
It is encouraged on developer edition of tiddlywiki
--
You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywikide...@googlegroups.com.
To post to this group, send email to tiddly...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywikidev/ffea284a-e625-4262-87f7-0efed62aaf05%40googlegroups.com.