Page 1 of 2

Why cant NB accept HTML files

Posted: Fri Aug 22, 2008 12:04 pm
by seulater
Will NB be able to or make a change in the next release to allow us to insert HTML files. its kinda a pain to keep renaming the index.html to index.htm all the time.

Re: Why cant NB accept HTML files

Posted: Tue Aug 26, 2008 9:15 am
by rnixon
I was able to do it using a compcode flag for html. but it's not much easier than just renaming.

Re: Why cant NB accept HTML files

Posted: Sun Aug 31, 2008 9:48 pm
by Ran_Talbott
Why not just name everything "*.htm" in the first place? That's what i've been doing.

Ran

Re: Why cant NB accept HTML files

Posted: Mon Sep 01, 2008 5:22 am
by seulater
Because, when your developing a web site, and your testing each piece, its a pita to have the web development program export it to the NB directory, then you have to go there and rename it each time. it would be one less step to simply export it, then refresh, recompile and try it.

Re: Why cant NB accept HTML files

Posted: Tue Sep 02, 2008 2:07 pm
by Brian Click
Looking at this from the other direction:

What HTML development tool are you using...it might itself support .HTM files. Check the file save options.

Then you just create / publish them directly as .htm files and - well, basically - exactly what Ran said..

Re: Why cant NB accept HTML files

Posted: Tue Sep 02, 2008 3:56 pm
by seulater
I use Adobe, Dreamweaver, Flash and now Flex, i dont see an option in any of them to export to .htm instead of .html

Re: Why cant NB accept HTML files

Posted: Wed Sep 03, 2008 7:54 am
by Brian Click
These should all be able to accept .htm files and I'm a bit surprised the .html extension is the default (unless you're working on a Mac or course) since it's 4 chars and Windows typically uses 3 chars (from the old 8+3 naming days). I Googled and found that the opposite issue was somebody's problem a few years ago

http://www.htmlcodetutorial.com/help/sutra4515.html

I'm not familiar with those tools myself (yet) but have you tried changing the file extension from within DreamWeaver for example? I assume the related HTML files are saved and maintained as a group/project and if so there should be a project browser window (similar to Eclipse) where you can manually change the file extensions in the project (via right-click menu). Do this renaming ONCE, and the project will retain these extensions going forward.

Just try opening the renamed files (from the NetBurner path), I think you'll find that all your tools support either a 3 or 4 letter extension and it's just a matter of discovering how. Best of luck

Re: Why cant NB accept HTML files

Posted: Wed Sep 03, 2008 8:57 am
by rnixon
I use dreamweaver, and have not had a problem using .htm files. Once I set the name to .htm in the beginning of the project, it never changes.

Re: Why cant NB accept HTML files

Posted: Wed Sep 03, 2008 2:00 pm
by gavinm
In Dreamweaver
"Edit - Preferences" command.
On the General Preferences page there is a setting "Add extension when saving .htm" and a tick box to enable it.
.htm is the default - but it is in an edit box and you can have it default to whatever you like - just change the file extension in the edit box.

Gavin

Re: Why cant NB accept HTML files

Posted: Wed Sep 03, 2008 6:16 pm
by seulater
Thanks, but i think we are getting off the topic here. I just want to know why NB cannot accept .html files. it seems to take everything else.