> I'm trying to put together my personal website using Publisher. I want to
> add an html code fragment. I go to web preview, then go to source, but when
> notepad opens I don't get "insert" on the menu. I'm positive that I am in
> web mode. Please help out an amateur! Thanks - C
David, FWIW I suspect that Chanda was confused by the article within the
Office Online section:
Add an HTML code fragment to a Web page
The following is confusing:
"...Note: To view the HTML source code for a Publisher Web publication,
click Web Page Preview on the File menu, and then click Source on the View
menu.
On the Insert menu, click HTML Code Fragment.
Note: You must be in Web mode to view certain options specific to Web
publications. You can determine whether you're in Web mode by looking at the
title bar (title bar: A horizontal bar at the top of a window, dialog box,
or toolbar that shows the name of the document, program, or toolbar.) of
your open publication, which will display Web Publication if you're in Web
mode.
In the HTML Code Fragment box, insert your HTML code fragment by typing or
pasting from another source over the entire placeholder text.
Click OK. "
By having the first note preceding the directions of how to insert HTML code
fragments it seems to say that you do it directly from the Web page preview
into the HTML source code. Like I said, FWIW ;-)
DavidF
> While David corrected you quite well I just wanted to point out to you that
> web preview is literally just that - a preview. There is nothing functional
[quoted text clipped - 8 lines]
> > notepad opens I don't get "insert" on the menu. I'm positive that I am in
> > web mode. Please help out an amateur! Thanks - C
David Bartosik [MSFT MVP] - 11 Oct 2004 19:24 GMT
Thanx for pointing that out. I'm requesting a modification asap.
David Bartosik - [MSFT MVP]
www.publishermvps.com
www.davidbartosik.com
> David, FWIW I suspect that Chanda was confused by the article within the
> Office Online section:
[quoted text clipped - 46 lines]
> in
>> > web mode. Please help out an amateur! Thanks - C
David Bartosik [MSFT MVP] - 27 Oct 2004 17:21 GMT
FYI, this article has been modified.
http://office.microsoft.com/en-us/assistance/HP030661311033.aspx
David Bartosik - [MSFT MVP]
www.publishermvps.com
www.davidbartosik.com
DavidF - 27 Oct 2004 22:06 GMT
Good job! Leaves me wondering if Chanda ever came back to the newsgroup.
DavidF
> FYI, this article has been modified.
> http://office.microsoft.com/en-us/assistance/HP030661311033.aspx
>
> David Bartosik - [MSFT MVP]
> www.publishermvps.com
> www.davidbartosik.com
html confusion - 23 Nov 2004 13:27 GMT
I'm also attempting to insert an html fragment in tomy 2002 pub web page to
create a description and keyword meta tag. I am having trouble understanding
how to edit the existing source html code for the web page that I see when I
view source in preview mode. Is this accomplished in the web page design
mode? If so how do I do this? and how do I save the changes? I am trying to
insert the meta tags so that I can submit to search engines, but as you can
tell, I'm having no luck in doing so.
Thanks for any help you can offer.
> Good job! Leaves me wondering if Chanda ever came back to the newsgroup.
>
[quoted text clipped - 6 lines]
> > www.publishermvps.com
> > www.davidbartosik.com
DavidF - 23 Nov 2004 14:37 GMT
If your goal is to insert keywords and such, this was done under Web
Properties in version 2000...not by inserting HTML fragments or modifying
the code. From this article by David Bartosik:
http://www.publishermvps.com/Default.aspx?tabid=42
which describes the changes made in 2002: "One of the first changes you will
discover in 2002 is that the Web Properties dialog is gone. A similar dialog
is now located under the Tools menu, Options, Web Option button.".
If you truly want to edit the HTML code remember that this would have to be
done each time you modify the page before you upload the changes. That can
be done various ways, but one way is just go to the folder where you
published the code, find the index.html file, open it in IE, view source,
modify the code, and save the changes. Once again I would read the article
by David first as even the way Publisher 2002 code is written and saved was
changed from 2000, and was changed again if you installed the updates, use
sub-folders, etc.
Let us know if this answers your questions.
DavidF
> I'm also attempting to insert an html fragment in tomy 2002 pub web page to
> create a description and keyword meta tag. I am having trouble understanding
[quoted text clipped - 15 lines]
> > > www.publishermvps.com
> > > www.davidbartosik.com
David Bartosik [MSFT MVP] - 23 Nov 2004 17:30 GMT
HTML code fragments are included in the html body. There is no way to
include them in the html head. All meta tags go into the html head. Thus you
cannot create your own meta tags. Publisher supports meta tags (desc,
keyword) thru the web options dialog (in 2002 under tools menu).
BUT...........
the meta tags dialog was broken in 2002.
It was patched in Service Pack 2.
You want to upgrade your Pub 2002 to SP3 level.
Visit our site for the link - http://www.publishermvps.com - to the SP3
download.
David Bartosik - [MSFT MVP]
www.publishermvps.com
www.davidbartosik.com
> I'm also attempting to insert an html fragment in tomy 2002 pub web page
> to
[quoted text clipped - 20 lines]
>> > www.publishermvps.com
>> > www.davidbartosik.com
html confusion - 23 Nov 2004 17:53 GMT
So what you are saying is that after upgrading to sp3 I should be able to
insert the meta tags into the head location where they belong and not
actually place a code fragment on the page so that search engines recognize
that they are even there?
> HTML code fragments are included in the html body. There is no way to
> include them in the html head. All meta tags go into the html head. Thus you
[quoted text clipped - 35 lines]
> >> > www.publishermvps.com
> >> > www.davidbartosik.com
David Bartosik [MSFT MVP] - 23 Nov 2004 20:03 GMT
I'm saying after SP3 the values you input into the keyword and desc. dialog
box in web options will actually be coded into the html page.
David Bartosik - [MSFT MVP]
www.publishermvps.com
www.davidbartosik.com
> So what you are saying is that after upgrading to sp3 I should be able to
> insert the meta tags into the head location where they belong and not
[quoted text clipped - 47 lines]
>> >> > www.publishermvps.com
>> >> > www.davidbartosik.com