On 26 apr 2006, at 10.06, Michael J. Hußmann wrote:
Sven E Olsson <[EMAIL PROTECTED]> wrote:
The contents of the file are still the same -- it's an HTML file.
Even if I name it "foo.gzip", it's an HTML file. While programs
won't recognize it as a HTML file, it still contains HTML.
It is NOT and it would not be executed on any server! Simply do NOT
work!
You are taking a very narrow view here. On my website, I use SSI to
include some HTML fragments with extension ".txt" in my .shtml
files. I
am also using punbb for my forum, and punbb uses ".tpl" as an
extension
for its template files -- again, those .tpl files contain valid HTML
code which gets interpreted as such. If you wrote an HTML editor, how
could you possibly know in advance what file extensions will be used?
- Michael
Michael J. Hussmann
A file with small fragments of html code is not a valid html file.
It is a text file (.txt) that is used as a include file by the 'valid
html file' ....
Your .tpl files is NOT an valid html file, it is template files used
by some app that help you create
your valid html files. Or by your self. (if it is a good (complete)
template, you perhaps also could change the extension to .htm, .html
or something like that and then you have an valid html file.
If I write an HTML Editor, then depending of the features it should
do, then I know, if I don't know then I could not write an HTML Editor.
This is valid html code <b>Hekko</b>, but this email is not an valid
html file. Try to validate it on w3.org.
So the question (that start this thread) is still Why should an user
when he click on an menu item 'Insert Text Word XML' get an Dialogbox
with files like .txt html, .htm .xml .c .pas .php ?? And to those
that said this is 'Mac like', where do find that??
And have not the CarbonLib the feature to use Extension filter? (I am
not 100% sure, but I think it have)
Regards,
Sven E Olsson
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>