To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.publishOpen lugnet.publish in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Publishing / 3066
3065  |  3067
Subject: 
Re: Problems with website publishing
Newsgroups: 
lugnet.publish
Date: 
Sun, 30 Dec 2001 01:23:11 GMT
Viewed: 
792 times
  
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.

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?  In other words, what is the name of this file on your hard drive?  If
it's something like 'Vortec Space.jpg' try renaming it to VSpace.jpg.  Get
rid of any actual spaces in the file name.

2)  Does this file exist in the same directory (both on your PC and on the
server) as the index.htm file?  If not, you need to make sure that your SRC
HTML code points to the correct directory.

Ex.  If the two files are in the same directory, then the code looks
*something* like this:

<IMG SRC="space.jpg" WIDTH="425" HEIGHT="150" BORDER="0" ALT="">

If, for example the picture is in a sub-directory of the folder where your
index.htm file resides, then the code changes to something like this:

<IMG SRC="subdir/space.jpg" WIDTH="425" HEIGHT="150" BORDER="0" ALT="">

snip<

You may also need to be careful when naming your directory.. ie: one of them
ends with ".web" , but it is a directory though, so maybe change it to
remove the " . "

What directory are you talking about? The one on my computer?

Both the one on your PC, and the one on the server.

If this is to be a simple set of webpages, then do yourself a favor and keep
all the files in one directory.  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.

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.

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.

I hope some of these comments help.  You've got the hard part done, the
index page is definitely loading, you just need to tackle those images.  :)

All the best,
Allan B.


Thanks for the help,
Curt Tigges



Message has 1 Reply:
  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)

Message is in Reply To:
  Re: Problems with website publishing
 
(...) 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 (...) (23 years ago, 30-Dec-01, 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
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR