TW5 Import function (5.1.15+) hta

175 de afișări
Accesați primul mesaj necitit

Chris

necitită,
13 sept. 2018, 10:18:5213.09.2018
– TiddlyWiki
I keep my files in *.hta, and ever since 5.1.15 I have not been able import ( both button & drag-n-drop ) without the red screen error ( object assign ).

My two questions . . .

Is the import function disabled in these versions ( either in general or particular to hta )?

If it is just hta any possible workarounds/solutions?

I have not been able to locate a previous question related to this.

Thanks.

TonyM

necitită,
13 sept. 2018, 20:11:1013.09.2018
– TiddlyWiki
Chris,

No answer, but some info.

Given htas link to microsoft have you tried the html version in internet explorer? See if your drag and drop still works.

I believe the hta approach to tiddlywiki is somewhat neglected.

Also, I have renamed html wikis to .aspx and ran them on sharepoint.

I know its not helpfull, but it possibly will allow drag and drop by renaming to html

Also have you considered using other access methods to tiddlywiki?

Tony

Chris

necitită,
14 sept. 2018, 18:09:0714.09.2018
– TiddlyWiki
hta is best option where I have been using it. It allows saving without a lot of hassle.

TonyM

necitită,
16 sept. 2018, 19:42:4016.09.2018
– tiddl...@googlegroups.com
Chris,

Edited: Attach Error Message

I have replicated this problem myself. I would be nice to resolve this. I expect the problems is a result of changes in the save process with the strengthening of browser standards.

Since we faced these changes a lot of new alternatives for saving are now available, if you can use chrome or Firefox we now have Timimi https://groups.google.com/forum/?hl=en#!searchin/tiddlywiki/timimi%7Csort:date/tiddlywiki/GErjqpdhezk/Ax4hEh4XBgAJ perhaps even easier to use than the old tiddllyfox.

Once you install something locally ONCE on linux/mac/windows 
You then install ONCE on your browser the New add on Timimi will automatically allow saving on all file://  based tiddlywikis.

If you rename your exiting wikis from hta to HTML you will be able to access them and drag and drop content.

With this work around available we need to collect some trouble shooting information to see if we can have the HTA method working again.

Regards
Tony
2018-09-17_9-45-38.png

Chris

necitită,
20 sept. 2018, 17:09:4920.09.2018
– TiddlyWiki
Nice suggestions, but for sake of this question let's say there limitations and hta sidesteps those.

Actually after some further research ( i.e. found right search keyword ), the issue is with IE ( hta is just application extension ). Under the StackOverflow question "method 'assign' not supported in IE, what to do" ( typing from cell, so too hard to type link ) . . . well title says it all. The post purposes possible workarounds, but how to create a patch to utilize that knowledge is way outside my skill set.

TonyM

necitită,
20 sept. 2018, 19:48:0420.09.2018
– TiddlyWiki
Chris,

Perhaps share the link to the post. We may not yet have a solution but if we collect what we can about the issue someone may find a solution.

Regards
Tony

@TiddlyTweeter

necitită,
21 sept. 2018, 04:53:4021.09.2018
– TiddlyWiki
Ciao TonyM

A broad question related to .HTA & .ASPX etc.

I think, in the past, .HTA was a very neat method on saving. But my question is, is it viable now? I don't mean "does it work" or "can I get it work again if its not working." What I mean is, is it still a supported standard? What browsers does it work in? How well do they cope rendering modern TW? Something like that.

Best wishes
Josiah

Jeremy Ruston

necitită,
21 sept. 2018, 05:59:4521.09.2018
– TiddlyWiki
Hi Chris
*.HTA files are handled by Internet Explorer (I don't think they are supported by the newer Microsoft Edge browser). They are one of the recommended ways of using TiddlyWiki 5 with Internet Explorer 11.

Internet Explorer only supports an elderly subset of modern JavaScript, but the TiddlyWiki 5 core code intentionally restricts itself to that subset in order to be able to run on as many browsers as possible.

The problem here is that a fragment of incompatible code has crept in: an Object.assign() call during the drag and drop processing. I've fixed it for 5.1.18 in this commit:


I've made a new build of the prerelease for you to try it out:


Note that the prerelease defaults to the "zoomin" story view, but you can override that.

Best wishes

Jeremy.







TonyM

necitită,
21 sept. 2018, 09:34:5521.09.2018
– TiddlyWiki
Josiah,

As I understand it a html file renamed hta is treated somewhat like a local application. A bit like save to desktop in chrome. When opened it uses the browser engin of internet explorer to render the tiddlywiki but without all the browser "chrome" tabs menus etc. Because it is a local application it can save given some of tiddlywikis save code.

Jeremy. Of course has replyed with a fix I have not tested yet.

I have not looked at comitting to hta's as a viable tiddlywiki distribution method because its competitors usualy have multi os solutions but in the windows environment it could be very helpful. I am a little concerned it will continue to be supported as microsoft seem not to refer to it much.

Perhaps it is time to revisit it.

On aspx files that relates to delivering wikis on sharepoint, perhaps even "one drive". There is a short discussion in yammer sharepoint on this.

Regards
Tony

TonyM

necitită,
21 sept. 2018, 10:11:1921.09.2018
– TiddlyWiki
Jeremy,

I just tested dragging tiddlers/plugins to a hta version of the pre-release.

The import opens with untitled and the imported tiddlers simply have the tiddler title only contained within them.

Regards
Tony

Jeremy Ruston

necitită,
21 sept. 2018, 10:28:4821.09.2018
– tiddl...@googlegroups.com
Hi Tony

I just tested dragging tiddlers/plugins to a hta version of the pre-release.

In my tests, drag and drop doesn’t work in TW5 as an HTA on Windows 10. I think it’s a limitation of the HTA format.

But in any case, that’s not the scenario that was causing Chris problems. The OP was that opening https://tiddlywiki.com/upgrade in Internet Explorer 11 and attempting to upgrade an HTA file fails. In fact, it fails regardless of whether the file is an HTA or an HTML. The fixed version at https://tiddlywiki.com/prerelease/upgrade works OK.

Best wishes

Jeremy.


@TiddlyTweeter

necitită,
21 sept. 2018, 10:31:3621.09.2018
– TiddlyWiki
Ciao TonyM

As far as i understand it Microsoft are no longer developing *.HTA. It basically works in Windows Explorer. Full stop.

TonyM wrote:
... I am a little concerned it will continue to be supported as microsoft seem not to refer to it much.

TonyM

necitită,
21 sept. 2018, 10:45:2421.09.2018
– TiddlyWiki
Jeremy,

I am not sure why things have Changed but imports and drag and drop from FILES are NOW working to a hta hosted file on the pre-release.

The only issue remaining is dropping tiddlers on the hta window, however import works.

Thanks
Tony
Răspundeți tuturor
Răspundeți autorului
Redirecționați
0 mesaje noi