FutureQuest, Inc. FutureQuest, Inc. FutureQuest, Inc.

FutureQuest, Inc.
Go Back   FutureQuest Community > General Site Owner Support (All may read/respond) > Web Site & Graphic Design
User Name
Password  Lost PW

Reply
 
Thread Tools Search this Thread Display Modes
Old 02-28-2008, 11:27 PM   Postid: 165584
nomadsoul
Site Owner

Forum Notability:
26 pts: User-friendly
[Post Feedback]
 
Join Date: Dec 2004
Location: Ningbo China
Posts: 142
Vista webdev nightmare

Hi all,
Apparently, you cannot just open notepad, do some html code and save it as an html file. Seems that it insists on saving it as .html.txt
Example vistasucks.html saves as vistasucks.html.txt no matter what I do.
Does anyone know what to do here?
I'm forced to use it right now. I am in China teaching and my Toshiba laptop seems to be the only thing I can connect with right now. I just want to make a webpage for my students.
Any help greatly appreciated.
__________________
It is better to be prepared and not have an opportunity than to have an opportunity and not be prepared
nomadsoul is offline   Reply With Quote
Old 02-29-2008, 02:11 AM   Postid: 165589
Jeff
Site Owner
 
Jeff's Avatar

Forum Notability:
872 pts: Dignified Competence!
[Post Feedback]
 
Join Date: Jun 2000
Location: Great Lakes
Posts: 4,221
Re: Vista webdev nightmare

I can on vista here so I think you're encountering a misconfiguration of some sort and not stock vista behavior.

Running Microsoft Vista 32-bit OS. Open notepad. Type some html. File -> Save and save as test.html and the file shows in explorer as test.html and is associated with firefox as an html document.

Doing a google search I see someone said to put the "filename.html" in quotes to not add the .txt extension; I can't recreate the problem you're seeing, but it does work either way here so it might be something to try.

--the only thing which really irks me are computers set to hide the file extension so you end up getting files named test.jpg.jpg by people who don't realize explorer was set to hide extensions on their computer!

I guess if it's a temporary computer I can't suggest a nice program like editplus
Jeff is offline   Reply With Quote
Old 02-29-2008, 09:50 AM   Postid: 165595
 Bob
Service Rep
 
Bob's Avatar
 
Join Date: Dec 1999
Location: Jacksonville, Fl
Posts: 4,876
Re: Vista webdev nightmare

You should be able to rename the file, after saving, by accessing it directory with Windows Explorer or at worse upload the named .txt file and then rename it on the server...

-Bob
Bob is online now   Reply With Quote
Old 02-29-2008, 11:52 AM   Postid: 165598
frankc
Site Owner
 
frankc's Avatar

Forum Notability:
181 pts: Ambassador of Goodwill
[Post Feedback]
 
Join Date: Mar 1999
Location: northeastern Illinois
Posts: 1,003
Re: Vista webdev nightmare

When you save the file, add the .htm/.html extension to the filename, and in the dropdown box for "Save as type" select All Files.
__________________
Frank
:: There is more to life than increasing its speed. (Gandhi) ::
:: Be careful of your thoughts, they may become words at any moment. (Iara Gassen) ::
:: "Perfectionism is self abuse of the highest order." (Anne Wilson Schaef) ::
:: "Life is change; how it differs from the rocks." (Jefferson Airplane) ::
:: "Everyone thinks of changing the world, but no one thinks of changing himself." (Leo Tolstoy, 1828-1910) ::
frankc is offline   Reply With Quote
Old 02-29-2008, 11:13 PM   Postid: 165622
nomadsoul
Site Owner

Forum Notability:
26 pts: User-friendly
[Post Feedback]
 
Join Date: Dec 2004
Location: Ningbo China
Posts: 142
Re: Vista webdev nightmare

I tried the quote thing and get the error that I can't use quotes and slashes etc..
Tried wordpad too. It shows some nasty parse error in the browser window when I try some basic html.
I guess I could do everything on the fq server but I don't always have a connection.
Thanks
__________________
It is better to be prepared and not have an opportunity than to have an opportunity and not be prepared
nomadsoul is offline   Reply With Quote
Old 02-29-2008, 11:32 PM   Postid: 165624
nomadsoul
Site Owner

Forum Notability:
26 pts: User-friendly
[Post Feedback]
 
Join Date: Dec 2004
Location: Ningbo China
Posts: 142
Re: Vista webdev nightmare

Here's what's happening now: I open a notepad document and it now automatically saves as an .html file (file ext not showing) and it is opening in a browser but the html code I typed is showing as text in the browser
<html>
<body>
test
</body>
</html>

I promise I did not make any config changes anywhere as I can't even find where this is done in vista. I am going to end up using my xp laptop and doing the thumb drive thing I think. I have desktop harddrives I brought with me, one is fedora and the other is xp but I've not had the time to build a box for them yet.
__________________
It is better to be prepared and not have an opportunity than to have an opportunity and not be prepared
nomadsoul is offline   Reply With Quote
Old 03-01-2008, 05:08 AM   Postid: 165625
McDuff
Site Owner
 
McDuff's Avatar

Forum Notability:
42 pts: User-friendly
[Post Feedback]
 
Join Date: Mar 2006
Location: Czech Republic mostly
Posts: 326
Re: Vista webdev nightmare

Quote:
Originally Posted by Jeff View Post
........Open notepad........
Notepad is known to be not the best to work with, certainly when saving files, some extensions it messes up up or does not want..

You could consider notepad plus, It is open-source, free, and really good; it does what you want , not what MS thinks that maybe you should want but is wrong anyway .

Main page is :http://notepad-plus.sourceforge.net/uk/site.htm
Download page: http://sourceforge.net/project/showf...kage_id=102072

Go for the executable file (installer. exe)

Success
McDuff is offline   Reply With Quote
Old 03-01-2008, 08:40 AM   Postid: 165627
Mandi
Blond and Caffeinated
 
Mandi's Avatar

Forum Notability:
703 pts: Dignified Competence!
[Post Feedback]
 
Join Date: Jan 1999
Location: Southern California, USA
Posts: 3,247
Re: Vista webdev nightmare

Note Tab Light is another freeware option for text editing - I use it exclusively for text files, and it does handle HTML (and all scripting) smoothly.
__________________
Give me ambiguity or give me something else.
Mandi is offline   Reply With Quote
Old 03-01-2008, 09:46 PM   Postid: 165633
Jeff
Site Owner
 
Jeff's Avatar

Forum Notability:
872 pts: Dignified Competence!
[Post Feedback]
 
Join Date: Jun 2000
Location: Great Lakes
Posts: 4,221
Re: Vista webdev nightmare

Quote:
Originally Posted by McDuff View Post
Notepad is known to be not the best to work with, certainly when saving files, some extensions it messes up up or does not want..
I tried everything I could think of to make it mess up on the vista computer here, and I could not. Whatever extension I typed on the file was what it saved as.
(I do rarely use notepad however as I like edit plus much better, even for the simple handy file browser window pane to the left that lets me quickly work through a directory of script includes for example, not to mention the better find and replace, etc, etc.) But I think there must be something awfully wrong with the machine in question.

I would open Explorer, click Organize, Folder Options and uncheck the "hide file extensions for known file types" for the folder where it's saved, or apply to all folders (I don't know how that option is useful or why by default it's checked as it sure seems to cause more confusion than helping anyone.)

Last edited by Jeff : 03-01-2008 at 10:38 PM.
Jeff is offline   Reply With Quote
Old 03-09-2008, 03:23 AM   Postid: 165846
nomadsoul
Site Owner

Forum Notability:
26 pts: User-friendly
[Post Feedback]
 
Join Date: Dec 2004
Location: Ningbo China
Posts: 142
Re: Vista webdev nightmare

Thanks for the replies. Sorry for my delay in answering. It is a combination of bad bandwidth and being busy.
I will try all of these
__________________
It is better to be prepared and not have an opportunity than to have an opportunity and not be prepared
nomadsoul is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 visitors)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 09:28 AM.


Running on vBulletin®
Copyright © 2000 - 2013, Jelsoft Enterprises Ltd.
Hosted & Administrated by FutureQuest, Inc.
Images & content copyright © 1998-2013 FutureQuest, Inc.
FutureQuest, Inc.