I appreciate the sentiment - but as stated before*, this might be a bit
of an exaggeration...
> Have a look here how far its been developed: (actually I use it
> already all the time ;-)
I'd consider it beta quality now. (I didn't know you were actively using
it already, Wolfgang... )
All the basic features are implemented, the major holdback right now
being documentation (that's the boring part, so it might drag on for a
bit... ).
However, the included samples (master.html and slave.html) should get
you started rather quickly, so feel free to give it a try.
I'd appreciate any feedback you might have.
-- F.
* http://tinyurl.com/2ebr76
(http://groups.google.com/group/TiddlyWiki/browse_thread/thread/b602aa688c9fc2fa/a5499237ab06252d?#a5499237ab06252d)
I struggled with that decision for quite a while.
The shadow tiddler included in the backstage lead to quite some bloat,
and I saw no real value in it.
You can still display those logs by retrieving the contents of the
respective arrays (e.g. using the EvalMacro*).
I have updated the SVN repository; take a look at [[Log]] in slave.html.
> the new 'master' item in the backstage bar is an
> external link which doesn't open in a new window automatically, which
> I think, is not a good idea.
That was a conscious decision, actually. Changing this would be trivial,
but I hate when websites try to force such behavior on me (you can
always shift-click to open any link in a new tab/window - but not the
other way around).
On the other hand, it's not worth creating a config parameter/slice for,
so we should come to a satisfying solution here...
> But overall, MasterIncludesPlugin became a really solid piece of work.
> Thanks so much, FND.
There's no altruism in my work - it's all about my very own needs (and
my ego, of course)... ;)
-- F.
I could create an optional MasterIncludesPluginLogsMacroModule (MIPLMM)
though. That might work like this then:
<<MasterIncludesLog [[Imported]]>>
Would that do the trick for you?
-- F.
PS: I'll look into your backstage issue tomorrow - could you send me a
sample file (zipped, if possible)?
> That might work like this then:
> <<MasterIncludesLog [[Imported]]>>
This would generate a simple list of tiddler names:
* [[foo]]
* [[bar]]
* [[baz]]
Or did you have something else in mind?
-- F.
... or not:
http://tinyurl.com/34bgwy
(http://fnd.lewcid.org/svn/TiddlyWiki/plugins/MasterIncludesPlugin/MasterIncludesPluginLogMacro.js)
Will look into the backstage and XHR issues tomorrow. Or he day after
(that would be Thursday then... ).
-- F.
I don't believe this has anything to do with MIP (*phew*... ).
It can't replicate this error in my test file (check out the latest
version of slave.html from SVN and take a look at BackstageBugTest). I
also don't use any complex or unusual code for adding the master button
to the backstage bar.
I did, however, notice this issue in the TiddlyDesktop file you've sent
me - so it probably has something to do with one of the numerous plugins
there. Haven't you ever noticed that before (I assume you've been using
a similar configuration for a while now)?
-- F.
I had totally missed the "relative paths via HTTP" part when I first
read your response (in my defense, it was about 1 AM already... ).
That wasn't meant to be supported at that stage yet (okay, I had
forgotten about that possibility... ).
Anyway, I've done some tweaking, and it seems to work now. Could you run
some tests - preferably with both Windows- and *NIX-style path
separators ("\" and "/", respectively).
Also, the MasterIncludesLogMacro is now part of the plugin's core code.
I managed to shrink it to only a few lines of code, so it wasn't really
worth creating a separate module for anymore...
Since there are a few more fixes and various modifications, you should
probably re-download all of the files in that folder.
> Also, my example TW which I used for this trial uses systemConfigs
> with special characters. Though they show up when installed in the
> master.html - but not after being drawn into the slave there?
Sounds like an encoding issue. I'm not an expert on that, but I believe
JS always uses UTF-8 - maybe your server serves the files as ISO-8859-1,
leading to a mismatch?
Can you give me an example of such a special char (e.g. umlauts)?
-- F.
Just a quick note:
> |''MasterLocation''|http:\\vipa.awardspace.com\master.html|
I wasn't being clear about the Windows- vs. *NIX-style path separators;
these only pertain to relative paths* (e.g. "includes/master.html" or
"../TiddlyWiki/includes/master.html").
Absolute paths to online resources should always use the forward slash
(e.g. "http://foo.bar/master.html").
-- F.