Re: Website Pub File Corrupted



John,

Yes, you can download the html files, and open them with Pub 2002+. And you
can do minor edits on each page, but you are doing that in a Publisher file
on your local hard drive, albeit a temp file. You are creating a Pub file
when you open and convert the .htm files in Publisher. Then you create new
code...new .htm files when you Publish to the web. You aren't editing the
code directly such as you could do if you opened the .htm file in NotePad or
FrontPage or other code editors.

However, unless you rebuild your site in the Pub file, you will never be
able to do major changes to your site, add pages, move pages, or get the
navbar to work correctly as the Pub html coding engine writes relative links
to each page and each graphic. Open just the home page in Publisher and add
a new page, and that page will conflict with the original second page of
your site when you try to create new html. Minor edits by downloading and
opening individual .htm pages, and creating temporary Pub files to do the
edit, and producing new html files...yes. Major edits of your whole site and
navigation system, no. Not without rebuilding your Publisher file as
indicated in David Bartosik's article. The ability to download and open
individual .htm files in Pub 2002+ is a good thing, but it is not
recommended as a standard way of managing and maintaining a Publisher
website. You should do that from a Pub file on your local computer.

I don't know what to say about your experience with the bottom navbar other
than what I have said. I view your main site http://johngriff.com/ with IE
6, FF and Opera and the bottom navbar links are active and working now. Are
you saying that they don't work in IE 7? I would guess that if you choose to
download the html files and "edit" them one page at a time as you propose,
then that is likely to break any wizard built navbar eventually. I don't
know of any other reason why your bottom navbar would not work correctly in
IE 7.

Thanks.

DavidF

"John G" <Greentest@xxxxxxxxxxxxxx> wrote in message
news:4772185d$0$6809$5a62ac22@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
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.














.



Relevant Pages

  • Re: Website Pub File Corrupted
    ... Yes, you can download the html files, and open them with Pub 2002+. ... Publisher file on your local hard drive, ... creating temporary Pub files to do the edit, ...
    (microsoft.public.publisher.webdesign)
  • Re: Website Pub File Corrupted
    ... Yes, you can download the html files, and open them with Pub 2002+. ... Publisher file on your local hard drive, ... I never meant to imply you could edit the HTML code as you can in Notepad ... navbar to work correctly as the Pub html coding engine writes relative ...
    (microsoft.public.publisher.webdesign)
  • Re: Website Pub File Corrupted
    ... in just editing the html code in Publisher. ... When you "Publish to the Web", the Publisher html coding engine produces ... given your comment about the bottom navbar. ... I can download the published files from the web server and that ...
    (microsoft.public.publisher.webdesign)
  • Re: I have lost my site on my hard drive.
    ... When you build the site with Publisher and then save it as a ... Website it creates the html pages and image pages. ... I tried to download it in Frontpage, it> came down but a total mess. ...
    (microsoft.public.publisher.webdesign)
  • Re: Why does pasted text appear in a table in Publisher 2007?
    ... When you copy HTML and paste into Publisher more times than not it will paste ... There is a nice little utility you can download, free, that will turn any copied ... Mary Sauer MSFT MVP ...
    (microsoft.public.publisher)