|
Next: ASP advice needed please
|
| Author |
Message |
External

Since: Oct 22, 2003 Posts: 1
|
(Msg. 1) Posted: Wed Oct 22, 2003 11:02 am
Post subject: source code Archived from groups: alt>www>webmaster (more info?)
|
|
|
I write my HTML code and upload it through FTP. But sometimes I'm at
work and feel like working on my page but dont have FTP so i go to my
page on the web, do a "save as HTML file" and work on it from there
and then take it home and then upload it. Is there anything wrong with
doing this?
Also, when I do a "save as" and then start working on the file, I
notice that the source code is formatted differently than how i wrote
it - i.e. most of the lines are indented and there is more white space
than when i wrote it. Will all this extra empty space make the page
bigger if i save it like that?
KKiely >> Stay informed about: source code |
|
| Back to top |
|
 |  |
External

Since: Oct 22, 2003 Posts: 353
|
(Msg. 2) Posted: Wed Oct 22, 2003 2:52 pm
Post subject: Re: source code [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
On 22 Oct 2003 08:02:45 -0700, KK wrote:
> I write my HTML code and upload it through <a style='text-decoration: underline;' href="http://FTP." target="_blank">FTP.</a> But sometimes I'm at
> work and feel like working on my page but dont have FTP so i go to my
> page on the web, do a "save as HTML file" and work on it from there
> and then take it home and then upload it. Is there anything wrong with
> doing this?
> Also, when I do a "save as" and then start working on the file, I
> notice that the source code is formatted differently than how i wrote
> it - i.e. most of the lines are indented and there is more white space
> than when i wrote it. Will all this extra empty space make the page
> bigger if i save it like that?
That should be fine as long it's pure html (no html created dynamically).
You can use one of those html cleaners and formatters. They will remove
redundant tags and white space and make your html easier to view and edit.
--
Karim
Recommended host: <a style='text-decoration: underline;' href="http://www.cheapesthosting.com" target="_blank">http://www.cheapesthosting.com</a> - Affordable hosting since
1998<!-- ~MESSAGE_AFTER~ --> >> Stay informed about: source code |
|
| Back to top |
|
 |  |
External

Since: Jul 01, 2003 Posts: 71
|
(Msg. 3) Posted: Wed Oct 22, 2003 5:03 pm
Post subject: Re: source code [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
KK wrote:
> I write my HTML code and upload it through <a style='text-decoration: underline;' href="http://FTP." target="_blank">FTP.</a> But sometimes I'm at
> work and feel like working on my page but dont have FTP so i go to my
> page on the web, do a "save as HTML file" and work on it from there
> and then take it home and then upload it. Is there anything wrong with
> doing this?
> Also, when I do a "save as" and then start working on the file, I
> notice that the source code is formatted differently than how i wrote
> it - i.e. most of the lines are indented and there is more white space
> than when i wrote it. Will all this extra empty space make the page
> bigger if i save it like that?
> KKiely
The source code is usually viewed in notepad which has a tabbing system that
you can not control.
When you use an html editor the tabbing and white space is generally the way
it was meant to be.
I have saved pages using notepad with the inherit tabbing/white space with
no ill effects on the output.<!-- ~MESSAGE_AFTER~ --> >> Stay informed about: source code |
|
| Back to top |
|
 |  |
External

Since: Oct 22, 2003 Posts: 1
|
(Msg. 4) Posted: Wed Oct 22, 2003 10:11 pm
Post subject: Re: source code [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Karim wrote in message ...
> You can use one of those html cleaners and formatters. They will remove
> redundant tags and white space and make your html easier to view and edit.
Karim - could you give an example URL for one of those
cleaners and formatters.
I'm a great fan of Microsoft Frontpage and I'm well aware that
it puts in lots of unnecessary code :~)
--
Trevor George, Bristol, UK. <a style='text-decoration: underline;' href="http://www.OnMyWindow.co.uk" target="_blank">http://www.OnMyWindow.co.uk</a><!-- ~MESSAGE_AFTER~ --> >> Stay informed about: source code |
|
| Back to top |
|
 |  |
External

Since: Oct 22, 2003 Posts: 353
|
(Msg. 5) Posted: Wed Oct 22, 2003 10:11 pm
Post subject: Re: source code [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
On Wed, 22 Oct 2003 19:11:29 GMT, Trevor George wrote:
> Karim wrote in message ...
>> You can use one of those html cleaners and formatters. They will remove
>> redundant tags and white space and make your html easier to view and edit.
>
> Karim - could you give an example URL for one of those
> cleaners and formatters.
>
> I'm a great fan of Microsoft Frontpage and I'm well aware that
> it puts in lots of unnecessary code :~)
<a style='text-decoration: underline;' href="http://www.w3.org/People/Raggett/tidy/" target="_blank">http://www.w3.org/People/Raggett/tidy/</a>
--
Karim
Recommended host: <a style='text-decoration: underline;' href="http://www.cheapesthosting.com" target="_blank">http://www.cheapesthosting.com</a> - Affordable hosting since
1998<!-- ~MESSAGE_AFTER~ --> >> Stay informed about: source code |
|
| Back to top |
|
 |  |
External

Since: Jun 27, 2003 Posts: 195
|
(Msg. 6) Posted: Wed Oct 22, 2003 10:19 pm
Post subject: Re: source code [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
KK wrote:
> I write my HTML code and upload it through <a style='text-decoration: underline;' href="http://FTP." target="_blank">FTP.</a> But sometimes I'm at
> work and feel like working on my page but dont have FTP so i go to my
> page on the web, do a "save as HTML file" and work on it from there
> and then take it home and then upload it. Is there anything wrong with
> doing this?
Depends on what you consider wrong, and the software you use.
> Also, when I do a "save as" and then start working on the file, I
> notice that the source code is formatted differently than how i wrote
> it
This is most likely an artifact of your browser. I wouldn't be surprised if
it made other changes too.
> - i.e. most of the lines are indented and there is more white space
> than when i wrote it. Will all this extra empty space make the page
> bigger if i save it like that?
It might do, but not in a significant way. I'd be more concerned with any
other changes that might slip in. You might like to get hold of something
like wget <http://wget.sunsite.dk/> which will let you download the file in
its origional form.
--
David Dorward <a style='text-decoration: underline;' href="http://dorward.me.uk/" target="_blank">http://dorward.me.uk/</a><!-- ~MESSAGE_AFTER~ --> >> Stay informed about: source code |
|
| Back to top |
|
 |  |
External

Since: Oct 22, 2003 Posts: 28
|
(Msg. 7) Posted: Wed Oct 22, 2003 11:27 pm
Post subject: Re: source code [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
"KK" <randommale9999.TakeThisOut@aol.com> wrote in message
news:a5bacce1.0310220702.68ba46a2@posting.google.com...
> I write my HTML code and upload it through <a style='text-decoration: underline;' href="http://FTP." target="_blank">FTP.</a> But sometimes I'm at
> work and feel like working on my page but dont have FTP so i go to my
> page on the web, do a "save as HTML file" and work on it from there
> and then take it home and then upload it. Is there anything wrong with
> doing this?
> Also, when I do a "save as" and then start working on the file, I
> notice that the source code is formatted differently than how i wrote
> it - i.e. most of the lines are indented and there is more white space
> than when i wrote it. Will all this extra empty space make the page
> bigger if i save it like that?
>
> KKiely
If you want to use FTP at work you can try FTP Explorer. This can install
on a Windows NT machine without having the Administrator issue nail you.
And 1 thing about Save As, if you have images on the page, the links will
point to a folder newly created on your machine by the Save As process that
you will need to change at home.<!-- ~MESSAGE_AFTER~ --> >> Stay informed about: source code |
|
| Back to top |
|
 |  |
External

Since: Jul 01, 2003 Posts: 82
|
(Msg. 8) Posted: Wed Oct 22, 2003 11:49 pm
Post subject: Re: source code [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Trevor George wrote:
> Karim wrote in message ...
>> You can use one of those html cleaners and formatters. They will remove
>> redundant tags and white space and make your html easier to view and
>> edit.
>
> Karim - could you give an example URL for one of those
> cleaners and formatters.
<a style='text-decoration: underline;' href="http://tidy.sourceforge.net/" target="_blank">http://tidy.sourceforge.net/</a>
>
> I'm a great fan of Microsoft Frontpage and I'm well aware that
> it puts in lots of unnecessary code :~)
Oh, no - its _very_ necessary. That's how a convicted monopolist embraces
and extends the web. Frontpage "features" are part of the master plan.
--
Iso.
FAQs: <a style='text-decoration: underline;' href="http://html-faq.com" target="_blank">http://html-faq.com</a> <a style='text-decoration: underline;' href="http://alt-html.org" target="_blank">http://alt-html.org</a> <a style='text-decoration: underline;' href="http://allmyfaqs.com/" target="_blank">http://allmyfaqs.com/</a>
Recommended Hosting: <a style='text-decoration: underline;' href="http://www.affordablehost.com/" target="_blank">http://www.affordablehost.com/</a>
Web Design Tutorial: <a style='text-decoration: underline;' href="http://www.sitepoint.com/article/1010" target="_blank">http://www.sitepoint.com/article/1010</a><!-- ~MESSAGE_AFTER~ --> >> Stay informed about: source code |
|
| Back to top |
|
 |  |
External

Since: Sep 26, 2003 Posts: 25
|
(Msg. 9) Posted: Thu Oct 23, 2003 1:24 am
Post subject: Re: source code [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Nothing wrong with downloading the source. Downloading the source is
precisely what the browser does anyway. White space in an HTML document is
largely irrelevant. The additional file size will not be significant.
"KK" <randommale9999.TakeThisOut@aol.com> wrote in message
news:a5bacce1.0310220702.68ba46a2@posting.google.com...
> I write my HTML code and upload it through <a style='text-decoration: underline;' href="http://FTP." target="_blank">FTP.</a> But sometimes I'm at
> work and feel like working on my page but dont have FTP so i go to my
> page on the web, do a "save as HTML file" and work on it from there
> and then take it home and then upload it. Is there anything wrong with
> doing this?
> Also, when I do a "save as" and then start working on the file, I
> notice that the source code is formatted differently than how i wrote
> it - i.e. most of the lines are indented and there is more white space
> than when i wrote it. Will all this extra empty space make the page
> bigger if i save it like that?
>
> KKiely<!-- ~MESSAGE_AFTER~ --> >> Stay informed about: source code |
|
| Back to top |
|
 |  |
External

Since: Oct 23, 2003 Posts: 137
|
(Msg. 10) Posted: Thu Oct 23, 2003 4:00 am
Post subject: Re: source code [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Trevor George wrote:
> Karim wrote in message ...
>> You can use one of those html cleaners and formatters. They will remove
>> redundant tags and white space and make your html easier to view and
>> edit.
>
> Karim - could you give an example URL for one of those
> cleaners and formatters.
>
> I'm a great fan of Microsoft Frontpage and I'm well aware that
> it puts in lots of unnecessary code :~)
>
> --
<font color=purple> > Trevor George, Bristol, UK. <a style='text-decoration: underline;' href="http://www.OnMyWindow.co.uk</font" target="_blank">http://www.OnMyWindow.co.uk</font</a>>
First thing you should do is scrap FrontPlage and get a real HTML editor...
Then read up on HTML specs on the w3c site. Please if your going to put a
website on the internet you may as well do it right by following w3c. Then
your web site will be able to be read by any (most) browsers. Do yourself
and others a hugh favor and forget the MS sillyness.
Later<!-- ~MESSAGE_AFTER~ --> >> Stay informed about: source code |
|
| Back to top |
|
 |  |
External

Since: Sep 19, 2003 Posts: 3499
|
(Msg. 11) Posted: Thu Oct 23, 2003 11:42 am
Post subject: Re: source code [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
John J wrote:
> "KK" <randommale9999 DeleteThis @aol.com> wrote in message
> news:a5bacce1.0310220702.68ba46a2@posting.google.com...
>> I write my HTML code and upload it through <a style='text-decoration: underline;' href="http://FTP." target="_blank">FTP.</a> But sometimes I'm at
>> work and feel like working on my page but dont have FTP so i go to my
>> page on the web, do a "save as HTML file" and work on it from there
>> and then take it home and then upload it.
>
> If you want to use FTP at work you can try FTP Explorer. This can
> install on a Windows NT machine without having the Administrator
> issue nail you.
There's also the rather troublesome issue of port blocking - as practiced by
some/many network admins.
toodle-pip.
--
William Tasso - <a style='text-decoration: underline;' href="http://WilliamTasso.com" target="_blank">http://WilliamTasso.com</a><!-- ~MESSAGE_AFTER~ --> >> Stay informed about: source code |
|
| Back to top |
|
 |  |
External

Since: Apr 29, 2004 Posts: 1010
|
(Msg. 12) Posted: Thu Oct 23, 2003 5:51 pm
Post subject: Re: source code [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
"Baho Utot" <baho-utot DeleteThis @philippines-island.org> wrote in message
news:5fjj61-5sj.ln1@mindanao.philippines-island.org...
> Trevor George wrote:
>
> > Karim wrote in message ...
> >> You can use one of those html cleaners and formatters. They will remove
> >> redundant tags and white space and make your html easier to view and
> >> edit.
> >
> > Karim - could you give an example URL for one of those
> > cleaners and formatters.
> >
> > I'm a great fan of Microsoft Frontpage and I'm well aware that
> > it puts in lots of unnecessary code :~)
> >
> > --
<font color=green> > > Trevor George, Bristol, UK. <a style='text-decoration: underline;' href="http://www.OnMyWindow.co.uk</font" target="_blank">http://www.OnMyWindow.co.uk</font</a>>
>
>
> First thing you should do is scrap FrontPlage and get a real HTML
editor...
> Then read up on HTML specs on the w3c site. Please if your going to put a
> website on the internet you may as well do it right by following w3c.
Then
> your web site will be able to be read by any (most) browsers. Do yourself
> and others a hugh favor and forget the MS sillyness.
>
Now there is a thought, lets all follow the leader -
Personally, I wouldnt follow either but why should someone stop following
one leader, (MS) and start following another(w3c)?
Doing it right IMHO is to use the guidelines where appropriate and to ignore
them when it is not. It is blind adherence and dogmatic preaching that
'this' is the only way, given that even w3c are careful to stipulate their
guidance is in the nature of a recommendation only and not an absolute!<!-- ~MESSAGE_AFTER~ --> >> Stay informed about: source code |
|
| Back to top |
|
 |  |
External

Since: Oct 23, 2003 Posts: 137
|
(Msg. 13) Posted: Thu Oct 23, 2003 5:51 pm
Post subject: Re: source code [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Bill Logan wrote:
>
> "Baho Utot" <baho-utot.RemoveThis@philippines-island.org> wrote in message
> news:5fjj61-5sj.ln1@mindanao.philippines-island.org...
>> Trevor George wrote:
>>
>> > Karim wrote in message ...
>> >> You can use one of those html cleaners and formatters. They will
>> >> remove redundant tags and white space and make your html easier to
>> >> view and edit.
>> >
>> > Karim - could you give an example URL for one of those
>> > cleaners and formatters.
>> >
>> > I'm a great fan of Microsoft Frontpage and I'm well aware that
>> > it puts in lots of unnecessary code :~)
>> >
>> > --
<font color=brown> >> > Trevor George, Bristol, UK. <a style='text-decoration: underline;' href="http://www.OnMyWindow.co.uk</font" target="_blank">http://www.OnMyWindow.co.uk</font</a>>
>>
>>
>> First thing you should do is scrap FrontPlage and get a real HTML
> editor...
>> Then read up on HTML specs on the w3c site. Please if your going to put
>> a website on the internet you may as well do it right by following w3c.
> Then
>> your web site will be able to be read by any (most) browsers. Do
>> yourself and others a hugh favor and forget the MS sillyness.
>>
> Now there is a thought, lets all follow the leader -
> Personally, I wouldnt follow either but why should someone stop following
> one leader, (MS) and start following another(w3c)?
>
> Doing it right IMHO is to use the guidelines where appropriate and to
> ignore them when it is not. It is blind adherence and dogmatic preaching
> that 'this' is the only way, given that even w3c are careful to stipulate
> their guidance is in the nature of a recommendation only and not an
> absolute!
Ah but your way leads the the millions upon millons of borked websites that
render only on a single browser. I look at the issue of not wanting to
exclude anyone from my site, include those who use the borked software from
MS.
The internet was and is built to standards. If you don't believe me then
try reading a few RFC's. Standards are good and it is even better when
everyone follows them.<!-- ~MESSAGE_AFTER~ --> >> Stay informed about: source code |
|
| Back to top |
|
 |  |