Re: Website Pub File Corrupted
- From: "John G" <Greentest@xxxxxxxxxxxxxx>
- Date: Wed, 26 Dec 2007 20:01:10 +1100
David,
I only started this because I believed it was possible to get your
index.htm and your index_files back from the web if you lost your local
files and I think I can say that both the bloated files and the filtered
files can be brought back and edited. And NO *.Pub file need ever exist
on your local drive. Oh! Yes the big one is Saved AS and the small one
is
Publish to the WEB .
As for the Nav bar, the bottom bar NEVER works in either Pub2003 or 2007
either when the default browser is IE7 or Firefox.
BUT if a new page is constructed using PUB2002 (TWO) then both the side
and bottom Nav bars work and can be added to.
I do not currently have a problem, I am just discussing and exploring
some parts of Pub for Web site gneration. Thank you for replying.
--
John G.
"DavidF" <Nope@xxxxxxxxxx> wrote in message
news:e9eWSr1RIHA.3916@xxxxxxxxxxxxxxxxxxxxxxx
John,
I think I see what you are doing now, and why you are having some
success in just editing the html code in Publisher.
When you go to http://johngriff.com/tmp2/ and compare the file sizes
of the three test sites, you get your first clue. Notice that the 2007
file is only 44kb, while the other two are much larger at 303 kb and
406 kb? I am betting that when you produced the html code for the Pub
2007 site, you did a "Publish to the Web", but when you used Pub 2007
you did a "Save As" a web page? "Save As" a web page is the proper way
of doing it in Pub 2000, and "Export As" in Pub 2002. At least MSFT
has been consistent between 2003 and 2007.
When you "Publish to the Web", the Publisher html coding engine
produces "filtered" html code, or the lightest cleanest code possible.
When you do a "Save As", Publisher produces "Rich" code or a "heavy
page" that contains Office tags and coding that allows you to open the
.htm files in Pub and edit them. You can't do the same thing with
filtered pages, but the file sizes are a lot smaller and load faster.
You can see the difference in all the lines of code if you View >
Source.
I think it is these "Rich" pages with the heavy code that gives
Publisher web sites such a bad rep for code bloat. This is part of
what Rob was commenting on when he suggested that Publisher "excreted"
its code. ;-). And you can see the point. The difference between 44
and 303 kb is huge. I hope Rob catches this thread so he can see an
example of how Publisher can produce code that isn't as bloated as it
used to be.
I also suspect that you are using FireFox or some other browser as
your default, given your comment about the bottom navbar. The links
work in IE, but don't in FF, Opera and probably Safari. Tis a bug. One
workaround is to ungroup the bottom navbar from the side navbar. Just
select it, Arrange, ungroup. Now the links will work, but the navbar
won't be updated if you add a page...you will have to do it manually.
You also have to do it on each page if I remember correctly.
Anyway, if you want to continue doing it the way you are, then that is
up to you. The one big draw back I see might be that you can only work
on one page at a time, and the pages will be heavier. However, given
that your web page code is in "rich" code, it won't be hard for you to
assemble a Pub file if you choose, or break the pages up into separate
Pub files and manage your site that way. Anyway, if you want more
details on that, let me know.
Thanks for taking the time to make and publish those example sites.
DavidF
"John G" <Greentest@xxxxxxxxxxxxxx> wrote in message
news:47719364$0$6801$5a62ac22@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
David,
For some reason Insert page never worked well on that site but it is
not just because there is no pub file.
If you go to http://johngriff.com/tmp2/ you will find a new file
Publication1.htm and Publication1_files
They were a clean new Pub 2003 saved as htm and when retrieved from
the server they could be modified and pages added and the nav bar
wizard works Partly.
No matter what I do with a NEW web page(using 2003 or 2007) the
bottom navbar NEVER works although the wizard adds entries there when
it adds pages, only the left side bar links work. Even without saving
anything and only looking at WEB PAGE PREVIEW this is the case. I
think I have seen you mention this before but cannot remember the
details.
--
John G.
"DavidF" <Nope@xxxxxxxxxx> wrote in message
news:%23gh0vIyRIHA.3400@xxxxxxxxxxxxxxxxxxxxxxx
John,
Thanks. So you are saying that you don't work from a Publisher file
at all? How do you get the navbar wizard to work when you want to
add another page?
Nice picture...or should I say, Wot a picture?
DavidF
"John G" <Greentest@xxxxxxxxxxxxxx> wrote in message
news:47709042$0$6812$5a62ac22@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I am afraid I do not believe all that about copying and selecting
and pasting into a pub file in the David Bartosik article.
My site (which you have seen, DavidF) has NO associated PUB file
anywhere on my computers or any where else.
Pub 2003 opens the index.htm file and after editing it saves both
the index.htm file and the Index_FILES folder.
I just downloaded these items using an FTP (WS_FTP) from one of the
locations and edited (with PUB) the downloaded index.htm.
Resaved it , Uploaded it and you can see the modified one at
http://johngriff.com/index.htm and the unmodified version at
http://members.ozemail.com.au/~john.griffiths/index.htm
Look at the last page called Blank to see that I added a graphic
(Wot a graphic?) and it is happilly there and the links to other
files also work Ok.
Normally both of these sites are the same and the links lead to
files in other places
--
John G.
"DavidF" <Nope@xxxxxxxxxx> wrote in message
news:eyZ2JsnRIHA.5400@xxxxxxxxxxxxxxxxxxxxxxx
Reference: Common Sense Computing 101 aka "Why in the world would
you lose your publisher file?" :
http://msmvps.com/blogs/dbartosik/archive/2006/01/19/81461.aspx
After a lot of good information about backing up, you will see a
way to rebuild your Pub file at the end of the article.
DavidF
"victorsm" <victorsm@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:0EEC6FD5-9CCD-4FB4-A895-D867BEC9572D@xxxxxxxxxxxxxxxx
The .pub file for my website is corrupted and I do not have a
good backup
file. I can download the published files from the web server and
that is all
I have. Is there any way to load the published server files back
into MS
Publisher and recreate the .pub file? I could sure use some help
on this
one.
.
- Follow-Ups:
- Re: Website Pub File Corrupted
- From: DavidF
- Re: Website Pub File Corrupted
- References:
- Re: Website Pub File Corrupted
- From: DavidF
- Re: Website Pub File Corrupted
- From: John G
- Re: Website Pub File Corrupted
- From: DavidF
- Re: Website Pub File Corrupted
- From: John G
- Re: Website Pub File Corrupted
- From: DavidF
- Re: Website Pub File Corrupted
- Prev by Date: Re: unable to read web pages
- Next by Date: Re: Website Pub File Corrupted
- Previous by thread: Re: Website Pub File Corrupted
- Next by thread: Re: Website Pub File Corrupted
- Index(es):
Relevant Pages
|
Loading