Click to See Complete Forum and Search --> : crunched up html source?
i downloaded a webpage and when i view the source, it is all crunched up with funny characters in between.
How can i restore the source into manageable and readable format without the funny characters??
Hope someone can help?
thanks
PeOfEo
04-25-2003, 11:26 AM
what the **** do you mean? Give me a link. Their are scripts that will change the code so that it cannot be red and in asp.net their are just a bunch of numbers called view state but irregular characters? I have never seen it in an html document, this is html correct?
Moderators Note:
Please refrain from targeting any one directly to undermine their intelligence.
havik
04-25-2003, 11:28 AM
Web pages usually have references to code not on that page.
Example:
<link rel="stylesheet" href="style.css" type="text/css">
- this links to a style sheet that has the definitions for how certain elements appear
So, when you download a page you may not be getting the entire code and that's the reason you may not be viewing it as it is on the web.
Havik
Most of the time when you download an HTML file from the Web without using the "File-Save As..." dialog, it "crunches" up the code and puts a square-like character where all of the spaces go. This is not a problem, and all code still works. But, if you're trying to get it to look "nice," you can try HTML Tidy Online (http://cgi.w3.org/cgi-bin/tidy). (Note: The file must be uploaded to the Internet, because it has no "HTML Tidy from local disk" form.)
Thank you very much Jona.
PeOfEo
04-26-2003, 05:16 PM
Originally posted by PeOfEo
Moderators Note:
Please refrain from targeting any one directly to undermine their intelligence. [/B]
targeting someone, what????!? I didnt know it crunched the code when you save, but I tried to save a swf and that did not go well, bunch of those boxes where a character cant be displayed. You think that is the same thing? I dono I though my plugin should be able to read a swf.