The Omni Group
These forums are now read-only. Please visit our new forums to participate in discussion. A new account will be required to post in the new forums. For more info on the switch, see this post. Thank you!

Go Back   The Omni Group Forums > OmniWeb > OmniWeb Bug Reports
FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
OmniWeb insists on saving plain-text files as web archives Thread Tools Search this Thread Display Modes
Quote:
Originally Posted by Forrest
XHTML for one.
XHTML is identical to HTML; it just has stricter semantics.

Quote:
Originally Posted by Forrest
Pages can also be completely comprised of JavaScript too, though that should be avoided.
No, you can't have a web page that's pure JavaScript. If I understand you correctly, you're talking about a case where JavaScript code generates the entire body of an HTML file programmatically. But in this case, you still need an HTML file to encapsulate the JavaScript. So it's still a standard HTML file, not some special JavaScript-only format.

Quote:
Originally Posted by Forrest
Flash is another one. If it's saved just as the swf, it can be missing linked files which is one of the advantages of a webarchive.
SWF files are just SWF files. They might have hyperlinks in them, but they're still self-contained. There's no point in saving them as a WebArchive.

Now, if an HTML file happens to have an SWF embedded in it, then yes, that's the advantage of WebArchives: to keep media files together with their HTML containers. But that's the opposite of the case above. And it's still an HTML file.

Quote:
Originally Posted by Forrest
SMIL is another than can be, though typically requires a plugin and that should really be embedded in HTML, but isn't always.
If a media file (SMIL, QuickTime, SVG, whatever) is embedded within an HTML file, then it's still an HTML file. In that case, yes, it should be saved as a WebArchive, since that's why WebArchive was invented: to put an HTML and its linked media files into one package. But if you're viewing any of these media files by themselves, then there's no reason to put them into a WebArchive file.
 
vocaro, I have been trying to help you refine what it is you're asking. For each of the above examples I cited, I thought of a specific instance where each of them would have been applicable as a webarchive. At this point, you clearly don't know what you're talking about. Some of the statements you've made are just plain false. I was trying to help, but I'm not going to argue with you about this stuff.
 
There are swf files that are not self-contained. There can be .mov files that are not self-contained. Arbitrary plugins can fetch arbitrary files--it's part of the plugin API. The webarchive mechanism allows us to save any files that were used in the display of the current content so if we have fetched multiple files, we prefer saving as a webarchive.

The underlying problem here is that the attempted fetch of the favicon is being added as a subresource of the text page--the fetch fails, but the server included alternate content which is added as a subresource. To see this yourself, open up the page info (Command-I).

What we need to do is either prevent the favicon from being considered a resource of the current page, or to exclude it when it is the only subresource.
 
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pasting in Plain Text srd OmniOutliner 3 for Mac 4 2014-01-27 01:36 PM
Paste Plain Text? robboyd OmniOutliner 3 for Mac 1 2010-09-16 02:35 PM
Are archives worth saving for years on end? (How to view them yearly?) HappyDude OmniFocus 1 for Mac 4 2010-06-17 01:28 AM
Copy as Plain Text? seth OmniWeb General 5 2008-11-24 05:44 AM
plain text export mikejt OmniOutliner 3 for Mac 2 2007-07-16 12:50 PM


All times are GMT -8. The time now is 04:33 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.