On 17-Sep-04, at 1:56 AM, Ess wrote:

I tried saving a page as plain text, and although the default filename had an .html extension, i gave it a .txt.

What elements are supposed to appear in a plain text file?

Yes, its technically a text file, but all html files are text. What you found was the html source. Changing the extension just changed the name and perhaps, the default application that opens it.

I only meant that when one chooses the 'plain text' option from the popup menu upon saving, that the .html extension remains on the default filename, and so i gave it the .txt extension myself as that was the file type i had chosen. That was aside from my real point.

My point was that what was saved in the text file, as in the sample i included, was not html, nor was it plain text. It doesn't look at all like the source of the page. It's text interspersed with nonsense tags, a lot of asterisks, and the occasional URL.

It's gobbledegook!

To make sure the result i was seeing was not a result of the software i was viewing it with leaving out characters it wasn't designed to display, or some similar anomaly, i had a look with a hex editor. What appears below was exactly what was in the file.

<x-tad-smaller>*Yahoo! Sports* <s/211877> Weekend Preview: NFL <s/211878>, MLB
<s/211879>, Ryder Cup <s/211880>, and College Football <s/212154>.
*Shop* Auctions <r/a2>, *Autos* <r/cr>, Classifieds <r/cf>, Real Estate
<r/r1>, Shopping <r/sh>, Travel <r/ta>

*Organize* Addresses <r/ab>, Briefcase <r/bc>, Calendar <r/ca>, My
Yahoo! <r/i2>, PayDirect <r/pp>, *Photos* <r/fo>
*Fun* Games <r/pl>, Horoscopes <r/h1>, Kids <r/yg>, *Movies* <r/mf>,
Music <r/uf>, Radio <r/rd>, TV <r/tg>
*Info* Finance <r/sq>, Health <r/wm>, News <r/dn>, Sports <r/ys>,
Weather <r/wt> *More Yahoo!... <r/xy>*</x-tad-smaller>

<x-tad-smaller>Register to vote now.
<http://us.ard.yahoo.com/SIG=12c5nfru4/M=281536.5428000.6516104.3604007/D=yahoo_top/S=2716149:WMAIL/_ylt=AtOA5yRJc55mp1qYec1T_4b1cSkA/EXP=1095497300/A=2360194/R=0/SIG=10n259j7u/*http://vote.yahoo.com>

</x-tad-smaller>

Scott
_______________________________________________
Camino mailing list
[EMAIL PROTECTED]
http://mozdev.org/mailman/listinfo/camino

Reply via email to