Sorry Jeremy I think I had my topics confused. I meant the importing of HTA files as in this ticket https://github.com/Jermolene/TiddlyWiki5/issues/513
Thanks, James On Wednesday, 2 April 2014 03:59:17 UTC+9, Jeremy Ruston wrote: > > Hi James > > I've beaten you to it, I'm afraid - the link is to the commit containing > the fix: > > > https://github.com/Jermolene/TiddlyWiki5/commit/09214d1c33db8f69d3ef81f85fc02907227b189d > > Best wishes > > Jeremy > > > > On Tue, Apr 1, 2014 at 7:39 PM, James Anderson > <[email protected]<javascript:> > > wrote: > >> Hello Jeremy, >> >> I was thinking of giving this ticket a go myself. What file/function >> should I be looking at to get started. Is it the same as dragging and >> dropping a file into the browser? >> >> Thanks, >> >> James >> >> >> On Monday, 31 March 2014 20:48:03 UTC+9, Jeremy Ruston wrote: >> >>> Hi James >>> >>> The problem was that the --load command was incorrectly loading the >>> older version of `$:/core` from the HTML file. It's fixed here for 5.0.9: >>> >>> https://github.com/Jermolene/TiddlyWiki5/commit/ >>> 09214d1c33db8f69d3ef81f85fc02907227b189d >>> >>> Many thanks, >>> >>> Jeremy >>> >>> >>> >>> On Mon, Mar 31, 2014 at 10:43 AM, Jeremy Ruston <[email protected]>wrote: >>> >>>> Hi James >>>> >>>> Thanks, I can confirm that I'm seeing the same symptoms. I'll >>>> investigate and report back, >>>> >>>> Best wishes >>>> >>>> Jeremy >>>> >>>> >>>> >>>> On Sun, Mar 30, 2014 at 11:45 PM, James Anderson <[email protected] >>>> > wrote: >>>> >>>>> Hi Jeremy, >>>>> >>>>> I was testing using an empty TW downloaded from tiddlywiki.com with >>>>> one tiddler added to it. I tried again with the command below and still >>>>> no >>>>> luck >>>>> >>>>> P:\github\TiddlyWiki5\editions>tiddlywiki ./empty --load >>>>> ..\empty_test.html --rendertiddler $:/core/save/all ..\test.html >>>>> text/plain >>>>> >>>>> This is using an unchanged cloned repo of Jermolene/TiddlyWiki5 and >>>>> nodejs linked to that. I have attached the output, you cans see in the >>>>> storeArea that "this is a new tiddler" has been added. >>>>> >>>>> empty_test.html was saved using chrome, might this make a difference? >>>>> >>>>> Thanks! >>>>> James >>>>> >>>>> On Monday, 31 March 2014 06:09:07 UTC+9, Jeremy Ruston wrote: >>>>> >>>>>> Hi James >>>>>> >>>>>> > It seems that everything inside of <div class="tw-dropzone"></div> >>>>>> is missing. Any hints as to what I am doing wrong? >>>>>> >>>>>> I tried your same command on an empty wiki, importing index.html from >>>>>> tiddlywiki.com. It worked OK for me, but there could perhaps be >>>>>> something about your original wiki that is causing problems. >>>>>> >>>>>> > As second question is that if I try to use --load with a HTA file >>>>>> It doesn't import it in the same way. I guess that this is due to the >>>>>> changed encoding as simply renaming the file does not work either, would >>>>>> it >>>>>> be possible to change tiddlywiki to import UTF16 file too? >>>>>> >>>>>> TiddlyWiki needs to be configured to treat .HTA files the same as >>>>>> HTML files to fix this. I've added a ticket for it: >>>>>> >>>>>> https://github.com/Jermolene/TiddlyWiki5/issues/513 >>>>>> >>>>>> Best wishes >>>>>> >>>>>> Jeremy >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> On Sun, Mar 30, 2014 at 9:32 PM, James Anderson < >>>>>> [email protected]> wrote: >>>>>> >>>>>>> I have been trying to set up a workflow for Windows where by I can >>>>>>> edit via a HTA then run a script using my twexe plugin to publish the >>>>>>> page >>>>>>> as HTML (stripping out all the windows specific hta stuff if possible) >>>>>>> >>>>>>> The command below seems to work as far as adding the data to tiddler >>>>>>> goes (the storeArea has all the data in it), but it renders as a blank >>>>>>> page >>>>>>> when I try to open test.html >>>>>>> >>>>>>> tiddlywiki ./editions/empty --load ../somedir/index.html >>>>>>> --rendertiddler $:/core/save/all test.html text/plain >>>>>>> >>>>>>> It seems that everything inside of <div class="tw-dropzone"></div> >>>>>>> is missing. Any hints as to what I am doing wrong? >>>>>>> >>>>>>> As second question is that if I try to use --load with a HTA file It >>>>>>> doesn't import it in the same way. I guess that this is due to the >>>>>>> changed >>>>>>> encoding as simply renaming the file does not work either, would it be >>>>>>> possible to change tiddlywiki to import UTF16 file too? >>>>>>> >>>>>>> And thirdly, I am doing most of this just to make editing and saving >>>>>>> as hassle free as possible (I am primarily a chrome/windows user). If >>>>>>> anyone has any tips on creating better workflows I am open to >>>>>>> suggestions. >>>>>>> >>>>>>> Thanks, >>>>>>> >>>>>>> James >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> You received this message because you are subscribed to the Google >>>>>>> Groups "TiddlyWikiDev" group. >>>>>>> To unsubscribe from this group and stop receiving emails from it, >>>>>>> send an email to [email protected]. >>>>>>> To post to this group, send email to [email protected]. >>>>>>> >>>>>>> Visit this group at http://groups.google.com/group/tiddlywikidev. >>>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Jeremy Ruston >>>>>> mailto:[email protected] >>>>>> >>>>> >>>> >>>> >>>> -- >>>> Jeremy Ruston >>>> mailto:[email protected] >>>> >>> >>> >>> >>> -- >>> Jeremy Ruston >>> mailto:[email protected] >>> >> > > > -- > Jeremy Ruston > mailto:[email protected] <javascript:> > -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/tiddlywikidev. For more options, visit https://groups.google.com/d/optout.
