READ (from Worldcat)
out of a possible matches for your query ""
-
children('http://purl.org/dc/elements/1.1/');
foreach ($request->entry as $entry) {
$title = htmlentities($entry->title);
$creator = htmlentities($entry->author->name);
$cite = htmlentities($entry->content);
$url = $entry->id;
//get unique video id
//$arr = explode('/',$entry->id);
//$id = $arr[count($arr)-1];
//get nodes in media: namespace for media information
//$media = $entry->children('http://search.yahoo.com/mrss/');
//get video player URL
//$attrs = $media->group->player->attributes();
//$watch = $attrs['url'];
//prepare oclc namespace for parsing
$oclc = $entry->children('http://purl.org/oclc/terms/');
$oclcNumber = $oclc->recordIdentifier;
//prepare dublin core namespace for parsing
$dc = $entry->children('http://purl.org/dc/elements/1.1/');
//get isbn
if ($dc->identifier != '') {
$isbn = explode(":", $dc->identifier[0]);
$isbn = $isbn[2];
} else {
$isbn = 'not available';
$thumbnail = 'http://'.$_SERVER['SERVER_NAME'].dirname($_SERVER['PHP_SELF']).'/meta/img/thumbnail-default.gif';
}
if ($isbn != 'not available') {
$remoteImageUrl = 'http://covers.openlibrary.org/b/isbn/'.$isbn.'-S.jpg';
list($width, $height) = getimagesize($remoteImageUrl);
//echo $width;
if ($width > 30){
//thumbnail available
$thumbnail = $remoteImageUrl;
}else{
//set default thumbnail
$thumbnail = 'http://'.$_SERVER['SERVER_NAME'].dirname($_SERVER['PHP_SELF']).'/meta/img/thumbnail-default.gif';
}
}
?>
-
ISBN:
OCLC #:
No Worldcat.org results for .
'flickr.photos.search', //flickr api request method 'api_key' => 'ENTER YOUR FLICKR API KEY HERE', //flickr API key 'extras' => 'url_sq,url_m,url_z,url_l', //type of image format to output 'page' => $start, //record result number to start from 'per_page' => $count, //number of results to return 'text' => trim(strip_tags($q)), //query to search //'version' => '1.1', //flickr api version //'secret' => '977f80b7e4bbc7c6', //flickr api secret for this app //'format' => 'atom', //type of format to output //http://www.flickr.com/services/api/ ); //echo $base.http_build_query($params); //build request, encode entities (using http_build_query), and send to Worldcat Search API $request = simplexml_load_file($base.http_build_query($params)); //echo $base.http_build_query($params); $totalResults = $request->photos[total]; if ($totalResults > 0): ?>SEE (from Flickr)
out of a possible matches for your query ""
-
photos->photo as $entry) {
$title = $entry['title'];
$thumbnail = $entry['url_sq'];
$id = $entry['id'];
$image = $entry['url_z'];
?>
-
id:
No Flickr.com results for .
$lat, //latitude setting 'find[longitude]' => $lng, //longitude setting 'page[number]' => $start, //record result number to start from 'page[items]' => $count, //number of results to return //'version' => '1.1', //api version //audioboo.fm api docs at http://code.google.com/p/audioboo-api/ ); //build request, encode entities (using http_build_query), and send to audioboo.fm API $request = simplexml_load_file($base.http_build_query($params)); echo $base.http_build_query($params); $totalResults = $request->body->totals->count; if ($totalResults > 0): ?>Hear (from audioboo.fm)
out of a possible matches for your query ""
-
body->audio_clips->audio_clip as $entry) {
$id = $entry->id;
$title = $entry->title;
$duration = $entry->duration;
$date = $entry->uploaded_at;
$audio = $entry->urls->high_mp3;
$thumbnail = $entry->urls->image;
$lat = $entry->location->latitude;
$lng = $entry->location->longitude;
?>
-
duration:
location: ,
date:
id:
No audioboo.fm results for .
$version, //api version 'geocode' => "$lat,$lng,$radius", //latitude setting,longitude setting 'page' => $start, //record result number to start from 'rpp' => $count, //number of results to return //'q' => trim(strip_tags($q)), //query to search //twitter.com search api docs at http://dev.twitter.com/doc/get/search ); //build request, encode entities (using http_build_query), and send to audioboo.fm API $request = simplexml_load_file($base.http_build_query($params)); //echo $base.http_build_query($params); //prepare opensearch namespace for parsing $opensearch = $request->children('http://a9.com/-/spec/opensearch/1.1/'); $itemsPerPage = $opensearch->itemsPerPage; if ($itemsPerPage > 0): ?>Talk (from twitter.com)
of the latest tweets matching your query " ( radius)"
-
entry as $entry) {
$title = $entry->title;
$creator = $entry->author->name;
$content = html_entity_decode($entry->content);
//prepare opensearch namespace for parsing
$google = $entry->children('http://base.google.com/ns/1.0');
$location = $google->location;
$id = $entry->id;
$published = $entry->published;
$tweet = $entry->link[0]->attributes()->href;
$thumbnail = $entry->link[1]->attributes()->href;
?>
-
location:
No twitter.com results for .
'2', //api version 'location' => "$lat,$lng", //latitude setting,longitude setting 'location-radius' => '100km',//location-radius setting 'start-index' => $start, //record result number to start from 'max-results' => $count, //number of results to return 'q' => trim(strip_tags($q)), //query to search //youtube.com api docs at http://code.google.com/apis/youtube/2.0/reference.html ); //build request, encode entities (using http_build_query), and send to audioboo.fm API $request = simplexml_load_file($base.http_build_query($params)); //echo $base.http_build_query($params); //prepare opensearch namespace for parsing $opensearch = $request->children('http://a9.com/-/spec/opensearch/1.1/'); $totalResults = $opensearch->totalResults; if ($totalResults > 0): ?>Watch (from youtube.com)
out of a possible matches for your query ""
-
entry as $entry) {
$title = htmlentities($entry->title);
$creator = htmlentities($entry->author->name);
$description = htmlentities($entry->content);
$url = $entry->id;
$date = $entry->published;
//get unique video id
//$arr = explode('/',$entry->id);
//$id = $arr[count($arr)-1];
//get nodes in geo:rss namespace for location information
//$geo = $entry->children('http://www.georss.org/georss');
//$gml = $geo->children('http://www.opengis.net/gml');
//$locationTemp = $geo->where;
//$location = $geo->where->$gml->Point->pos;
//$entry->registerXPathNamespace('georss', 'http://www.georss.org/georss');
//$entry->registerXPathNamespace('gml', 'http://www.opengis.net/gml');
//$location = $entry->xpath('/georss:where/gml:Point/gml:pos');
//get nodes in media: namespace for media information
$media = $entry->children('http://search.yahoo.com/mrss/');
//get video player URL
$attrs = $media->group->player->attributes();
$watch = $attrs['url'];
//get video description
if ($media->group->description && $media->group->description != '') {
$description = $media->group->description;
} else {
$description = 'No description available.';
}
//get video player URL
$attrs = $media->group->player->attributes();
$watch = $attrs['url'];
//get video thumbnail
$attrs = $media->group->thumbnail[0]->attributes();
$thumbnail = $attrs['url'];
//get
-
date:
duration:
url:
id: