I replaced the spaces with underscorees and all was well!

On 10 Feb, 23:13, NewbieDom <[email protected]> wrote:
> GBaseEntry entry = new GBaseEntry();
>
>     AtomLink link = new AtomLink(AtomLink.HTML_TYPE  ,
> BaseNameTable.ServiceAlternate);
>                                 string strLink = "http://www.big-boys-
> toys.org/Main.aspx?Category=" + category + "&KeyWords=" +
> HttpUtility.UrlPathEncode(myItem.ItemAttributes.Title);
>                                 link.HRef = new AtomUri(strLink);
>       entry.Links.Add(link);
>
> I have spaces in my link tohttp://www.big-boys-toys.org/from google
> base....and even though they're encoded I get an Illegal chars respnse
> char 76 i believe is the first space:-
>
> "[Line 32, Column 175, element link] Illegal character in query at
> index 76:http://www.big-boys-toys.org/Main.aspx?Category=Electronics&KeyWo...
> Cruzer Micro 8GB U3 Readyboost Flash Drive"
>
> Does anyone have a workround?
>
> Thanks in advance...
>
> Dom

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Base Data API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Base-data-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to