i'm looking to get a tiddlywiki2 plugin developed/upgraded/patched.
i have tried getting the original developers to help me out. but, in once case the guy helped me out *a lot*, but eventually lost interest. in the other case i just couldn't reach him via email.
thanks in advance. before i lay my case, i'd like to ask you not to asume that my relative lack of javascript skills represents an ignorance of options. the advocacy of a *favorite* solution without adequate consideration to the way my circumstances shape my methods and workflow is very non-productive. said circumstances are way beyond the scope of this request, but i'll elaborate on them at length if you feel it will help you help me. i'm not too interested in this request becoming a starting point for inbred bikeshedding discourses.
**here's the scenario:
-i need to get some external files into tiddlywiki.
-the external files in question are source files, so i need them syntax highlighted.
-i need the external files to display both locally and when hosted on a website.
-i'm uploading the website (tiddlywiki and external files) using lftp and it's rsync-like "mirror" option.
i *do not* plan on using tiddlywiki itself to edit/upload/refresh/upkeep the external files. the original source files will be edited using emacs/vim/gedit, and then automatically copied with a cron job to the tiddlywiki directory, and then finally pushed through ftp each time i get a chance to refresh the website (i will be working in remote, no-connectivity locations for months on end).
**what works:
syntax highlighting is working excellently thanks to mario pietsch's "SyntaxHighlighterPlugin3
" http://syntaxhighlighter.tiddlyspace.com/#SyntaxHighlighterPlugin3
**what semi-works:
1.-eric shulman's "external tiddlers" plugin http://www.tiddlytools.com/#ExternalTiddlersPlugin2.-mario pietsch's "load external files" plugin
https://github.com/pmario/tw2.plugin-dev-template-node/tree/master/testseric shulman's "external tiddlers" plugin loads the external files on demand, so it doesn't work with
mario pietsch's "SyntaxHighlighterPlugin3
", which ignores highlight-able content that isn't loaded from the start.
mario pietsch's "load external files" plugin works well, because it loads the files as shadow tiddlers straight from the get-go.
**the problem:
as far as i understand, mario pietsch's "load external files" plugin uses the "local file api", or something to that effect. this prevents it from working when tiddlywiki (and the related external files) are hosted remotely in a web server.
**the probable solution(s):
a)make a hybrid plugin that loads external files as shadow tiddlers
----using local file api when tiddlywiki is "running" locally, and
----using erich shulman's method when tiddlywiki is being hosted/served
b)modify "SyntaxHighlighterPlugin3
" to work with external files loaded "on demand" (such as with eric shulman's "external tiddlers" plugin)
again, much thanks in advance.
-carlos