I originally, accidently posted this to TiddlyWeb forum...obviously it should be here -
Hi All In the interest of keeping things light on the loading side (and minimize duplication in the myriads of TW that keep populating my laptop) I often use MasterIncludesPlugin so that the plugins are all stored in a sepearte file.....very handy when working locally. When I try this from my server......its does not work. I have just found that even when the MasterIncludesPlugin scheme is used in from a Dropbox file..... when I open a TW as a local file in my Dropbox...it opens up fine. When I open the same file using its URL (in this case its in the Public dropbox folder)........ blanck page!!!!!! When I open it using its URL, and with Firebug activated what I get is an error in the MasterIncludePlugin.js file (which is supposed to be loading the plugins) - the error message is " getXMLHttpRequest is not defined ", and the line 126 "var XHR = getXMLHttpRequest();" Anyone with good javascript able to tell me whats happening...and more importantly how to fix it? Its rather frustrating...MasterIncludes is a great Plugin...but only works locally!!!! Thanks Skye ---------------------- and FND replied - I believe this issue should be discussed on [twdev]. > When I try [ MasterIncludesPlugin] from my server its does not work. Looking at that ancient code of mine, I'm of course[1] rather embarrassed. While I no longer maintain MIP, anyone is welcome to patch it or take over maintainership. Looks like the `getRemoteData` function needs to be rewritten - though that would mean making it asynchronous, which could have big implications... -- F. [1] http://hackerne.ws/item?id=1843850 ------------------------------ So now the question is....Is anyone interested to look into this question. I find MasterIncludes very handy. For example in my courses, the "information sheets" are individual TWs using the same format and, more importantly the same plugins.....so in Dropbox I can have one copy of the pluginins and then dozens of eficient TWs full of data...that pull in the plugins from MasterIncludes.........saves duplicating all those plugins dozens and dozens of times....... When done through Dropbox all this works superbly.... but I sometimes want to put those information sheet on my server....and now masterIncludes doesn´t work....so I have to have the plugins duplocated on my server inside every TW...and obviously the TWS get bigger and slower to open up...over http...... SO.....its a great Plugin !!! Anyone with energy to help is work over http as well??? Thanks in advance Skye -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/tiddlywikidev?hl=en.
