Hi, Many thanks for the pointers and the precise information about the plugin library generation and ideas around export as plugin.
> What are you currently using as the fields of the plugin tiddler? The data tiddler $:/plugins/chris2fr/asplugin/config is « unshadowed » with local configuration. > The upgrade mechanism relies on the version number being bumped on each > revision. I versioning the wiki-plugins 0.0.<<now YYYY0MM0DD0hh0mm>>. > The plugin library is represented as an HTML file that TW loads in an iframe, > and then communicates with using window.postMessage(). I am being really lazy here perhaps, but how do I construct recipes/library/tiddlers.json and "recipes/library/tiddlers/" + encodeURIComponent(title) + ".json »? > >> PlugOut would be a repository, even on a local filesystem, that would act as >> a library for Plugins. > > The obstacle here is that Chrome doesn’t let files loaded on a file:// URI > perform any xmlhttprequest() to other file:// URIs. Good to know. The file:// use is somewhat iffy anyway. > My warning would be that the entire approach to implementing the plugin > library was shaped by the browser security restrictions. I’d recommend > careful testing before you rely on a browser capability actually working in > the right scenarios. Improvement ideas: * Get the last part of ‘title’ from the URL (hence not needing any configuration) * Have a front-end for the configuration instead of that data tiddler (and perhaps put the data tiddler directly in the Control Panel while we wait) * Have a « push-to-library » function (will need a server) * Use the internal plugin-maker, if I can > Good luck, Thank you, Christopher -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/08869D7D-F53A-4B0A-B8DF-1239BE63FC50%40mann.fr. For more options, visit https://groups.google.com/d/optout.

