We're working with the eBay search APIs to do product searches and
we're running into a problem.  A lot of the item names have @ signs in
the name (a lot of "L@@K!" or "@ L@@K @".  We use the item name as the
link to the product, but in IE, the @ sign [under certain conditions,
described below] causes the URL to be messed up. Instead of displaying
the item name, it displays the actual URL. The link still works, but
it's not exactly user-friendly.

The cases that seem to cause it (that we know of):
1) two @ signs together ( @@ )
2) a single @ sign surrounded by spaces

When you get those results back on eBay's site, it doesn't cause a
problem, so they must have found some way around it. But everything
we've tried hasn't worked. We've tried displaying the HTML entities
(&#64), using HTMLEditFormat(), URLEncodedFormat(), and XMLFormat().
We've been able to get around the @@ problem by replacing them with
the letter O [since it's most likely that @@ are meant to be O's and
not a's].  But, with the single version, we can't necessarily assume
that.  And, we can't necessarily do replaces for every combination,
because we don't know them all.

So, does anyone know 1) why IE does this and 2) a good fix for it?

I've tried to Google it, but it's hard because the search basically
ignores @ symbols). And, I've tried to look in the eBay developer
forums.

Thanks!

-- 
-----------------------------------------
Scott Brady
http://www.scottbrady.net/

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:328514
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to