http://firstsearch.oclc.org/WebZ/FSOpenILL
(function() { | |
var item = { | |
// firstsearch _appears_ to use a '_pub-date-comp' key for article dates | |
"_pub-date-comp" : document.getElementById("CitationJournalDateValue") || undefined | |
, "atitle" : document.getElementById("CitationJournalArticleValue") | |
|| document.getElementById("CitationBookChapterValue") || undefined | |
// "au" field works for articles AND books |
class LittleGeek | |
require "find" | |
attr_accessor :dir | |
def initialize(dir = Dir.getwd) | |
# the current working directory will be the default directory | |
@dir = dir | |
end | |
def report |
{
"date": "January 6, 2014",
"location": {
"city": "Orlando, Florida",
"venue": "the Improv"
},
"guests": [
// hacky fix to replace the link in "Go to request form" for interlibrary loans | |
// with a dynamic link to our ILL catcher. | |
// v. 3, 3/10/14 | |
(function() { | |
var item = { | |
"atitle" : document.getElementById("CitationJournalArticleValue") | |
|| document.getElementById("CitationBookChapterValue") || undefined |
<?php | |
function enumExplode($tableCol) { | |
$expl = explode(".", $tableCol); | |
$table = $expl[0]; | |
$column = $expl[1]; | |
$query = "show columns from {$table} where field = :column"; | |
$res = querydb($query, array("column" => $column), $error); | |
$enum = $res[0]['Type']; |
require "terminal-notifier" | |
messages = [ | |
"Hang in there baby!", | |
"You know, you're a great person!", | |
"How's it going? Just wanted to see if everything was okay!", | |
"Just think about how great the sun is!", | |
"Maybe now's a good time to get up and walk around?", | |
"You look great today, did you know that?", | |
"I certainly appreciate what you do!" |