What it does
This bookmarklet extracts Schema.org markup about a person's vitrual interntional authority file (VIAF) from a webpage and uses the information recorded in VIAF to query DBPedia for additional information about this person.
How it works
header("Access-Control-Allow-Origin: *"); if(!empty($_GET['url'])): echo file_get_contents($_GET['url']); endif;
Once content is retrived from the VIAF, a regular expression is used to extract the DBPedia URL. A second AJAX query is used to retrieve the entry for a person on DBPedia in a JSON format. Using the JSON object, information can be extracted and displayed about a person. This particular demo extracts a summary snippet about the person that DBPedia has collected from Wikipedia.
Installing the code
The OCLC Developer Network supports the use of OCLC Web Services—a set of tools and APIs that expose data and services for WorldCat and our member libraries and partner institutions or companies. learn more »
© 2010 OCLC Domestic and international trademarks and/or service marks of OCLC Online Computer Library Center, Inc. and its affiliates