Why cant NB accept HTML files

Discussion to talk about software related topics only.
seulater
Posts: 445
Joined: Fri Apr 25, 2008 5:26 am

Why cant NB accept HTML files

Post 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.
rnixon
Posts: 833
Joined: Thu Apr 24, 2008 3:59 pm

Re: Why cant NB accept HTML files

Post by rnixon »

I was able to do it using a compcode flag for html. but it's not much easier than just renaming.
Ran_Talbott
Posts: 10
Joined: Tue May 13, 2008 9:01 am

Re: Why cant NB accept HTML files

Post by Ran_Talbott »

Why not just name everything "*.htm" in the first place? That's what i've been doing.

Ran
seulater
Posts: 445
Joined: Fri Apr 25, 2008 5:26 am

Re: Why cant NB accept HTML files

Post 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.
User avatar
Brian Click
Posts: 10
Joined: Tue Sep 02, 2008 2:00 pm
Location: Chicago Area

Re: Why cant NB accept HTML files

Post 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..
seulater
Posts: 445
Joined: Fri Apr 25, 2008 5:26 am

Re: Why cant NB accept HTML files

Post 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
User avatar
Brian Click
Posts: 10
Joined: Tue Sep 02, 2008 2:00 pm
Location: Chicago Area

Re: Why cant NB accept HTML files

Post 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
rnixon
Posts: 833
Joined: Thu Apr 24, 2008 3:59 pm

Re: Why cant NB accept HTML files

Post 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.
gavinm
Posts: 59
Joined: Wed Jun 04, 2008 4:01 pm
Location: Nottingham UK

Re: Why cant NB accept HTML files

Post 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
Gavin Murray
seulater
Posts: 445
Joined: Fri Apr 25, 2008 5:26 am

Re: Why cant NB accept HTML files

Post 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.
Post Reply