This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//Searching Google Books using the Google Ajax Search API | |
//http://code.google.com/apis/books/docs/js/jsondevguide.html | |
//http://code.google.com/apis/ajaxsearch/documentation/#fonje | |
//http://code.google.com/apis/ajaxsearch/documentation/reference.html#_intro_fonje | |
//http://www.google.com/support/forum/p/booksearch-apis/thread?tid=0870ca17f002bfe1&hl=en | |
//assign value for title of page | |
$pageTitle = 'Search Books: Google Ajax Search API'; | |
$subTitle = 'MSU Libraries'; | |
//declare filename for additional stylesheet variable - default is "none" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> | |
<head> | |
<title>re: This Place - Location Matters : Montana State University Libraries</title> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
<link rel="alternate" type="application/rss+xml" title="MSU Libraries: Tools" href="http://feeds.feedburner.com/msulibrarySpotlightTools" /> | |
<style type="text/css" media="screen, projection, handheld"> | |
<!-- | |
@import url("/~jason/files/geolocate/meta/styles/master.css"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script> | |
<script> | |
$(document).ready(function() { | |
//source Google Sheets file is https://docs.google.com/spreadsheets/d/1rX4_fInsYS7vOGpnXm1UklZgvU27FXl3UYu9lx9RHHU/ | |
$(function listBooks() { | |
$.getJSON( "https://spreadsheets.google.com/feeds/list/1rX4_fInsYS7vOGpnXm1UklZgvU27FXl3UYu9lx9RHHU/1/public/full?alt=json", | |
function (data) { | |
$('div#book-list').append('<ul class="items"></ul>'); | |
$.each(data.feed.entry, function(i,entry) { | |
var item = '<span style="display:none">' + entry.id.$t + '</span>'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style type="text/css"> | |
.items {display:table;list-style:none;margin:0;padding:0;border-spacing:5px;} | |
.items li {display:table-row;border-radius:10px;border:1px solid #ccc;padding:5px;margin:0 0 10px 0;} | |
.items li img {display:table-cell;vertical-align:top;} | |
.items li span.meta {display:table-cell;vertical-align:top;margin:0;padding:0 0 0 5px;} | |
.items li {margin:0 0 5px 0;} | |
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8" /> | |
<title>Reading List</title> | |
<!-- Insert booklist.css here (https://gist.github.com/2585089) --> | |
<!-- Insert booklist.js here (https://gist.github.com/2585071) --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8" /> | |
<title>Reading List</title> | |
<style type="text/css"> | |
.items {display:table;list-style:none;margin:0;padding:0;border-spacing:5px;} | |
.items li {display:table-row;-webkit-border-radius:10px;-moz-border-radius:10px;border-radius:10px;border:1px solid #ccc;padding:5px;margin:0 0 10px 0;} | |
.items li img {display:table-cell;vertical-align:top;} | |
.items li span.meta {display:table-cell;vertical-align:top;margin:0;padding:0 0 0 5px;} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title>Mobile @ Your Library</title> | |
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.0/jquery.mobile-1.0.min.css" /> | |
<link rel="stylesheet" href="./meta/styles/m.css" /> | |
<script type="text/javascript" src="http://code.jquery.com/jquery-1.6.4.min.js"></script> | |
<script type="text/javascript" src="http://code.jquery.com/mobile/1.0/jquery.mobile-1.0.min.js"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript: (function () { | |
var h = document.createElement('div'); | |
var t = document.getElementsByTagName('title')[0]; | |
var info = '<p><strong>Title(' + t.innerHTML.length + '):</strong> ' + t.innerHTML + '</p>'; | |
var m = document.getElementsByTagName('meta'); | |
for (var i = 0; i < m.length; i++) { | |
if (null !== m[i].getAttribute('name')) { | |
var c = m[i].getAttribute('content'); | |
info += '<p><strong>' + m[i].getAttribute('name') + '(' + c.length + '):</strong> ' + c + '</p>'; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8" /> | |
<title>Reading List</title> | |
<style type="text/css"> | |
.items {display:table;list-style:none;margin:0;padding:0;border-spacing:5px;} | |
.items li {display:table-row;-webkit-border-radius:10px;-moz-border-radius:10px;border-radius:10px;border:1px solid #ccc;padding:5px;margin:0 0 10px 0;} | |
.items li img {display:table-cell;vertical-align:top;height:100px;width:100px;} | |
.items li span.meta {display:table-cell;vertical-align:top;margin:0;padding:0 0 0 5px;} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="application/ld+json"> | |
{ | |
"@context": "http://schema.org", | |
"@type": "WebPage", | |
"name": "Title of web page", | |
"description": "Description of web page", | |
"additionalType": [ | |
{ | |
"@id": "http://dbpedia.org/page/Navajo" | |
}, |
OlderNewer