Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
function returndata(blog)
function returndata($item){
$info['ISBN'] = $item->Items->Item->ItemAttributes->EAN;
$info['Title'] = $item->Items->Item->ItemAttributes->Title;
$info['Author'] = $item->Items->Item->ItemAttributes->Author;
$info['Creator'] = $item->Items->Item->ItemAttributes->Creator;
$info['Binding'] = $item->Items->Item->ItemAttributes->Binding;
$info['Publ_date'] = $item->Items->Item->ItemAttributes->PublicationDate;
$info['Publisher'] = $item->Items->Item->ItemAttributes->Publisher;
$info['Price'] = $item->Items->Item->ItemAttributes->ListPrice->Amount;
return $info
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment