Saving from Web

20 views
Skip to first unread message

Niklas Wagner

unread,
Dec 18, 2008, 8:26:47 AM12/18/08
to TiddlyWiki
When I save a Tiddlywiki throug Fire Fox: File - Save as on my
hardrive it always says the following when i open it:


It appears that this TiddlyWiki has been incorrectly saved. Please see
http://www.tiddlywiki.com/#DownloadSoftware for details.


What to do? Everything works normal after clicking ok but it annoys.

Niklas Wagner

unread,
Dec 18, 2008, 8:28:34 AM12/18/08
to TiddlyWiki
I mean when I save a file from the web like http://www.tiddlytools.com/TW+ImportExport.html
like this.

FND

unread,
Dec 18, 2008, 8:34:46 AM12/18/08
to Tiddl...@googlegroups.com
> When I save a Tiddlywiki throug Fire Fox: File - Save as [...]

You're not meant to download TiddlyWiki documents like that:
http://www.tiddlywiki.org/wiki/TiddlyWiki_has_been_incorrectly_saved

This is a common source of confusion, which is why we've revamped the
download dialog on TiddlyWiki.com:
http://www.tiddlywiki.com/#Download

HTH.


-- F.

Eric Shulman

unread,
Dec 18, 2008, 8:50:39 AM12/18/08
to TiddlyWiki
> When I save a Tiddlywiki throug Fire Fox: File - Save as    on my
> hardrive it always says the following when i open it:

You must *never* use the browser's File>Save as... command to save a
TiddlyWiki document. This is because the browser does *not* save the
original document source as *read* from the stored file, but rather a
re-generated version of the document source based on what is currently
loaded into the browser.... and, because all TiddlyWiki document
content is being dynamically-rendered after loading the file, the
browser's version of the document source is different from the actual
stored file.

To properly save a *local* TiddlyWiki document, you *must* use the
"save changes" command in the sidebar.

To properly download a *remote* TiddlyWiki document: starting from a
link to the URL, *right*-click on that URL and use the "Save Target
as..." command... this directly downloads and stores an exact copy of
the document on your local system, without any intervening re-
interpretation by the browser.

Javascript is an interpreted language; as such, errors in the code
are not reported until that piece of code is actually invoked. Thus,
the 'fact' that your document seems to be working OK after dismissing
the message box is an illusion... your document was *not* correctly
saved and the TW core code in the file *has* been munged up. As a
consequence, even though you might not have encountered any errors
yet, you may still get a potentially fatal error when a damaged part
of the TW source code is called.

Note: for the specific file in question (TiddlyTools' TW
+ImportExport.html), you can also go to:
http://www.TiddlyTools.com/#Download
and then *left*-click on the link there. Those links have been
specially prepared to use a server-side script (download.php) that
automatically downloads the file instead of viewing in your browser.

enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios

Niklas Wagner

unread,
Dec 18, 2008, 9:30:13 AM12/18/08
to TiddlyWiki
Thank you both for the fast Answers.

Eric you schould put your explanation about how to download a remote
wiki through "save target as" on

http://www.tiddlywiki.org/wiki/TiddlyWiki_has_been_incorrectly_saved
Reply all
Reply to author
Forward
0 new messages