What am I doing on my Christmas break? Well, I've read all the TW dev 
documentation <http://tiddlywiki.com/dev/index.html> as well as all of the 
code in *boot.js *(plus some of the core code as I was trying to figure 
various things out). And now I have successfully taken my ATOM feed code 
and made it into a plugin. I have also "parameterized" more of it, so it is 
not quite as hardcoded as it was before. You can check it out here: 
https://github.com/dullroar/TW5-atomfeed. The readme should help explain 
most of it.

<https://github.com/dullroar/TW5-atomfeed>Comments appreciated.

Jeremy, one thing that caused me some headaches are the instructions at 
http://tiddlywiki.com/dev/index.html#Developing%20plugins%20using%20Node.js%20and%20GitHub.
 
I tried to "namespace" it per the instructions, i.e., 
*plugins/dullroar/atomfeed*, but *boot.js *didn't like that because it is 
looking for *plugin.info *in each child directory directly under *plugins *and 
doesn't seem to recurse any deeper than that, so it would throw an 
exception in *loadPluginFolder *at this line:

var pluginInfo = JSON.parse(fs.readFileSync(filepath + path.sep + "
plugin.info","utf8"));

...because it couldn't find *plugin.info *in *plugins/dullroar*. So I ended 
up just moving the *atomfeed *folder "up one" to *plugins/atomfeed*. What 
was I doing wrong?

-- 
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