I am setting up my api code (php 5) to add a new product and am trying
to work out how to add the link to the page to the website where the
product actually is.

Everything I try doesn't work though.

This is what Im using:

$newEntry->link = 'the url goes in here';
$newEntry->link->type = 'url';

and this gives me an errror:


Warning: Attempt to assign property of non-object in C:\Program Files
(x86)\Apache Software Foundation\Apache2.2\htdocs\New or Used\admin
\modules\google api control.php on line 92

Warning: Invalid argument supplied for foreach() in C:\Program Files
(x86)\Apache Software Foundation\Apache2.2\htdocs\New or Used\admin
\Zend\Gdata\App\FeedEntryParent.php on line 181
--~--~---------~--~----~------------~-------~--~----~
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