LoadTiddlers in Opera?

36 views
Skip to first unread message

skye riquelme

unread,
Sep 22, 2011, 11:34:50 AM9/22/11
to TiddlyWiki
Hi All

Been playing around with the Opera Browser (v. 11.51) on a laptop
running windows Vista, and using TW (2.6.1)......and have a complex
set of TWS that load tiddlers between themselves......

In FF (4.01) the system works exactly as designed.....but in Opera no.
One of the main problems seems to be that Erics LoadTiddlers plugin
is not recognising tiddlers in other TWs. It gives the usual
message...."opening...., reading ..bytes, found...tiddlers....."...all
correct and then says "Loaded 0 of...tiddlers". It is seeing the
tiddlers that need to be loaded, but not loading them. Note that the
message oftem says "reading 4 bytes" ---- seems a rather small
number!!!!

As explained...when I open the exact same TW in FF4...the loadplugin
loads the tiddlers correctly!!!

Why does loadTiddlersPlugin, not work in Opera?

I quite like Opera...and considering the unsolved problems in FF (%
and onwards) I am thinking of moving to Opera.....but it seems to have
some problems as well.

Guess I am starting to wonder if TW has a future...seems it has
problems no matter which modern browser I use!!!

Help
Thanks
Skye

Yakov

unread,
Sep 24, 2011, 7:32:40 AM9/24/11
to TiddlyWiki
Sounds interesting. I've already figured out one problem with Opera
and plugins that load smth from out of the TW file and that was a
problem with XMLHttpRequest. Opera blocks it by default when it is
used for local files; after unblocking it in the
opera:config#UserPrefs|AllowFileXMLHttpRequest page everything went
right. So this was an Opera security measure, not the TW problem.

As for this case I can see that loadFile TW core function is used and
this should be the same problem as in MasterIncludesPlugin. However, I
haven't done the tracking for this case, so I can't say what's the
source of the problem (as for now).

I'll bookmark this and report when I return to this issue.
Unfortunately, it's unlikely that I'll do it in the nearest future.

As for the TW future, I wouldn't be so critical. TW is evolving; while
the work and tools within TW are established quite well, the
interaction between TWs in local file system seems to be in a rather
early stage. There are several plugins (Eric's ImportExportPackage,
Udo's IncludePlugin, FND's MasterIncludesPlugin), but as for now I
haven't managed any of them to work in Opera and it also seems that
there's not much understanding what are the main purposes of such
plugins, what tools are missing and how the local TW net should be
organized. I do need this TW net thing also, so now I'm figuring the
main points of it and digging into the coding things -- these "local
TW net" things are not that much in demand so I woudn't passively
wait.

On the other hand, loadFile is a core function so it's unpleasant that
(presumably) it doesn't work properly in Opera, but most developers
don't work with Opera as it's not that widely used, so I think we
should provide some more details first. Do you have any coding skills?

Doug Denby

unread,
Sep 26, 2011, 10:44:52 PM9/26/11
to tiddl...@googlegroups.com
I have been trying to figure out how to use the loadTiddlers macro to load a single tiddler and then immediately display that tiddler.

The goal is to have a standard tiddler macro like <<command tiddlerName>> that would display the tiddlerName in a standard wikified tiddler name manner and then when it is clicked to use LoadTiddlers to reach out to another html local file and retrieve the tiddler named tiddlerName and immediately display it, as if it had been a tiddler in the original file.


Looking for help here.

Doug

Yakov

unread,
Sep 28, 2011, 11:21:27 AM9/28/11
to TiddlyWiki
Ok, one more success. Today I wanted to practice debugging but instead
figured that IncludePlugin now works for me in Opera. I changed the
opera:config#UserPrefs|AllowFileXMLHttpRequest option to "false" and
than the plugin stopped to work, like it was before. So in Opera, if
some interaction with file system doesn't work for you, checking the
opera:config#UserPrefs|AllowFileXMLHttpRequest option is the first
step to try.

On the other hand, MasterIncludesPlugin still doesn't work for me, so
probably LoadTiddlersPlugin won't as well.

***

> I have been trying to figure out how to use the loadTiddlers macro to load a single tiddler and then immediately display that tiddler.
>
> The goal is to have a standard tiddler macro like <<command tiddlerName>> that would display the tiddlerName in a standard wikified tiddler name manner and then when it is clicked to use LoadTiddlers to reach out to another html local file and retrieve the tiddler named tiddlerName and immediately display it, as if it had been a tiddler in the original file.

I didn't get it: do you want to have just a <<tiddler tiddlerName>>
with auto-loading at each display time? If so, it seems that just

<<tiddler tiddlerName>><<loadTiddlers ...>>

would be enough; althogh, I haven't used LoadTiddlersPlugin, so you'd
better ask in a new thread since it's not likely that Eric will read
new posts here.

skye riquelme

unread,
Sep 28, 2011, 10:38:48 PM9/28/11
to TiddlyWiki
Hi Yakoz

Thanks........chaged the AllowFileXMLHttpRequest config....and now it
seems to be working perfectly. Interesting in that previously
MasterIncludesPlugin was working, but loadTiddlers not...now they both
seem to be functioning...will test further...but its looking good !!!

Thanks

Skye
Reply all
Reply to author
Forward
0 new messages