Subject:
|
Re: Problems with website publishing
|
Newsgroups:
|
lugnet.publish
|
Date:
|
Tue, 1 Jan 2002 02:28:58 GMT
|
Viewed:
|
854 times
|
| |
| |
In lugnet.publish, Curt Tigges writes:
> In lugnet.publish, Allan Bedford writes:
> > In lugnet.publish, Curt Tigges writes:
> > > In lugnet.publish, Michael Golaszewski writes:
> > > > Hi there,
> > > >
> > > > When you use Frontpage, you should upload your site into the following FTP
> > > > directory:
> > > > ftp://ozbricks.com/www
> > >
> > > I hadn't done that before, so tried it just a few minutes ago and it sort of
> > > worked. Only the page index.htm was accessible from the internet, and the
> > > background was gone. Also, the picture and link didn't work. If you want to
> > > look at it it's at http://www.ozbricks.com/ulfstarforce/index.htm .
> >
> > I can see your welcome page. And there is no background, or picture.
>
> Or other pages, or links.
I see (and hear) a lot of stuff there now. :)
> > If you look at the ham-fisted source code that Front Page has created for
> > you, you'll notice that this is the link set to your picture:
> >
> > <img border="0"
> > src="Welcome%20to%20the%20United%20Lego%20Federation.WEB/Vortec%20space.jpg"
> > width="480" height="360"></p>
> >
> > A couple things come to mind here.
> >
> > 1) Did you use a 'Long File Name', including spaces, to name your picture
> > file?
>
> You mean is contrast with the old MS-DOS limitations of eight characters, a
> period, and three characters for an extension?
Yes, the old eight-dot-three naming convention. :)
> I made sure that none of the file names or directories had spaces in the
> filenames, just in case.
I usually do the same as well when creating web pages.
> > > What directory are you talking about? The one on my computer?
> >
> > Both the one on your PC, and the one on the server.
>
> Ah. Now I understand. It did end in .WEB, so I guess I'd better change it.
Was this change what allowed your background and links to load?
> > If this is to be a simple set of webpages, then do yourself a favor and keep
> > all the files in one directory.
>
> Actually, both unfortunatly and fortunatly, it is not a simple set of
> webpages. It contains 172 files, including 140 pictures and 16 pages. But,
> all the files are in one directory (UnitedLF.WEB) or a subdirectory of
> UnitedLF.WEB.
A rather ambitious project for someone who doesn't know much about HTML. ;)
My advice. Take a few minutes sometime to either run through some of the
"Beginner's Guide to HTML" web sites that are all over the net. Or, as
mentioned before, view the source code of other web sites. At least learn
enough of the basics that you're not relying on Front Page to do everything
for you.
> > But remember that some HTML programs will
> > read in the path to the file on your own computer and put that in the code.
> > This becomes something called an 'absolute path'. What you really want is
> > something like the example I described above, which is called a 'relative
> > path'. The idea being that the code works equally well on both your PC and
> > once the files have been uploaded to the server.
>
> Does that mean that I need to change the internal links in my website to the
> full internet path?
I would say.... no.
The full internet path (if we're talking about the same thing) is what's
called an absolute path. The problem with it is that if you ever move your
files, you are faced with making changes throughout your code.
Quick example.
Let's say you host your site on lotsaLEGO.com.
Your home page might be something like:
http://www.lotsaLEGO.com/mysite/index.htm
A link from that page (within the code for this page) to say your contact
page, can take one of two forms:
1) <A HREF="http://www.lotsaLEGO.com/mysite/contact.htm">My Contact Page</A>
2) <A HREF="contact.htm">My Contact Page</A>
Example one is.... BAD.
Example two is.... GOOD.
The problem with example one is that if you ever move your index.htm page to
another domain or server, you will likely end up with a broken link to your
contact page. The second example works no matter where the two pages are
located, so long as they are in the same directory. :)
> > My last bit of advice is this... it's o.k. to use Front Page, for
> > formatting, colors, image placement etc. But why not take a few minutes to
> > look at some other pages on the web and see how they accomplish the same
> > task. Remember that HTML can be written with a program as simple as
> > NotePad. It's just a simple 'mark up' language, meaning that it is really
> > just code-like commands that tell the browser how to display text, pictures
> > etc. I found that by learning at least basic HTML, you can often have more
> > control over your pages than with a program as powerful/complicated as Front
> > Page.
>
> I would use a less complicated program, but unfortunatly I don't know much HTML.
As mentioned above... if you're going to set up and maintain a large site
then I think it's worth a couple of hours to learn some basic HTML tags.
Just my opinion.
> > Here's an example you may wish to take a look at:
> >
> > http://www.apotome.com/builder/index.htm
> >
> > This page was written by hand, but uses only a few images and some simple
> > text formatting. It's kind of boring, but it's exactly what I wanted, and
> > with no extra code put in by Front Page. Front Page works *fairly* well,
> > but it writes really ugly HTML code.
> >
> > My pages are always done in a program called NoteTab Pro:
> >
> > http://www.notetab.com
> >
> > It's sort of like NotePad on steroids. It allows me to write macros for
> > common tasks and to utilize colored text editing, to see comments separated
> > out from regular code etc.
>
> Well, I'll investigate that program. Is NoteTab as complicated as FrontPage?
It's nothing like Front Page, so it's not really a fair comparison. NoteTab
is a text-only editor. Meaning you're coding your pages by hand. This only
works if you've actually learned some HTML. :)
Although NoteTab only handles text, it does it better than any other text
editor I know of. I've been using it for over 5 years now. I gave up
looking for a better text editor. It has it's own proprietary scripting
language that allows you to write your own macros that can create a lot or a
little custom HTML code in a jiffy. For example....
Every time I write out the name of my own website, I always like to bold the
text. So I wrote a macro (known as a 'clip' in NoteTab) that creates this
code for me:
<B>Expert Builder</B>
With the single click of the mouse.
I use a similar one each time I refer to the trademarked word LEGO:
LEGO<SUP><FONT SIZE="-1">®</FONT></SUP>
Again, it takes me only a single mouse click to pop that line of code into
my page. There is a good argument to be made that you can create HTML code
faster in NoteTab (or some similar super editor) than you can in a WYSIWYG
application like Front Page.
I'm just way too anal retentive to let Front Page mess with my nice clean
HTML code. I learned HTML one weekend by accident. To just get an
understanding of HTML takes only a couple (maybe 3 or 4 tops) hours. If
you're interested, you might want to try a tutorial like this one:
http://www.davesite.com/webstation/html/
Hope that helps. :)
All the best,
Allan B.
|
|
Message has 1 Reply: | | Re: Problems with website publishing
|
| Allan Bedford wrote: <SNIP!> (...) ;) (...) everything (...) What I used, which was a TREMENDOUS help in learning html, was _Creating Websites, For Dummies_ from IDG books. In addition to lots of information and how-to's in the text, it had (...) (23 years ago, 2-Jan-02, to lugnet.publish)
|
Message is in Reply To:
| | Re: Problems with website publishing
|
| (...) Or other pages, or links. (...) You mean is contrast with the old MS-DOS limitations of eight characters, a period, and three characters for an extension? I made sure that none of the file names or directories had spaces in the filenames, just (...) (23 years ago, 1-Jan-02, to lugnet.publish)
|
13 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|