6 messages in com.googlegroups.google-base-data-apiRe: How link a Product to my site usi...| From | Sent On | Attachments |
|---|---|---|
| RemotePortal | 23 Jan 2008 14:52 | |
| Jeff S | 25 Jan 2008 17:28 | |
| RemotePortal | 30 Jan 2008 14:03 | |
| wildref | 05 Feb 2008 09:06 | |
| wildref | 06 Feb 2008 12:26 | |
| RemotePortal | 13 Feb 2008 13:32 |
| Subject: | Re: How link a Product to my site using C#?![]() |
|---|---|
| From: | wildref (wild...@earthlink.net) |
| Date: | 02/05/2008 09:06:09 AM |
| List: | com.googlegroups.google-base-data-api |
Hi All,
I am also having this issue and was wondering if anyone has found a solution; i too am writing this in C#.
- Mike
On Jan 30, 4:03 pm, RemotePortal <Pete...@gmail.com> wrote:
Hi Jeff,
Not working yet.
I added this C# code:
entry.AlternateUri = new AtomUri(storeLink);
and I believe it added this XML to the document:
<link href="http://www.moviemars.com/beta/Store.aspx? view=item&ItemID=3277" rel="edit-media" type="application/atom +xml" />
which is different from what you suggested above, and it doesn't produce the desired effect. It still shows a GoogleBase page (doesn't jump to my site)
There is no entry.AlternateAtom property.
Any ideas?
Thanks in advance, Pete
On Jan 25, 8:28 pm, Jeff S <j....@google.com> wrote:
Hi Pete,
I think you are looking for the alternate link in your item. The alternate link specifies where a user is sent when they click on your item and the XML looks like this
<link rel='alternate' type='text/html' href='http://example.com/ Digital-Camera-Battery.html'/>
I think this would be an AtomLink rather than an AtomUri, did this work?
Thank you,
Jeff
On Jan 23, 2:52 pm, RemotePortal <Pete...@gmail.com> wrote:
I've searched for what seems like hours and can't seem to find the answer to this:
I need to do what most other products do: when site visitor clicks a product in Product Search/Google Base instead of showing product page in Google Base instead Google takes the visitor directly to the dot- com site of the merchant.
I think this is accomplished by the ActionURL tag?
1. In C#, I do this and it displays it as an attribute _rather_ than taking the user immediate to my dot-com site:
entry.GBaseAttributes.AddUrlAttribute("ActionURL", "http://www.mydomain.com");
2. Is this accomplished using the entry.Links collection in C#? If so does someone have an example? Do I use AtomLink or AtomUri object? I can't find any documatation.
Can anyone help me out? This should be easy!
Pete- Hide quoted text -
- Show quoted text -




