Link a Google Base item to your website


Here is how you can set the alternate link using the PHP client library. When someone clicks on your item in Google Base, he/she will be redirected to your site.
<?
$link = new Zend_Gdata_App_Extension_Link(); 
$link->setHref('http://www.example.com'); 
$link->setRel('alternate'); 
$link->setType('text/html');  
$linkArray[] = $link; 

$entry->setLink($linkArray); 
?>
Here is the underlying XML:
<link rel='alternate' type='text/html' href='http://www.example.com'/>

3 comments:

Jatin Sethi said...

The assortment and range of rehab programs coordinates the physical decent variety of drug habit. There are basic gathering advising programs that are liberated from cost. There are the superstar driven private treatment programs which are regularly cited in the media. By far most of projects center around treatment of physical and mental parts of compulsion
recovery quotes
rehab quotes

Jatin Sethi said...

it's protected to state that really an extraordinary arrangement each person with a dick loves free porn, myself notwithstanding, so it's no wonder YesPornPlease is one of my favored porn tube locales ever. The site is 100% allowed to join up with and you gain admittance to stores of detached intimate moments and recordings featuring the freshest novices and the biggest porn stars inside the worldwide. Not best do you get admission to exceptional adult substance, anyway you could transfer and download something you need, join channels and porn stars, and offer all the recordings you need each time you need.
yespornplease
yespornplease.com

Mark Henry said...
This comment has been removed by the author.