Hello,
I would like to use Twitter for commenting on individual tiddlers. The idea is that each tiddler has a Tweet button that's pre-populated with hashtags of the wiki name and the tiddler's name, and then uses Twitter's embedded search to show tweets tagged with that tiddler, preferably hiding it if there aren't any.
This is what I have right now. Obviously, it would be better for this to dynamically get the wiki name and URL, but I don't know how to do that.
\define post_comment(name)
\end
\define view_comments(name)
\end
<$macrocall $name="post_comment" name=<<currentTiddler>>/>
<$macrocall $name="view_comments" name=<<currentTiddler>>/>
However, this doesn't work, because embedded JS is disallowed. It seems like I should make a plugin for this, but doing so is dizzying complicated for a newbie. (Indeed, a lot of the technical choices become immensely frustrating as soon as you go a little bit past the use-case). For a while, I was hoping to use a previous version of TiddlyWiki where embedded javascript seems to be allowed, but then the saving functions don't seem to work with TiddlySpot...
Could anyone help me with this?