amp; problem

F

Fred

Can anyone tell me how I can stop FP 2002 adding these darn amp; to many of
my links.
Sample part of a link .com/click?p=11912&a=935415&g=90396&url=
It would appear to add amp; after the & and I can't think why. Can you?
 
T

Tom Pepper Willett

Are you using an ampersand (&) in your links? If so, that's how it
translates. If you are using &, it should not be used.

--
===
Tom "Pepper" Willett
Microsoft MVP - FrontPage
---
About FrontPage 2003:
http://office.microsoft.com/home/office.aspx?assetid=FX01085802
FrontPage 2003 Product Information:
http://www.microsoft.com/office/frontpage/prodinfo/default.mspx
Understanding FrontPage:
http://msdn.microsoft.com/office/understanding/frontpage/
FrontPage 2002 Server Extensions Support Center:
http://support.microsoft.com/default.aspx?scid=fh;en-us;fp10se
===
| Can anyone tell me how I can stop FP 2002 adding these darn amp; to many
of
| my links.
| Sample part of a link .com/click?p=11912&a=935415&g=90396&url=
| It would appear to add amp; after the & and I can't think why. Can you?
|
|
 
M

Murray

But you NEED an ampersand in some dynamic links, no?

For example, <a href="foo.asp?blah=abc&blah2=xyz">?
 
T

Tom Pepper Willett

Correct, Murray. Thanks for the catch. I was thinking of another charcter.
& is fine.

--
===
Tom "Pepper" Willett
Microsoft MVP - FrontPage
---
About FrontPage 2003:
http://office.microsoft.com/home/office.aspx?assetid=FX01085802
FrontPage 2003 Product Information:
http://www.microsoft.com/office/frontpage/prodinfo/default.mspx
Understanding FrontPage:
http://msdn.microsoft.com/office/understanding/frontpage/
FrontPage 2002 Server Extensions Support Center:
http://support.microsoft.com/default.aspx?scid=fh;en-us;fp10se
===
| But you NEED an ampersand in some dynamic links, no?
|
| For example, <a href="foo.asp?blah=abc&blah2=xyz">?
|
| --
| Murray
|
| | > Are you using an ampersand (&) in your links? If so, that's how it
| > translates. If you are using &, it should not be used.
| >
| > --
| > ===
| > Tom "Pepper" Willett
| > Microsoft MVP - FrontPage
| > ---
| > About FrontPage 2003:
| > http://office.microsoft.com/home/office.aspx?assetid=FX01085802
| > FrontPage 2003 Product Information:
| > http://www.microsoft.com/office/frontpage/prodinfo/default.mspx
| > Understanding FrontPage:
| > http://msdn.microsoft.com/office/understanding/frontpage/
| > FrontPage 2002 Server Extensions Support Center:
| > http://support.microsoft.com/default.aspx?scid=fh;en-us;fp10se
| > ===
| > | > | Can anyone tell me how I can stop FP 2002 adding these darn amp; to
many
| > of
| > | my links.
| > | Sample part of a link
| > .com/click?p=11912&amp;a=935415&amp;g=90396&amp;url=
| > | It would appear to add amp; after the & and I can't think why. Can
you?
| > |
| > |
| >
| >
|
|
 
T

Tom Pepper Willett

You didn't answer my question: Are you using ampersand?

--
===
Tom "Pepper" Willett
Microsoft MVP - FrontPage
---
About FrontPage 2003:
http://office.microsoft.com/home/office.aspx?assetid=FX01085802
FrontPage 2003 Product Information:
http://www.microsoft.com/office/frontpage/prodinfo/default.mspx
Understanding FrontPage:
http://msdn.microsoft.com/office/understanding/frontpage/
FrontPage 2002 Server Extensions Support Center:
http://support.microsoft.com/default.aspx?scid=fh;en-us;fp10se
===
| Thanks Tom & Murray but does anyone have the answer?
|
| | > You're welcome!
| >
| > --
| > Murray
| >
| > | >> Correct, Murray. Thanks for the catch. I was thinking of another
| >> charcter.
| >> & is fine.
| >>
| >> --
| >> ===
| >> Tom "Pepper" Willett
| >> Microsoft MVP - FrontPage
| >> ---
| >> About FrontPage 2003:
| >> http://office.microsoft.com/home/office.aspx?assetid=FX01085802
| >> FrontPage 2003 Product Information:
| >> http://www.microsoft.com/office/frontpage/prodinfo/default.mspx
| >> Understanding FrontPage:
| >> http://msdn.microsoft.com/office/understanding/frontpage/
| >> FrontPage 2002 Server Extensions Support Center:
| >> http://support.microsoft.com/default.aspx?scid=fh;en-us;fp10se
| >> ===
| >> | >> | But you NEED an ampersand in some dynamic links, no?
| >> |
| >> | For example, <a href="foo.asp?blah=abc&blah2=xyz">?
| >> |
| >> | --
| >> | Murray
| >> |
| >> | | >> | > Are you using an ampersand (&) in your links? If so, that's how it
| >> | > translates. If you are using &, it should not be used.
| >> | >
| >> | > --
| >> | > ===
| >> | > Tom "Pepper" Willett
| >> | > Microsoft MVP - FrontPage
| >> | > ---
| >> | > About FrontPage 2003:
| >> | > http://office.microsoft.com/home/office.aspx?assetid=FX01085802
| >> | > FrontPage 2003 Product Information:
| >> | > http://www.microsoft.com/office/frontpage/prodinfo/default.mspx
| >> | > Understanding FrontPage:
| >> | > http://msdn.microsoft.com/office/understanding/frontpage/
| >> | > FrontPage 2002 Server Extensions Support Center:
| >> | > http://support.microsoft.com/default.aspx?scid=fh;en-us;fp10se
| >> | > ===
| >> | > | >> | > | Can anyone tell me how I can stop FP 2002 adding these darn amp;
to
| >> many
| >> | > of
| >> | > | my links.
| >> | > | Sample part of a link
| >> | > .com/click?p=11912&amp;a=935415&amp;g=90396&amp;url=
| >> | > | It would appear to add amp; after the & and I can't think why.
Can
| >> you?
| >> | > |
| >> | > |
| >> | >
| >> | >
| >> |
| >> |
| >>
| >>
| >
| >
|
|
 
J

Jack Brewster

Are you having problems with links failing when FP modifies them? What
DOCTYPE are you using on your pages?

"&amp;" is the URL encoded representation of "&" in URLs. The encoded
version is "more correct." Here's a quote that may or may not illustrate
why:

From http://www.designbyfire.com/000084.html - Comment #6 - Roger

"Just a note about the reason for encoding ampersands in URLs. If you don’t
encode them, some browsers will interpret them as the start of an HTML
entity, and if the text immediately following the unencoded ampersand
matches an entity, the URL (the query string part of it) will be broken."
 
D

Don

Most likely you have searched too...

This is all I came up with.

The only correct way to show the '&' character in HTML (like the
htsearch results) is with the &amp; entity. Using the ampersand
character alone can confuse some browsers.

BUT, there is a bug in "Microsoft ASP.NET" (included with the .NET
Framework 1.1) Here is an article that addresses this problem.
BUG: Ampersand Character in an Attribute Value Is Converted to an Entity
When You Switch from Design View to HTML View
http://support.microsoft.com/default.aspx?scid=kb;en-us;821345#kb2
Visual Studio .NET Editor Malforms HTML Tags
http://support.microsoft.com/kb/316946/EN-US/

Not much help 8(

Don
===============================
| Thanks Tom & Murray but does anyone have the answer?
|
| | > You're welcome!
| >
| > --
| > Murray
| >
| > | >> Correct, Murray. Thanks for the catch. I was thinking of another
| >> charcter.
| >> & is fine.
| >>
| >> --
| >> ===
| >> Tom "Pepper" Willett
| >> Microsoft MVP - FrontPage
| >> ---
| >> About FrontPage 2003:
| >> http://office.microsoft.com/home/office.aspx?assetid=FX01085802
| >> FrontPage 2003 Product Information:
| >> http://www.microsoft.com/office/frontpage/prodinfo/default.mspx
| >> Understanding FrontPage:
| >> http://msdn.microsoft.com/office/understanding/frontpage/
| >> FrontPage 2002 Server Extensions Support Center:
| >> http://support.microsoft.com/default.aspx?scid=fh;en-us;fp10se
| >> ===
| >> | >> | But you NEED an ampersand in some dynamic links, no?
| >> |
| >> | For example, <a href="foo.asp?blah=abc&blah2=xyz">?
| >> |
| >> | --
| >> | Murray
| >> |
| >> | | >> | > Are you using an ampersand (&) in your links? If so, that's how it
| >> | > translates. If you are using &, it should not be used.
| >> | >
| >> | > --
| >> | > ===
| >> | > Tom "Pepper" Willett
| >> | > Microsoft MVP - FrontPage
| >> | > ---
| >> | > About FrontPage 2003:
| >> | > http://office.microsoft.com/home/office.aspx?assetid=FX01085802
| >> | > FrontPage 2003 Product Information:
| >> | > http://www.microsoft.com/office/frontpage/prodinfo/default.mspx
| >> | > Understanding FrontPage:
| >> | > http://msdn.microsoft.com/office/understanding/frontpage/
| >> | > FrontPage 2002 Server Extensions Support Center:
| >> | > http://support.microsoft.com/default.aspx?scid=fh;en-us;fp10se
| >> | > ===
| >> | > | >> | > | Can anyone tell me how I can stop FP 2002 adding these darn amp;
to
| >> many
| >> | > of
| >> | > | my links.
| >> | > | Sample part of a link
| >> | > .com/click?p=11912&amp;a=935415&amp;g=90396&amp;url=
| >> | > | It would appear to add amp; after the & and I can't think why.
Can
| >> you?
| >> | > |
| >> | > |
| >> | >
| >> | >
| >> |
| >> |
| >>
| >>
| >
| >
|
|
 
T

Thomas A. Rowe

Switch to HTML view and do a search and replace, then save the page while in HTML view.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
T

Thomas A. Rowe

However there are some sites that offer referral linking and require the "&" and not ""&amp;".
Hopefully most of these sites are gone now or have updated they back-end scripting application.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
Top