comparison php/read/getBookDetails.php @ 6:077b0a0a3e6d

remaining originals according to dependency walk
author Robert Boland <robert@markup.co.uk>
date Thu, 16 Feb 2017 22:29:02 +0000
parents a5e5475bf357
children 232deb0b066a
comparison
equal deleted inserted replaced
5:55445b456ad0 6:077b0a0a3e6d
250 $dewey = "null"; 250 $dewey = "null";
251 $imageURL = $xml->Items->Item->MediumImage->URL; 251 $imageURL = $xml->Items->Item->MediumImage->URL;
252 $salesRank = $xml->Items->Item->SalesRank; 252 $salesRank = $xml->Items->Item->SalesRank;
253 $pubDate = $xml->Items->Item->ItemAttributes->PublicationDate; 253 $pubDate = $xml->Items->Item->ItemAttributes->PublicationDate;
254 $publisher = $xml->Items->Item->ItemAttributes->Publisher; 254 $publisher = $xml->Items->Item->ItemAttributes->Publisher;
255 restore_error_handler(); 255 restore_error_handler();
256 /*echo $title; 256 /*echo $title;
257 echo $author; 257 echo $author;
258 echo $binding; 258 echo $binding;
259 echo $dewey; 259 echo $dewey;
260 echo $imageURL; 260 echo $imageURL;
336 $output .= "<Publisher>" . htmlspecialchars($publisher) . "</Publisher>"; 336 $output .= "<Publisher>" . htmlspecialchars($publisher) . "</Publisher>";
337 $output .= "<Genre1>" . htmlspecialchars($g1) . "</Genre1>"; 337 $output .= "<Genre1>" . htmlspecialchars($g1) . "</Genre1>";
338 $output .= "<Genre2>" . htmlspecialchars($g2) . "</Genre2>"; 338 $output .= "<Genre2>" . htmlspecialchars($g2) . "</Genre2>";
339 $output .= "<Genre3>" . htmlspecialchars($g3) . "</Genre3>"; 339 $output .= "<Genre3>" . htmlspecialchars($g3) . "</Genre3>";
340 $output .= "<ProductGroup>Book</ProductGroup>"; 340 $output .= "<ProductGroup>Book</ProductGroup>";
341 }
341 } 342 }
342 343
343 $output .= "</BookDetails>"; 344 $output .= "</BookDetails>";
344 345
345 echo $output; 346 echo $output;
346 }
347 } 347 }
348 ?> 348 ?>