default file extension for HTML
-
rgminutillo
- Posts: 3
- Joined: Mon Dec 31, 2007 3:54 pm
default file extension for HTML
Is there any way (short of recompiling) to change the default file extension for saving HTML files in OpenOffice. I've always used plain old 'htm' and I have to change it every time, since OO only recognizes 'html.' Thanks.
Re: default file extension for HTML
I don't think there is. No need for it, either, because you really shouldn't edit html with Writer. There are many good html editors that are better suited for the job.
LibreOffice 25.8.4.2 on Ubuntu Linux
If your problem has been solved or your question has been answered, please edit the first post in this thread and add [Solved] to the title bar.
Nederlandstalig forum
If your problem has been solved or your question has been answered, please edit the first post in this thread and add [Solved] to the title bar.
Nederlandstalig forum
Re: default file extension for HTML
Please read the Survival Guide to the forum (there's a link in my sig line below). On my system, the automatic file extension IS .html, but I can't say whether that has any bearing on your situation. The OS version and OOo version you're using are always most vital when reporting a problem. (You might want to add it to your sig line, like I did; then you won't have to retype it each time.)rgminutillo wrote:Is there any way (short of recompiling) to change the default file extension for saving HTML files in OpenOffice. I've always used plain old 'htm' and I have to change it every time, since OO only recognizes 'html.' Thanks.
That aside, you might want to consider KompoZer (Nvu version) for HTML. It's open source, very easy to use, it's designed specifically for the purpose, and it creates much cleaner, leaner HTML files than any word processor could do.
http://www.kompozer.net/
Or try the portable version here (runs on a USB flash drive, needs no installation):
http://portableapps.com/news/2007-12-05 ... revision_2
Cheers!
---Fox
OOo 3.2.0 Portable, Windows 7 Home Premium 64-bit
---Fox
OOo 3.2.0 Portable, Windows 7 Home Premium 64-bit
-
rgminutillo
- Posts: 3
- Joined: Mon Dec 31, 2007 3:54 pm
Re: default file extension for HTML
OK, sorry, Windows Vista with Oo 2.3. But I don't need to be redirected to another editor, I'm simply asking a question about this editor.foxcole wrote: Please read the Survival Guide to the forum (there's a link in my sig line below).
I'm expecting that the answer to my question is 'no, you can't,' and I'm expecting that means that my question will generate a lot of 'why do you want to do that' type answers. But who knows.
Thanks.
RGM
Re: default file extension for HTML
[deleted... something wrong with edit]
Last edited by foxcole on Mon Dec 31, 2007 7:01 pm, edited 1 time in total.
Cheers!
---Fox
OOo 3.2.0 Portable, Windows 7 Home Premium 64-bit
---Fox
OOo 3.2.0 Portable, Windows 7 Home Premium 64-bit
Re: default file extension for HTML
Thanks, that helps.rgminutillo wrote:OK, sorry, Windows Vista with Oo 2.3.
Well, I noted that mine DOES default to .html and I'm using the same version you're using, so I wonder if it's not an OOo issue, but a setting in your OS. Not having Vista, I'm not sure I can direct you to it... I can't find it in XP at the moment, anyway. -- So, just to be clear, when you choose Save As and choose the HTML option, the extension you see there is .htm and not .html?rgminutillo wrote:But I don't need to be redirected to another editor, I'm simply asking a question about this editor.
I'll repeat again, however, that I do not recommend using Writer or any other word processor for editing HTML. Even if you find it convenient, the people who have to load up those fat, convoluted web pages might not. Please reconsider getting the right tool for the job... a hammer instead of a sledgehammer to drive the nail.
Not from anyone who knows anything about html. Htm is MS specific, html is universal. It's an extremely reasonable thing to want.rgminutillo wrote:and I'm expecting that means that my question will generate a lot of 'why do you want to do that' type answers
Cheers!
---Fox
OOo 3.2.0 Portable, Windows 7 Home Premium 64-bit
---Fox
OOo 3.2.0 Portable, Windows 7 Home Premium 64-bit
Re: default file extension for HTML
.htm is the extension that was introduced by MS because Windows didn't at first support extensions with four letters. Unix and its derivatives have been using .html from the start. To me that is a perfectly good reason to be content with .html.
LibreOffice 25.8.4.2 on Ubuntu Linux
If your problem has been solved or your question has been answered, please edit the first post in this thread and add [Solved] to the title bar.
Nederlandstalig forum
If your problem has been solved or your question has been answered, please edit the first post in this thread and add [Solved] to the title bar.
Nederlandstalig forum
Re: default file extension for HTML
I'll bite: Why do you want to do that? ...especially with such powerful [free] ...and frankly much better... alternatives and such a powerful OS that enables ease of use through multitasking.rgminutillo wrote: I'm expecting that the answer to my question is 'no, you can't,' and I'm expecting that means that my question will generate a lot of 'why do you want to do that' type answers. But who knows.
David.
-
rgminutillo
- Posts: 3
- Joined: Mon Dec 31, 2007 3:54 pm
Re: default file extension for HTML
David Wrote:
I'm using some Oo macros to prepare these files from ordinary docs, macros which are replacing some venerable XyWrite/NotaBene macros. I'd prefer that the result of the macros be a converted doc with an .htm extension, and I';d prefer not to have to overwrite and force the file extension. So it's nothing earth shattering.
RGM
It's just that I have a lot of files on a particular site that are all .htm. I want to be consistent, and I'd rather not change all of my current files to html.I'll bite: Why do you want to do that? ...especially with such powerful [free] ...and frankly much better... alternatives and such a powerful OS that enables ease of use through multitasking.
I'm using some Oo macros to prepare these files from ordinary docs, macros which are replacing some venerable XyWrite/NotaBene macros. I'd prefer that the result of the macros be a converted doc with an .htm extension, and I';d prefer not to have to overwrite and force the file extension. So it's nothing earth shattering.
RGM