 |
 |
Basic html question
|
 |
|
 |
|
Senior User
Join Date: Sep 2003
Location: UK
Status:
Offline
|
|
For a project at University I have to create a website which is to be written by myself in html.
On a PC I can use NotePad to write the code and then save it as a .html. Then when I want to edit the code I can right-click on the file and choose "edit" and it opens up the editable source code in NotePad.
On my mac if I save the file as a .html from TextEdit it works, but I can't edit it. When I try to open the page in TextEdit it opens it as a web page and not as editable source code.
The only way I have found to do this is to open the page in Safari and copy the source across to TextEdit.
Is there a better way to do this, such as the way it is on the PC?
(Last edited by drive-thru; Oct 12, 2003 at 06:43 AM.
)
|
|
|
| |
|
|
|
 |
|
 |
|
Senior User
Join Date: Sep 2003
Location: UK
Status:
Offline
|
|
I've discovered that I can use MS Word to edit my code so I guess I can live with that if I have to.
If anyone knows how I can use TextEdit (or a similarly simple app) to do this please let me know.
Thanks
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Jan 2001
Status:
Offline
|
|
Grab BBedit lite from bbedit.com
Make's your life MUCH easier and has color coding syntax and some other nice goodies, all for free!
|
|
|
| |
|
|
|
 |
|
 |
|
Senior User
Join Date: Sep 2003
Location: UK
Status:
Offline
|
|
Thanks, do I have to get the 30 day demo for it to be free?
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Jan 2001
Status:
Offline
|
|
No, the 30 day version if for the full version as a tryout.
It seems like the removed BBEdit lite from their site, but can still be downloaded from:
ftp://ftp.barebones.com/pub/freeware...te_612.smi.hqx
It has both the OS 9 version and OS X version.
Let me know how much you love it!
|
|
|
| |
|
|
|
 |
|
 |
|
Senior User
Join Date: Sep 2003
Location: UK
Status:
Offline
|
|
Cool!
Thanks a lot, I've just installed the demo and tried it out briefly.
Looks like the lite version will be perfect.
Thank you
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Jan 2001
Status:
Offline
|
|
Glad to hear it.
I just new I had to let you know about this if you were using textedit and word to edit html.
I about **** my pants! lol
Also, another good free one is
http://www.codingmonkeys.de/subethaedit/
But I think BBEdit lite is still much better and can handle huge files.
|
|
|
| |
|
|
|
 |
|
 |
|
Senior User
Join Date: Sep 2003
Location: UK
Status:
Offline
|
|
I'm having a little trouble getting a decent download from where you suggested, tried version tracker but it goes to the same ftp site.
The download is really slow (2kbps) in Explorer and wouldn't even work in Safari.
Any suggestions?
|
|
|
| |
|
|
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Aug 2002
Location: Denmark
Status:
Offline
|
|
Give SubEthaEdit a spin!
Its free, pure Cocoa, has syntax coloring (not only for html but for PHP, CSS, Perl etc etc).
And on top of that it supports rendezvous, sp that you and your buddies can work on the same file on different machines at once
Click here
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Jan 2001
Status:
Offline
|
|
|
|
|
|
| |
|
|
|
 |
|
 |
|
Senior User
Join Date: Sep 2003
Location: UK
Status:
Offline
|
|
That's more like it, thanks a lot.
I'm going to use BBEdit first and then look around at others if I have any trouble.
Thanks again guys
|
|
|
| |
|
|
|
 |
|
 |
|
Senior User
Join Date: Sep 2003
Location: UK
Status:
Offline
|
|
I've been messing around with the lite version...
When I open up a html file I can't get it to display the syntax colouring. Any ideas?
Also when I save a file I am not sure wheter it is saving as a .html or not. If I go to Get Info on the file it says it is a BBEdit file. I can open it in Safari so I know it woks as an html but is there a way to save it as an actual html? (Not sure if this is neccesary, just a bit confused)
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Jan 2001
Status:
Offline
|
|
You need to name it as .html
HTML files are not anything special - just a text file, ending in .html That's how you know it's an html file and safari and webservers can use it.
As for the syntax coloring, try the .html. If that doesn't work, then it must not be in the Lite version, and I would try the other program I suggested, which does have it.
|
|
|
| |
|
|
|
 |
|
 |
|
Senior User
Join Date: Sep 2003
Location: UK
Status:
Offline
|
|
Yeah that's exactly what I thought. I guess the lite version doesn't have the colouring.
I'm trying SubEthaEditor now and it seems pretty good. Nice and simple (and pretty colours lol). 
|
|
|
| |
|
|
|
 |
|
 |
|
Senior User
Join Date: Sep 2003
Location: UK
Status:
Offline
|
|
Ok, SubEthaEdit is cool!!!
In the View Menu go to Show Web Preview and it opens up a preview of your page. If you set Refresh to automatic it refreshes the page as you type. I have dual-displays on my iBook, so I can use one for editing and one for "on-the-fly" preview.
Thanks for showing me this app.
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Jan 2001
Status:
Offline
|
|
Not a problem. And it's free!

|
|
|
| |
|
|
|
 |
|
 |
|
Junior Member
Join Date: Sep 2003
Status:
Offline
|
|
Just in case you ever find yourself in a situation where TextEdit is all you have, there is a way.
Go File>Open and when you find the file in the open dialogue, click the checkbox at the bottom that says "Ignore Rich Text commands" - it opens the file in plain text that you can edit.
For some reason, if you open the file without checking this box and then tell TextEdit to change it to plain text, you get a blank page.
Not the best solution, but it will do in a pinch.
Thanks for the link to SubEthaEdit - I had not heard of that one. Dl'd it and trying it now.
m
|
|
|
| |
|
|
|
 |
|
 |
|
Senior User
Join Date: Sep 2003
Location: UK
Status:
Offline
|
|
Thanks winwintoo.
That's what I was originally looking for, but I've fallen for SubEthaEdit, the preview feature is so useful.
If I need to edit a page on one of the University's macs I will know how to do it with TextEdit.
|
|
|
| |
|
|
|
 |
|
 |
|
Senior User
Join Date: Dec 2002
Status:
Offline
|
|
If you haven't heard of SubEthaEdit, maybe you've heard of Hydra? They were forced to change their name by some asshat..Can't remember who/when/why but if you look around it shouldn't be too hard to find.
|
|
Travis Sanderson
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Jan 2001
Status:
Offline
|
|
I like BBEdit better - until SubEthaEdit can syntax color HTML and PHP in one file , like BBEdit can do.
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: May 2001
Location: Melbourne, Australia
Status:
Offline
|
|
You can use SimpleText. This is like the predecessor to TextEdit from Apple. If you have the Apple developer tools installed, it comes standard with this.
Basic. Free.
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|