2 messages in com.googlegroups.google-base-data-apiRe: Adding a link to Product Page Pro...| Subject: | Re: Adding a link to Product Page Problem![]() |
|---|---|
| From: | Ian (mu.l...@gmail.com) |
| Date: | 01/18/2008 08:23:55 AM |
| List: | com.googlegroups.google-base-data-api |
Hi,
For the link I use the following format ...
<link rel="alternate" type="text/html" href="http://blahblah" />
Might be worth trying something similar.
Regards,
Ian
On 1/17/08, Shaggy35 <st....@boobydoo.co.uk> wrote:
Hi
Just trying to insert a product, I've had success but then when I try and use the link attribute I get the following error
[Line 4, Column 72, element link] Link must have an 'href' attribute.
When i remove the link attribute it works fine
Here is my xml for the product
<?xml version='1.0'?> <entry xmlns='http://www.w3.org/2005/Atom' xmlns:g='http:// base.google.com/ns/1.0'> <g:item_type>products</g:item_type> <link>http://www.boobydoo.co.uk/products/productdetail.cfm? productid=4</link> <author> <name> Boobydoo Sports Bras UK </name> <email> goog...@boobydoo.co.uk </email> </author> <title> Shock Absorber Sports Bra Test </title>
<description> This long standing sports bra offers maximum support for running and high exertion exercise. With the use of dual action inner layers for bounce control, sectioned seaming and stay in place cushioned straps it provides comfort and performance, with Coolmax to wick moisture away from the body.The sports bra for the larger girl! </ description> <g:brand> Shock Absorber </g:brand> <g:condition> new </g:condition> <g:delivery> true </g:delivery> <g:delivery_notes> Shipped First Class Royal Mail </ g:delivery_notes> <g:department> Sports Bras </g:department> <g:feature> Impact Level 4 </g:feature> <g:material> Lycra </g:material> <g:mpn> Products </g:mpn> <g:link> http://www.boobydoo.co.uk/ </g:link> <g:image_link> http://www.boobydoo.co.uk/images/b109small.jpg </ g:image_link> <g:currency> GBP </g:currency> <g:location> Windermere, Cumbria, England </g:location> <g:payment_notes> All transactions securely handled by protx </ g:payment_notes> <g:price> 25.99 </g:price> <g:product_type> Sportswear </g:product_type> <g:quantity> 1 </g:quantity> <g:rating> NR </g:rating> <g:size> Various </g:size> </entry>
Thanks in advance
Shaggy




