Re: Creating individual .pub files



You are welcome, and hope we haven't led you down a bad path.

One suggestion if I haven't made it before now has to do with updating or
replacing an existing website. I have done total makeovers of my site on
occasion, and I have always worried about deleting the old site before
confirming the new site is up and functioning. My workaround for this has
been to log on to my host and rename the original index.htm file to
index.htmOld and the index_files folder to index_filesOld before uploading
the new files. If the new files don't work as I expected, I delete them from
the host, and go back and rename the original files and folder, remove "Old"
from both, and I have my old site back up. Only after I have the new site up
and running do I finally delete the old files on the server. And of course
keep a copy of your original Publisher file that has the original site, so
that if you must, you can recreate the original html files and upload again.

And one more tip. You mentioned building your own menu/navbar. If you build
a textual navbar you can add some CSS code to each page to get a more
dynamic menu. Using the insert html code fragment tool, try inserting the
following code snippets one at a time on a page on your site that has
regular underlined hyperlinks, do a web page preview and then mouseover the
links.

--------

<style>
a{text-decoration:none}
</style>

--------

<style>
a{text-decoration:none}
a:hover {color: #930015; font-weight: bold;}
</style>

--------


<style>
a:hover {color: #930015; font-weight: Bold; text-decoration: none;}
</style>

---------

You can vary the font color, whether to use the bold text mouseover effect,
and/or remove or add the underline by varying this basic code snippet.
Remember that the code snippet has to be inserted on each page...just stick
in the corner some where.

Oh...and to determine the color code, download and use the free color picker
tool Pixie: http://www.nattyware.com/pixie.html
A great tool that Mary told me about.

nuff...DavidF

"Christiaan" <Christiaan@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:CEEE7495-3092-4C0F-B383-63BF10F09821@xxxxxxxxxxxxxxxx
Sorry for taking so long to respond but your suggestions does make a lot
of
sense and the links will be easier to manage your way. I see what you are
saying about the amount of pages per section so I am now faced with a
decision. My site is having a slow start but yes, if that changes, the
sections will grow very rapidly and I will have to restructure the site. I
think that while my site is currently published, rather do the big work
now.

Thanks for your and Mike's help, I will shout if I need anything else.

"DavidF" wrote:


Your current home page:
http://www.siyayasa.com/index.htm

Current link to Limpopo page:
http://www.siyayasa.com/index_files/Limpopopage.htm
Link after creating new Pub file, Limpopo.pub, saving home page as
limpopo.htm instead of index.htm or limpopopage.htm when you Publish to
the
web, and uploading to a new folder on your host called "limpopo":
http://www.siyayasa.com/limpopo/limpopo.htm
I would suggest that you consider getting away from using uppercase,
unless
you can be very consistent. I also don't know why you couldn't use
limpopo.htm instead of limpopopage.htm??? I just don't see the need to
use
the "page" part. Unless you have a good reason for that, I think the
shorter
version is better. Plus one of the reasons to use "limpopo.htm" vs
"index.htm" is that in theory it will help with search engine optimzation
SEO. It seems to me that the search engines might like to see the name of
the province, and not provincepage. The main thing is it would be
shorter...
And keep in mind what Mike said, it can be a good thing to use "index"
for
the default home page for many reasons.

Then if I understand you correctly, the individual cities and all the
links
from those cities will be part of the limpopo Pub file. So if you follow
the
link to Ellisras that link right now is:
http://www.siyayasa.com/index_files/ellisras.htm
Now as a subpage of the limpopo Pub file the link will be:
http://www.siyayasa.com/limpopo/limpopo_files/ellisras.htm
Don't forget that when you Publish to the Web, and if you choose
something
other than index as the default file name then the index_files subfolder
(that contain your other pages and all the graphics) is changed to
reflect
the file name. So when you save the home page as limpopo.htm you will get
a
limpopo_files folder containing the other pages and the graphics.

So now I also assume that the accomodation page for Ellisras is part of
the
limpopo.pub file, so that link is now:
http://www.siyayasa.com/index_files/ellisrasaccommodation.htm
and would become:
http://www.siyayasa.com/limpopo/limpopo_files/ellisrasaccommodation.htm

Etc, etc...

So you would be working with 12 Publisher files and 11 subfolders on your
host. Your home page will be uploaded to exactly where it is now. It will
be
a single page, but will have both an index.htm file and an index_files
folder. One subfolder will be called "aboutus", another
"advertisewithus".
The other 9 subfolders on your host will be named "limpopo"...after the
province name. All these subfolders will located at the same level in the
directory as the index_files folder is for the home page.

Now is that what you are proposing and does the way the links are written
make sense to you?

Your organization seems logical and will make it easier to manage. If you
think the providence Pub files will end up being more than 30 or so
pages, I
would suggest that you consider an alternative. Keep all the main
sections
with the home page in one pub file of 12 pages, and produce eacy cities
content with a seperate pub file and their own subfolder on your host.
Yeah
a lot more initial work, but as you add content to the cities and even
more
cities, it will be easier to manage...just thinking out loud. Isn't the
city
content the most dynamic part of your site?

DavidF



"Christiaan" <Christiaan@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:1EDAE578-B4FE-46EF-85A3-46C2B36B4828@xxxxxxxxxxxxxxxx
Hell it's nice to have so much help, thanks guys!!!

I think what I am going to do now:
I am going to make my homepage a single .pub file.
Each of the 9 provinces consists of a provincial "homepage" and about
30
pages of content that relates to each province. For instance: the
Limpopo
"homepage" wil be linked from my site homepage and the content of
Limpopo
will be linked from the Limpopo "homepage" but the Limpopo "homepage"
will
still be called Limpopo.htm.

I think that I should give the about us and the advetise with us pages
their
own .pub files becuase they are going to be static. So in effect the
site
should look something like this:

index.htm(Site homepage)
Limpopo.htm
Mpumalanga.htm
Gauteng.htm
Northwest.htm
Freestate.htm
Kwazulunatal.htm
Northerncape.htm
Easterncape.htm
Westerncape.htm
aboutus.htm
advertisewithus.htm

I will build the nav bar myself with some text or small images. I am
just
not sure how the link will look that links index.htm(site homepage) to
the
provincial "homepages". Am I in the right direction?

"DavidF" wrote:

Now I understand. I actually addressed the issue of relative vs.
absolute
links in the looooong thread and discussion we had before (which I
doubt
you
read...way too long and wordy). I hope he realizes that the primary
challenge he faces is the navigation system. It needs to be such that
adding
a page does not require going back and changing 200 plus pages. Also
he
does
use custom file names instead of index.htm already, so that shouldn't
be
a
big change.

I am sure you are busy, but if you or anyone else have any ideas of
how
best
to organize his site, it is at http://www.siyayasa.com/.

About the only argument I can think of for breaking it up to one page
per
Pub file is that if he eventually decided to switch to a server side
database, having the individual pages could make the conversion
easier.

A bit off topic, but do you know anyway to import a textual navbar,
and
specifically one that looks like the typical bottom navbar, into a
page?
I
currently import a javascript menu to each page that only requires
changing
the javascript in one folder on my host, and the change is reflected
in
each
page. I can tell Christian how to do that, but I haven't figured out
how
to
import a textual navbar at the bottom of each page. And if anybody
else
has
an idea, I would appreciate it.

DavidF

"Mike Koewler" <wordwiz@xxxxxxxx> wrote in message
news:82eac$48050953$42a1fb54$21771@xxxxxxxxxxx
David,

Unless Christian is anal retentive like me, he has used relative
links,
so
copying and pasting text or object with links will mean they are
broke.
He
will also have to be very careful renaming pages so he doesn't end
up
with
a couple dozen index.htm pages.

I faced this problem at the end of 2006. For week after week, I kept
adding pages of news, links to other groups, etc. Suddenly my file
was
out
of control with over 300 pages. So I copied just the main pages to a
new
file and used absolute links instead of relative ones. I then
deleted
all
of those pages and uploaded the file to /2006. Then I created a
/2007
folder and file and kept the copied pages as my main file. It gets
updated
to my root directory, which has links to the 2006 and now 2007
archives.

Even now, once a file gets to about 60 pages, I start a new one with
only
the skeleton pages and rename it something like 2008April.wpp. I can
do
incremental updates without deleting files so that isn't a problem.

I do something similar with a site I do for my church. Since I add
at
least 12 pages a month, it was becoming way too large also. Now
stuff
goes
into a 2008 folder or a special events folder. Yeah, I have more
native
files, but they stay relatively small in size. Also, and I don't
know
if
Pub allows this or not, I can insert an "offsite" page and have it
automatically included in the Nav Bar

Mike

DavidF wrote:
Mike,

Thanks for jumping in here. Would you please elaborate on why you
say
it
would be a disaster? Also, can you suggest a "best" way for
Christiaan
to
break his site up and organize it. Single pages/single pub files
seems
overkill to me too, but I am curious about why you said it. Thanks.

DavidF

"Mike Koewler" <wordwiz@xxxxxxxx> wrote in message
news:17733$4804126b$42a1fb54$5706@xxxxxxxxxxx

Christiaan wrote:

I am going to make each page an individual .pub file.

You are looking at a disaster waiting to happen if you do this.

Mike









.



Relevant Pages

  • Re: linking to pub files in more languages
    ... The German version of your site is not in a subfolder called "deutsch". ... You do not say how you are uploading your files to your host. ... at the same level as the current index_files folder, ...
    (microsoft.public.publisher.webdesign)
  • Re: Web Page Not Found
    ... As you are already used to not using the subfolder, ... all contained in one folder. ... host your site then upper and lower case must match exactly, ... easier to upload with just an index.htm file and an index_files folder. ...
    (microsoft.public.publisher.webdesign)
  • Re: Web Page Not Found
    ... As you are already used to not using the subfolder, ... all contained in one folder. ... host your site then upper and lower case must match exactly, ... easier to upload with just an index.htm file and an index_files folder. ...
    (microsoft.public.publisher.webdesign)
  • Re: Hyperlinks
    ... folder on the same root level as my index.htm & index_file. ... labeled each picture only to realize that on mouseover it just said "picture" ... Now use this code snippet: ... the link points to a webpage and the IMG points to an image ...
    (microsoft.public.publisher.webdesign)
  • Re: RDO objects and C#
    ... OutlookSpy - Outlook, CDO ... The error occurs after reading say around 700/800 emails in one folder. ... RDOFolder rdoFolder = rdoFolders.GetFirst; ... RDOFolder subFolder; ...
    (microsoft.public.outlook.interop)