Skip to content

Instantly share code, notes, and snippets.

Created March 22, 2017 14:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/b7cc0932dd9aa32dc5d05cd02689969d to your computer and use it in GitHub Desktop.
Save anonymous/b7cc0932dd9aa32dc5d05cd02689969d to your computer and use it in GitHub Desktop.
zotero 5.0 beta using a bit much cpu
[JavaScript Error: "Upload request 1/SPP6HMIJ failed"]
[JavaScript Error: "Kunne ikke forbinde til server. Tjek din internetforbindelse."]
[JavaScript Error: "Upload request 1/SR9PW86K failed"]
[JavaScript Error: "Kunne ikke forbinde til server. Tjek din internetforbindelse."]
[JavaScript Error: "Upload request 1/SSNEV7F8 failed"]
[JavaScript Error: "Kunne ikke forbinde til server. Tjek din internetforbindelse."]
[JavaScript Error: "Upload request 1/SSKDQMN9 failed"]
[JavaScript Error: "Kunne ikke forbinde til server. Tjek din internetforbindelse."]
[JavaScript Error: "Upload request 1/SVKX6WQ4 failed"]
[JavaScript Error: "Kunne ikke forbinde til server. Tjek din internetforbindelse."]
[JavaScript Error: "Upload request 1/SUI29W9D failed"]
[JavaScript Error: "Kunne ikke forbinde til server. Tjek din internetforbindelse."]
[JavaScript Error: "Upload request 1/T83246Q6 failed"]
[JavaScript Error: "Kunne ikke forbinde til server. Tjek din internetforbindelse."]
[JavaScript Error: "Upload request 1/T23D3R9Q failed"]
[JavaScript Error: "Kunne ikke forbinde til server. Tjek din internetforbindelse."]
[JavaScript Error: "The connection to wss://stream.zotero.org/ has terminated unexpectedly. Some data may have been transferred." {file: "chrome://zotero/content/xpcom/sync/syncStreamer.js" line: 82}]
[JavaScript Error: "Upload request 1/TDL8DZDP failed"]
[JavaScript Error: "Kunne ikke forbinde til server. Tjek din internetforbindelse."]
[JavaScript Error: "Upload request 1/TA2N8P6R failed"]
[JavaScript Error: "Kunne ikke forbinde til server. Tjek din internetforbindelse."]
[JavaScript Error: "Upload request 1/TFFN4GMQ failed"]
[JavaScript Error: "Kunne ikke forbinde til server. Tjek din internetforbindelse."]
[JavaScript Error: "Upload request 1/THK6WQ58 failed"]
[JavaScript Error: "Kunne ikke forbinde til server. Tjek din internetforbindelse."]
version => 5.0-beta.169+dd921f3, platform => MacIntel, oscpu => Intel Mac OS X 10.12, locale => en-US, appName => Zotero, appVersion => 5.0-beta.169+dd921f3, extensions => Zutilo Utility for Zotero (2.0.2, extension), Zotero Word for Mac Integration (3.5.14.SA.5.0-beta.169+dd921f3, extension), Zotero LibreOffice Integration (5.0.0.SA.5.0-beta.169+dd921f3, extension), RTF/ODF Scan for Zotero (1.0.34beta1, extension), Citrix Receiver (11.9.15, plugin), Silverlight Plug-In (5.1.50428.0, plugin), AdobeAAMDetect (AdobeAAMDetect 1.0.0.0, plugin), Java Applet Plug-in (Java 8 Update 121 build 13, plugin), Skype for Business Meeting Join Plug-in (1.0, plugin), Adobe Acrobat NPAPI Plug-in, Version 15.006.30280 (15.006.30280, plugin), SharePoint Browser Plug-in (14.7.2, plugin), Shockwave Flash (25.0.0.127, plugin), Skype for Business Web App Plug-in (15.8.20020.399, plugin), Folx Browser Plugin (5.0, plugin), ZoteroQuickLook (1.3.1.1-signed, extension, disabled), Paper Machines (0.4.9, extension, disabled), ZotFile (4.2.8, extension, disabled)
=========================================================
(1)(+0054659): HTTP POST https://api.zotero.org/users/1839946/items/TDL8DZDP/file failed with status code 0:
(3)(+0000005): [ConcurrentCaller] Error in function (2/4, 0 in queue)
(1)(+0000002): Upload request 1/TDL8DZDP failed
(3)(+0000000): [ConcurrentCaller] [1/upload] Error in function (1/2, 130 in queue)
(1)(+0000000): Error: Kunne ikke forbinde til server. Tjek din internetforbindelse.
Zotero Error: Kunne ikke forbinde til server. Tjek din internetforbindelse.
(No stack trace)
From previous event:
ConcurrentCaller.prototype._processNext@resource://zotero/concurrentCaller.js:207:2
ConcurrentCaller.prototype.start@resource://zotero/concurrentCaller.js:141:12
Zotero.Sync.APIClient.prototype.makeRequest<@chrome://zotero/content/xpcom/sync/syncAPIClient.js:625:23
From previous event:
Zotero.Sync.Storage.Mode.ZFS.prototype._getFileUploadParameters<@chrome://zotero/content/xpcom/storage/zfs.js:380:17
From previous event:
Zotero.Sync.Storage.Mode.ZFS.prototype._processUploadFile<@chrome://zotero/content/xpcom/storage/zfs.js:982:22
From previous event:
Zotero.Sync.Storage.Mode.ZFS.prototype.uploadFile<@chrome://zotero/content/xpcom/storage/zfs.js:255:10
From previous event:
Zotero.Sync.Storage.Engine.prototype.queueItem</onStart<@chrome://zotero/content/xpcom/storage/storageEngine.js:304:12
From previous event:
Zotero.Sync.Storage.Request.prototype.start</results<@chrome://zotero/content/xpcom/storage/storageRequest.js:194:65
Zotero.Sync.Storage.Request.prototype.start<@chrome://zotero/content/xpcom/storage/storageRequest.js:194:42
From previous event:
ConcurrentCaller.prototype._processNext@resource://zotero/concurrentCaller.js:207:2
ConcurrentCaller.prototype._processNext/</<@resource://zotero/concurrentCaller.js:241:4
(1)(+0000002): HTTP POST https://api.zotero.org/users/1839946/items/TA2N8P6R/file failed with status code 0:
(3)(+0000002): [ConcurrentCaller] Error in function (1/4, 0 in queue)
(1)(+0000001): Upload request 1/TA2N8P6R failed
(3)(+0000001): [ConcurrentCaller] [1/upload] Error in function (0/2, 130 in queue)
(1)(+0000000): Error: Kunne ikke forbinde til server. Tjek din internetforbindelse.
Zotero Error: Kunne ikke forbinde til server. Tjek din internetforbindelse.
(No stack trace)
From previous event:
ConcurrentCaller.prototype._processNext@resource://zotero/concurrentCaller.js:207:2
ConcurrentCaller.prototype.start@resource://zotero/concurrentCaller.js:141:12
Zotero.Sync.APIClient.prototype.makeRequest<@chrome://zotero/content/xpcom/sync/syncAPIClient.js:625:23
From previous event:
Zotero.Sync.Storage.Mode.ZFS.prototype._getFileUploadParameters<@chrome://zotero/content/xpcom/storage/zfs.js:380:17
From previous event:
Zotero.Sync.Storage.Mode.ZFS.prototype._processUploadFile<@chrome://zotero/content/xpcom/storage/zfs.js:982:22
From previous event:
Zotero.Sync.Storage.Mode.ZFS.prototype.uploadFile<@chrome://zotero/content/xpcom/storage/zfs.js:255:10
From previous event:
Zotero.Sync.Storage.Engine.prototype.queueItem</onStart<@chrome://zotero/content/xpcom/storage/storageEngine.js:304:12
From previous event:
Zotero.Sync.Storage.Request.prototype.start</results<@chrome://zotero/content/xpcom/storage/storageRequest.js:194:65
Zotero.Sync.Storage.Request.prototype.start<@chrome://zotero/content/xpcom/storage/storageRequest.js:194:42
From previous event:
ConcurrentCaller.prototype._processNext@resource://zotero/concurrentCaller.js:207:2
ConcurrentCaller.prototype._processNext/</<@resource://zotero/concurrentCaller.js:241:4
(3)(+0000001): [ConcurrentCaller] Nothing left to run -- waiting for running tasks to complete
(3)(+0000001): [ConcurrentCaller] [1/upload] Running function (0/2 running, 129 queued)
(3)(+0000000): Starting upload request 1/TFFN4GMQ
(3)(+0000006): [ConcurrentCaller] Nothing left to run -- waiting for running tasks to complete
(3)(+0000000): [ConcurrentCaller] [1/upload] Running function (1/2 running, 128 queued)
(3)(+0000001): Starting upload request 1/THK6WQ58
(3)(+0000100): [ConcurrentCaller] Running function (1/4 running, 0 queued)
(3)(+0000001): HTTP POST "mtime=1489603192000&md5=54cda56b1828cff3fc2e235cb663f85d&filename=digitaledesignerting.pdf&filesize=137224" to https://api.zotero.org/users/1839946/items/TFFN4GMQ/file
(3)(+0000003): {
"Content-Type": "application/x-www-form-urlencoded"
"If-None-Match": "*"
"Zotero-API-Version": 3
"Zotero-API-Key": "[Not shown]"
}
(3)(+0000015): [ConcurrentCaller] Running function (2/4 running, 0 queued)
(3)(+0000000): HTTP POST "mtime=1489602989000&md5=22144f2af0b93f908bd979fbebbe2ad6&filename=Design%20motivs%20-semiotica147_219.pdf&filesize=227879" to https://api.zotero.org/users/1839946/items/THK6WQ58/file
(3)(+0000002): {
"Content-Type": "application/x-www-form-urlencoded"
"If-None-Match": "*"
"Zotero-API-Version": 3
"Zotero-API-Key": "[Not shown]"
}
(1)(+0090054): HTTP DELETE https://api.zotero.org/keys/current failed with status code 0
(3)(+0000006): [ConcurrentCaller] Error in function (2/4, 0 in queue)
(3)(+0000003): [ConcurrentCaller] Nothing left to run -- waiting for running tasks to complete
(1)(+0016024): HTTP POST https://api.zotero.org/users/1839946/items/TFFN4GMQ/file failed with status code 0:
(3)(+0000004): [ConcurrentCaller] Error in function (1/4, 0 in queue)
(1)(+0000001): Upload request 1/TFFN4GMQ failed
(3)(+0000000): [ConcurrentCaller] [1/upload] Error in function (1/2, 128 in queue)
(1)(+0000000): Error: Kunne ikke forbinde til server. Tjek din internetforbindelse.
Zotero Error: Kunne ikke forbinde til server. Tjek din internetforbindelse.
(No stack trace)
From previous event:
ConcurrentCaller.prototype._processNext@resource://zotero/concurrentCaller.js:207:2
ConcurrentCaller.prototype.start@resource://zotero/concurrentCaller.js:141:12
Zotero.Sync.APIClient.prototype.makeRequest<@chrome://zotero/content/xpcom/sync/syncAPIClient.js:625:23
From previous event:
Zotero.Sync.Storage.Mode.ZFS.prototype._getFileUploadParameters<@chrome://zotero/content/xpcom/storage/zfs.js:380:17
From previous event:
Zotero.Sync.Storage.Mode.ZFS.prototype._processUploadFile<@chrome://zotero/content/xpcom/storage/zfs.js:982:22
From previous event:
Zotero.Sync.Storage.Mode.ZFS.prototype.uploadFile<@chrome://zotero/content/xpcom/storage/zfs.js:255:10
From previous event:
Zotero.Sync.Storage.Engine.prototype.queueItem</onStart<@chrome://zotero/content/xpcom/storage/storageEngine.js:304:12
From previous event:
Zotero.Sync.Storage.Request.prototype.start</results<@chrome://zotero/content/xpcom/storage/storageRequest.js:194:65
Zotero.Sync.Storage.Request.prototype.start<@chrome://zotero/content/xpcom/storage/storageRequest.js:194:42
From previous event:
ConcurrentCaller.prototype._processNext@resource://zotero/concurrentCaller.js:207:2
ConcurrentCaller.prototype._processNext/</<@resource://zotero/concurrentCaller.js:241:4
(1)(+0000002): HTTP POST https://api.zotero.org/users/1839946/items/THK6WQ58/file failed with status code 0:
(3)(+0000005): [ConcurrentCaller] Error in function (0/4, 0 in queue)
(1)(+0000002): Upload request 1/THK6WQ58 failed
(3)(+0000000): [ConcurrentCaller] [1/upload] Error in function (0/2, 128 in queue)
(1)(+0000000): Error: Kunne ikke forbinde til server. Tjek din internetforbindelse.
Zotero Error: Kunne ikke forbinde til server. Tjek din internetforbindelse.
(No stack trace)
From previous event:
ConcurrentCaller.prototype._processNext@resource://zotero/concurrentCaller.js:207:2
ConcurrentCaller.prototype.start@resource://zotero/concurrentCaller.js:141:12
Zotero.Sync.APIClient.prototype.makeRequest<@chrome://zotero/content/xpcom/sync/syncAPIClient.js:625:23
From previous event:
Zotero.Sync.Storage.Mode.ZFS.prototype._getFileUploadParameters<@chrome://zotero/content/xpcom/storage/zfs.js:380:17
From previous event:
Zotero.Sync.Storage.Mode.ZFS.prototype._processUploadFile<@chrome://zotero/content/xpcom/storage/zfs.js:982:22
From previous event:
Zotero.Sync.Storage.Mode.ZFS.prototype.uploadFile<@chrome://zotero/content/xpcom/storage/zfs.js:255:10
From previous event:
Zotero.Sync.Storage.Engine.prototype.queueItem</onStart<@chrome://zotero/content/xpcom/storage/storageEngine.js:304:12
From previous event:
Zotero.Sync.Storage.Request.prototype.start</results<@chrome://zotero/content/xpcom/storage/storageRequest.js:194:65
Zotero.Sync.Storage.Request.prototype.start<@chrome://zotero/content/xpcom/storage/storageRequest.js:194:42
From previous event:
ConcurrentCaller.prototype._processNext@resource://zotero/concurrentCaller.js:207:2
ConcurrentCaller.prototype._processNext/</<@resource://zotero/concurrentCaller.js:241:4
(3)(+0000002): [ConcurrentCaller] All tasks are done
(3)(+0000001): [ConcurrentCaller] [1/upload] Running function (0/2 running, 127 queued)
(3)(+0000001): Starting upload request 1/TI3Q536V
(3)(+0000006): [ConcurrentCaller] All tasks are done
(3)(+0000001): [ConcurrentCaller] [1/upload] Running function (1/2 running, 126 queued)
(3)(+0000000): Starting upload request 1/TIFCZ7GD
(5)(+0000006): POST /connector/getTranslatorCode HTTP/1.1
Host: 127.0.0.1:23119
Content-Type: application/json
Origin: safari-extension://org.zotero.zoteroconnectorforsafari-8layr367yv
X-Zotero-Connector-API-Version: 2
Content-Length: 55
Connection: keep-alive
Accept: */*
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/602.4.8 (KHTML, like Gecko) Version/10.0.3 Safari/602.4.8
Accept-Language: da-dk
Accept-Encoding: gzip, deflate
X-Zotero-Version: 4.0.28
(3)(+0000001): Getting contents of /Users/tre/Zotero/translators/HighWire 2.0.js
(5)(+0000040): HTTP/1.0 200 OK
X-Zotero-Version: 5.0-beta.169+dd921f3
X-Zotero-Connector-API-Version: 2
Content-Type: application/javascript
{
"translatorID": "8c1f42d5-02fa-437b-b2b2-73afc768eb07",
"translatorType": 4,
"label": "HighWire 2.0",
"creator": "Matt Burton",
"target": "^[^?#]+(/content/([0-9]+[A-Z\\-]*/|current|firstcite|early)|/search\\?.*?\\bsubmit=|/search(/results)?\\?fulltext=|/cgi/collection/.|/search/.)",
"minVersion": "3.0",
"maxVersion": null,
"priority": 250,
"inRepository": true,
"browserSupport": "gcsv",
"lastUpdated": "2016-12-19 05:10:00"
}
/*
Translator for several Highwire journals. Example URLs:
1. Ajay Agrawal, Iain Cockburn, and John McHale, “Gone but not forgotten: knowledge flows, labor mobility, and enduring social relationships,” Journal of Economic Geography 6, no. 5 (November 2006): 571-591.
http://joeg.oxfordjournals.org/content/6/5/571 :
2. Gordon L. Clark, Roberto Durán-Fernández, and Kendra Strauss, “‘Being in the market’: the UK house-price bubble and the intended structure of individual pension investment portfolios,” Journal of Economic Geography 10, no. 3 (May 2010): 331-359.
http://joeg.oxfordjournals.org/content/10/3/331.abstract
3. Hans Maes, “Intention, Interpretation, and Contemporary Visual Art,” Brit J Aesthetics 50, no. 2 (April 1, 2010): 121-138.
http://bjaesthetics.oxfordjournals.org/cgi/content/abstract/50/2/121
4. M L Giger et al., “Pulmonary nodules: computer-aided detection in digital chest images.,” Radiographics 10, no. 1 (January 1990): 41-51.
http://radiographics.rsna.org/content/10/1/41.abstract
5. Mitch Leslie, "CLIP catches enzymes in the act," The Journal of Cell Biology 191, no. 1 (October 4, 2010): 2.
http://jcb.rupress.org/content/191/1/2.2.short
*/
function getSearchResults(doc, url, checkOnly) {
var xpaths = [
{
searchx: '//li[contains(@class, "toc-cit") and \
not(ancestor::div/h2/a/text() = "Correction" or \
ancestor::div/h2/a/text() = "Corrections")]',
titlex: './/h4'
},
{
searchx: '//div[@id="normal-search-results"]\
//*[contains(@class, "results-cit cit")]',
titlex: './/*[contains(@class, "cit-title")]'
},
{
searchx: '//div[contains(@class, "toc-level level3")]\
//ul[@class="cit-list"]/div',
titlex: './/span[contains(@class, "cit-title")]'
},
{
searchx: '//div[contains(@class,"main-content-wrapper")]\
//div[contains(@class, "highwire-article-citation")]',
titlex: './/a[contains(@class, "highwire-cite-linked-title")]'
},
{
// BMJ quick search
searchx: '//ol[contains(@class, "search-results")]/li[h3[@class="title"]]',
titlex: './h3[@class="title"]'
},
{
// BMJ advanced search
searchx: '//ul[contains(@class,"highwire-search-results-list")]\
//li[contains(@class, "search-result")]',
titlex: './/a[contains(@class, "highwire-cite-linked-title")]'
}
];
var found = false, items = {},
//exclude cit-site-url for Sage Advanced Search (no stable URLs for testing)
linkx = '(.//a[not(contains(@href, "hasaccess.xhtml")) and not(@class="cit-site-url")])[1]';
for(var i=0; i<xpaths.length && !found; i++) {
var rows = ZU.xpath(doc, xpaths[i].searchx);
if(!rows.length) continue;
for(var j=0, n=rows.length; j<n; j++) {
var title = ZU.xpath(rows[j], xpaths[i].titlex)[0];
if(!title) continue;
var link;
if(title.nodeName == 'A') {
link = title;
} else {
link = ZU.xpath(rows[j], linkx)[0];
if(!link || !link.href) continue;
}
items[link.href] = ZU.trimInternal(title.textContent);
found = true;
if(checkOnly) return true;
}
}
if(found) Zotero.debug('Found search results using xpath set #' + (i-1));
return found ? items : null;
}
//get abstract
function getAbstract(doc) {
//abstract, summary
var abstrSections = ZU.xpath(doc,
'//div[contains(@id,"abstract") or @class="abstractSection"]\
/*[not(contains(@class,"section-nav"))\
and not(contains(@class,"kwd"))]');
var abstr = '';
var paragraph;
for(var i=0, n=abstrSections.length; i<n; i++) {
paragraph = abstrSections[i].textContent.trim();
//ignore the abstract heading
if( paragraph.toLowerCase() == 'abstract' ||
paragraph.toLowerCase() == 'summary' ) {
continue;
}
//put all lines of a paragraph on a single line
paragraph = paragraph.replace(/\s+/g,' ');
abstr += paragraph + "\n";
}
return abstr.trim();
}
//some journals display keywords
function getKeywords(doc) {
//some journals are odd and don't work with this.
//e.g. http://jn.nutrition.org/content/130/12/3122S.abstract
var keywords = ZU.xpath(doc,'//ul[contains(@class,"kwd-group")]//a');
var kwds = new Array();
for(var i=0, n=keywords.length; i<n; i++) {
//don't break for empty nodes
if(keywords[i].textContent) kwds.push(keywords[i].textContent.trim());
}
return kwds;
}
//mimetype map for supplementary attachments
//intentionally excluding potentially large files like videos and zip files
var suppTypeMap = {
'pdf': 'application/pdf',
// 'zip': 'application/zip',
'doc': 'application/msword',
'docx': 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
'xls': 'application/vnd.ms-excel',
'xlsx': 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
};
//attach supplementary information
function attachSupplementary(doc, item, next) {
var navDiv = doc.getElementById('article-cb-main')
|| doc.getElementById('article-views')
|| ZU.xpath(doc, '//div[contains(@class, "cb-section")]')[0]; //http://www.plantphysiol.org/content/162/1/9.abstract
if(navDiv) {
var suppLink = ZU.xpath(navDiv, './/a[@rel="supplemental-data"]')[0]
|| ZU.xpath(doc, '//a[@rel="supplemental-data"]')[0];
if(suppLink) {
var attachAsLink = Z.getHiddenPref("supplementaryAsLink");
if(attachAsLink) {
item.attachments.push({
title: "Supplementary info",
url: suppLink.href,
mimeType: 'text/html',
snapshot: false
});
} else {
ZU.processDocuments(suppLink.href, function(newDoc, url) {
//sciencemag.org
var container = newDoc.getElementById('sci-bd');
if(container) {
var dts = ZU.xpath(container, './dl/dt');
var dt, dd, title, url, type, snapshot, description;
for(var i=0, n=dts.length; i<n; i++) {
dt = dts[i];
title = ZU.trimInternal(dt.textContent);
dd = dt.nextElementSibling;
if(dd.nodeName.toUpperCase() == 'DD') {
if(dd.firstElementChild
&& dd.firstElementChild.nodeName.toUpperCase() == 'UL') {
description = ZU.xpathText(dd, './ul/li', null, '; ');
} else {
description = dd.textContent;
}
if(description) {
description = ZU.trimInternal(description)
.replace(/\s;/g, ';');
if(description.indexOf(title) === 0
|| title.toUpperCase() == 'DOWNLOAD SUPPLEMENT') {
title = '';
} else {
title += '. ';
}
title += description;
}
}
if(title.toUpperCase() == 'DOWNLOAD SUPPLEMENT') {
title = 'Supplementary Data';
}
url = dt.getElementsByTagName('a')[0];
if(!url) continue;
url = url.href;
type = suppTypeMap[url.substr(url.lastIndexOf('.')+1).toLowerCase()];
//don't download files with unknown type.
//Could be large files we're not accounting for, like videos,
// or HTML pages that we would end up taking snapshots of
snapshot = !attachAsLink && type;
item.attachments.push({
title: title,
url: url,
mimeType: type,
snapshot: !!snapshot
})
}
next(doc, item);
return;
}
//others
container = newDoc.getElementById('content-block');
if(container) {
var links = ZU.xpath(container, './h1[@class="data-supp-article-title"]\
/following-sibling::div//ul//a');
var counters = {}, title, tUC, url, type, snapshot;
for(var i=0, n=links.length; i<n; i++) {
title = links[i].nextSibling; //http://www.plantphysiol.org/content/162/1/9.abstract
if(title) {
title = title.textContent
.replace(/^[^a-z]+/i, '').trim();
}
if(!title) {
title = ZU.trimInternal(links[i].textContent.trim())
.replace(/^download\s+/i, '')
.replace(/\([^()]+\)$/, '');
}
tUC = title.toUpperCase();
if(!counters[tUC]) { //when all supp data has the same title, we'll add some numbers
counters[tUC] = 1;
} else {
title += ' ' + (++counters[tUC]);
}
url = links[i].href;
//determine type by extension
type = suppTypeMap[url.substr(url.lastIndexOf('.')+1).toLowerCase()];
//don't download files with unknown type.
//Could be large files we're not accounting for, like videos,
// or HTML pages that we would end up taking snapshots of
snapshot = !attachAsLink && type;
item.attachments.push({
title: title,
url: url,
mimeType: type,
snapshot: !!snapshot
});
}
next(doc, item);
return;
}
});
return true;
}
}
return;
}
}
//add using embedded metadata
function addEmbMeta(doc, url) {
var translator = Zotero.loadTranslator("web");
//Embedded Metadata translator
translator.setTranslator("951c027d-74ac-47d4-a107-9c3069ab7b48");
translator.setDocument(doc);
translator.setHandler("itemDone", function(obj, item) {
//remove all caps in Names and Titles
for (i in item.creators){
//Z.debug(item.creators[i])
if(item.creators[i].lastName == item.creators[i].lastName.toUpperCase()) {
item.creators[i].lastName =
ZU.capitalizeTitle(item.creators[i].lastName, true);
}
//we test for existence of first Name to not fail with spotty data.
if(item.creators[i].firstName && item.creators[i].firstName == item.creators[i].firstName.toUpperCase()) {
item.creators[i].firstName =
ZU.capitalizeTitle(item.creators[i].firstName, true);
}
}
if(item.title == item.title.toUpperCase()) {
item.title = ZU.capitalizeTitle(item.title,true);
}
var abs = getAbstract(doc);
if(abs) item.abstractNote = abs;
var kwds = getKeywords(doc);
if(kwds) item.tags = kwds;
if (item.notes) item.notes = [];
//try to get PubMed ID and link if we don't already have it from EM
var pmDiv;
if((!item.extra || item.extra.search(/\bPMID:/) == -1)
&& (pmDiv = doc.getElementById('cb-art-pm'))) {
var pmId = ZU.xpathText(pmDiv, './/a[contains(@class, "cite-link")]/@href')
|| ZU.xpathText(pmDiv, './ol/li[1]/a/@href'); //e.g. http://www.pnas.org/content/108/52/20881.full
if(pmId) pmId = pmId.match(/access_num=(\d+)/);
if(pmId) {
if(item.extra) item.extra += '\n';
else item.extra = '';
item.extra += 'PMID: ' + pmId[1];
item.attachments.push({
title: "PubMed entry",
url: "http://www.ncbi.nlm.nih.gov/pubmed/" + pmId[1],
mimeType: "text/html",
snapshot: false
});
}
}
if(Z.getHiddenPref && Z.getHiddenPref("attachSupplementary")) {
try { //don't fail if we can't attach supplementary data
var async = attachSupplementary(doc, item, function(doc, item) { item.complete() });
} catch(e) {
Z.debug("Error attaching supplementary information.")
Z.debug(e);
if(async) item.complete();
}
if(!async) {
item.complete();
}
} else {
item.complete();
}
});
translator.getTranslatorObject(function(trans) {
trans.doWeb(doc, url);
});
}
function detectWeb(doc, url) {
var highwiretest = false;
//quick test for highwire embedded pdf page
highwiretest = url.indexOf('.pdf+html') != -1;
//only queue up the sidebar for data extraction (it seems to always be present)
if(highwiretest && url.indexOf('?frame=sidebar') == -1) {
return;
}
if (!highwiretest) {
// lets hope this installations don't tweak this...
highwiretest = ZU.xpath(doc,
"//link[@href='/shared/css/hw-global.css']|//link[contains(@href,'highwire.css')]").length;
}
if(highwiretest) {
if (getSearchResults(doc, url, true)) {
return "multiple";
} else if ( /content\/(early\/)?[0-9]+/.test(url)
&& url.indexOf('/suppl/') == -1
) {
return "journalArticle";
}
}
}
function doWeb(doc, url) {
if (!url) url = doc.documentElement.location;
var items = getSearchResults(doc, url);
//Z.debug(items)
if(items) {
Zotero.selectItems(items, function(selectedItems) {
if(!selectedItems) return true;
var urls = new Array();
for( var item in selectedItems ) {
urls.push(item);
}
//Z.debug(urls)
Zotero.Utilities.processDocuments(urls, addEmbMeta);
});
} else if(url.indexOf('.full.pdf+html') != -1) {
//abstract in EM is not reliable. Fetch abstract page and scrape from there.
ZU.processDocuments(url.replace(/\.full\.pdf\+html.*/, ''), addEmbMeta);
} else {
addEmbMeta(doc, url);
}
}
/** BEGIN TEST CASES **/
var testCases = [
{
"type": "web",
"url": "http://bjaesthetics.oxfordjournals.org/search?fulltext=art&submit=yes&x=0&y=0",
"items": "multiple"
},
{
"type": "web",
"url": "http://bjaesthetics.oxfordjournals.org/content/current",
"items": "multiple"
},
{
"type": "web",
"url": "http://jcb.rupress.org/content/early/by/section",
"items": "multiple"
},
{
"type": "web",
"url": "http://rsbl.royalsocietypublishing.org/content/early/recent",
"items": "multiple"
},
{
"type": "web",
"url": "http://www.bloodjournal.org/content/early/recent?sso-checked=true",
"items": "multiple"
},
{
"type": "web",
"url": "http://www.pnas.org/content/108/52/20881.full",
"items": [
{
"itemType": "journalArticle",
"title": "A yeast functional screen predicts new candidate ALS disease genes",
"creators": [
{
"firstName": "Julien",
"lastName": "Couthouis",
"creatorType": "author"
},
{
"firstName": "Michael P.",
"lastName": "Hart",
"creatorType": "author"
},
{
"firstName": "James",
"lastName": "Shorter",
"creatorType": "author"
},
{
"firstName": "Mariely",
"lastName": "DeJesus-Hernandez",
"creatorType": "author"
},
{
"firstName": "Renske",
"lastName": "Erion",
"creatorType": "author"
},
{
"firstName": "Rachel",
"lastName": "Oristano",
"creatorType": "author"
},
{
"firstName": "Annie X.",
"lastName": "Liu",
"creatorType": "author"
},
{
"firstName": "Daniel",
"lastName": "Ramos",
"creatorType": "author"
},
{
"firstName": "Niti",
"lastName": "Jethava",
"creatorType": "author"
},
{
"firstName": "Divya",
"lastName": "Hosangadi",
"creatorType": "author"
},
{
"firstName": "James",
"lastName": "Epstein",
"creatorType": "author"
},
{
"firstName": "Ashley",
"lastName": "Chiang",
"creatorType": "author"
},
{
"firstName": "Zamia",
"lastName": "Diaz",
"creatorType": "author"
},
{
"firstName": "Tadashi",
"lastName": "Nakaya",
"creatorType": "author"
},
{
"firstName": "Fadia",
"lastName": "Ibrahim",
"creatorType": "author"
},
{
"firstName": "Hyung-Jun",
"lastName": "Kim",
"creatorType": "author"
},
{
"firstName": "Jennifer A.",
"lastName": "Solski",
"creatorType": "author"
},
{
"firstName": "Kelly L.",
"lastName": "Williams",
"creatorType": "author"
},
{
"firstName": "Jelena",
"lastName": "Mojsilovic-Petrovic",
"creatorType": "author"
},
{
"firstName": "Caroline",
"lastName": "Ingre",
"creatorType": "author"
},
{
"firstName": "Kevin",
"lastName": "Boylan",
"creatorType": "author"
},
{
"firstName": "Neill R.",
"lastName": "Graff-Radford",
"creatorType": "author"
},
{
"firstName": "Dennis W.",
"lastName": "Dickson",
"creatorType": "author"
},
{
"firstName": "Dana",
"lastName": "Clay-Falcone",
"creatorType": "author"
},
{
"firstName": "Lauren",
"lastName": "Elman",
"creatorType": "author"
},
{
"firstName": "Leo",
"lastName": "McCluskey",
"creatorType": "author"
},
{
"firstName": "Robert",
"lastName": "Greene",
"creatorType": "author"
},
{
"firstName": "Robert G.",
"lastName": "Kalb",
"creatorType": "author"
},
{
"firstName": "Virginia M.-Y.",
"lastName": "Lee",
"creatorType": "author"
},
{
"firstName": "John Q.",
"lastName": "Trojanowski",
"creatorType": "author"
},
{
"firstName": "Albert",
"lastName": "Ludolph",
"creatorType": "author"
},
{
"firstName": "Wim",
"lastName": "Robberecht",
"creatorType": "author"
},
{
"firstName": "Peter M.",
"lastName": "Andersen",
"creatorType": "author"
},
{
"firstName": "Garth A.",
"lastName": "Nicholson",
"creatorType": "author"
},
{
"firstName": "Ian P.",
"lastName": "Blair",
"creatorType": "author"
},
{
"firstName": "Oliver D.",
"lastName": "King",
"creatorType": "author"
},
{
"firstName": "Nancy M.",
"lastName": "Bonini",
"creatorType": "author"
},
{
"firstName": "Vivianna Van",
"lastName": "Deerlin",
"creatorType": "author"
},
{
"firstName": "Rosa",
"lastName": "Rademakers",
"creatorType": "author"
},
{
"firstName": "Zissimos",
"lastName": "Mourelatos",
"creatorType": "author"
},
{
"firstName": "Aaron D.",
"lastName": "Gitler",
"creatorType": "author"
}
],
"date": "12/27/2011",
"DOI": "10.1073/pnas.1109434108",
"ISSN": "0027-8424, 1091-6490",
"abstractNote": "Amyotrophic lateral sclerosis (ALS) is a devastating and universally fatal neurodegenerative disease. Mutations in two related RNA-binding proteins, TDP-43 and FUS, that harbor prion-like domains, cause some forms of ALS. There are at least 213 human proteins harboring RNA recognition motifs, including FUS and TDP-43, raising the possibility that additional RNA-binding proteins might contribute to ALS pathogenesis. We performed a systematic survey of these proteins to find additional candidates similar to TDP-43 and FUS, followed by bioinformatics to predict prion-like domains in a subset of them. We sequenced one of these genes, TAF15, in patients with ALS and identified missense variants, which were absent in a large number of healthy controls. These disease-associated variants of TAF15 caused formation of cytoplasmic foci when expressed in primary cultures of spinal cord neurons. Very similar to TDP-43 and FUS, TAF15 aggregated in vitro and conferred neurodegeneration in Drosophila, with the ALS-linked variants having a more severe effect than wild type. Immunohistochemistry of postmortem spinal cord tissue revealed mislocalization of TAF15 in motor neurons of patients with ALS. We propose that aggregation-prone RNA-binding proteins might contribute very broadly to ALS pathogenesis and the genes identified in our yeast functional screen, coupled with prion-like domain prediction analysis, now provide a powerful resource to facilitate ALS disease gene discovery.",
"extra": "PMID: 22065782",
"issue": "52",
"journalAbbreviation": "PNAS",
"language": "en",
"libraryCatalog": "www.pnas.org",
"pages": "20881-20890",
"publicationTitle": "Proceedings of the National Academy of Sciences",
"url": "http://www.pnas.org/content/108/52/20881",
"volume": "108",
"attachments": [
{
"title": "Full Text PDF",
"mimeType": "application/pdf"
},
{
"title": "Snapshot"
},
{
"title": "PubMed entry",
"mimeType": "text/html",
"snapshot": false
}
],
"tags": [],
"notes": [],
"seeAlso": []
}
]
},
{
"type": "web",
"url": "http://genesdev.cshlp.org/content/16/14/1779",
"items": [
{
"itemType": "journalArticle",
"title": "G9a histone methyltransferase plays a dominant role in euchromatic histone H3 lysine 9 methylation and is essential for early embryogenesis",
"creators": [
{
"firstName": "Makoto",
"lastName": "Tachibana",
"creatorType": "author"
},
{
"firstName": "Kenji",
"lastName": "Sugimoto",
"creatorType": "author"
},
{
"firstName": "Masami",
"lastName": "Nozaki",
"creatorType": "author"
},
{
"firstName": "Jun",
"lastName": "Ueda",
"creatorType": "author"
},
{
"firstName": "Tsutomu",
"lastName": "Ohta",
"creatorType": "author"
},
{
"firstName": "Misao",
"lastName": "Ohki",
"creatorType": "author"
},
{
"firstName": "Mikiko",
"lastName": "Fukuda",
"creatorType": "author"
},
{
"firstName": "Naoki",
"lastName": "Takeda",
"creatorType": "author"
},
{
"firstName": "Hiroyuki",
"lastName": "Niida",
"creatorType": "author"
},
{
"firstName": "Hiroyuki",
"lastName": "Kato",
"creatorType": "author"
},
{
"firstName": "Yoichi",
"lastName": "Shinkai",
"creatorType": "author"
}
],
"date": "07/15/2002",
"DOI": "10.1101/gad.989402",
"ISSN": "0890-9369, 1549-5477",
"abstractNote": "Covalent modification of histone tails is crucial for transcriptional regulation, mitotic chromosomal condensation, and heterochromatin formation. Histone H3 lysine 9 (H3-K9) methylation catalyzed by the Suv39h family proteins is essential for establishing the architecture of pericentric heterochromatin. We recently identified a mammalian histone methyltransferase (HMTase), G9a, which has strong HMTase activity towards H3-K9 in vitro. To investigate the in vivo functions of G9a, we generated G9a-deficient mice and embryonic stem (ES) cells. We found that H3-K9 methylation was drastically decreased in G9a-deficient embryos, which displayed severe growth retardation and early lethality. G9a-deficient ES cells also exhibited reduced H3-K9 methylation compared to wild-type cells, indicating that G9a is a dominant H3-K9 HMTase in vivo. Importantly, the loss of G9a abolished methylated H3-K9 mostly in euchromatic regions. Finally, G9a exerted a transcriptionally suppressive function that depended on its HMTase activity. Our results indicate that euchromatic H3-K9 methylation regulated by G9a is essential for early embryogenesis and is involved in the transcriptional repression of developmental genes.",
"extra": "PMID: 12130538",
"issue": "14",
"journalAbbreviation": "Genes Dev.",
"language": "en",
"libraryCatalog": "genesdev.cshlp.org",
"pages": "1779-1791",
"publicationTitle": "Genes & Development",
"url": "http://genesdev.cshlp.org/content/16/14/1779",
"volume": "16",
"attachments": [
{
"title": "Full Text PDF",
"mimeType": "application/pdf"
},
{
"title": "Snapshot"
},
{
"title": "PubMed entry",
"mimeType": "text/html",
"snapshot": false
}
],
"tags": [
"Euchromatin",
"G9a HMTase",
"heterochromatin",
"histone H3-K9 methylation",
"mammalian development",
"transcriptional regulation"
],
"notes": [],
"seeAlso": []
}
]
},
{
"type": "web",
"url": "http://www.bjj.boneandjoint.org.uk/content/94-B/1/10",
"items": [
{
"itemType": "journalArticle",
"title": "Current concepts in osteolysis",
"creators": [
{
"firstName": "B.",
"lastName": "Ollivere",
"creatorType": "author"
},
{
"firstName": "J. A.",
"lastName": "Wimhurst",
"creatorType": "author"
},
{
"firstName": "I. M.",
"lastName": "Clark",
"creatorType": "author"
},
{
"firstName": "S. T.",
"lastName": "Donell",
"creatorType": "author"
}
],
"date": "2012/01/01",
"DOI": "10.1302/0301-620X.94B1.28047",
"ISSN": "0301-620X, 2044-5377",
"abstractNote": "Skip to Next Section\nThe most frequent cause of failure after total hip replacement in all reported arthroplasty registries is peri-prosthetic osteolysis. Osteolysis is an active biological process initiated in response to wear debris. The eventual response to this process is the activation of macrophages and loss of bone.\nActivation of macrophages initiates a complex biological cascade resulting in the final common pathway of an increase in osteolytic activity. The biological initiators, mechanisms for and regulation of this process are beginning to be understood. This article explores current concepts in the causes of, and underlying biological mechanism resulting in peri-prosthetic osteolysis, reviewing the current basic science and clinical literature surrounding the topic.",
"extra": "PMID: 22219240",
"issue": "1",
"journalAbbreviation": "J Bone Joint Surg Br",
"language": "en",
"libraryCatalog": "www.bjj.boneandjoint.org.uk",
"pages": "10-15",
"publicationTitle": "J Bone Joint Surg Br",
"rights": "©2012 British Editorial Society of\nBone and Joint Surgery",
"url": "http://www.bjj.boneandjoint.org.uk/content/94-B/1/10",
"volume": "94-B",
"attachments": [
{
"title": "Full Text PDF",
"mimeType": "application/pdf"
},
{
"title": "Snapshot"
},
{
"title": "PubMed entry",
"mimeType": "text/html",
"snapshot": false
}
],
"tags": [
"Arthroplasty",
"Hip",
"Knee",
"Loosening",
"Osteolysis",
"Revision"
],
"notes": [],
"seeAlso": []
}
]
},
{
"type": "web",
"url": "http://www.bjj.boneandjoint.org.uk/content/94-B/1.toc",
"items": "multiple"
},
{
"type": "web",
"url": "http://nar.oxfordjournals.org/content/34/suppl_2/W369.full",
"items": [
{
"itemType": "journalArticle",
"title": "MEME: discovering and analyzing DNA and protein sequence motifs",
"creators": [
{
"firstName": "Timothy L.",
"lastName": "Bailey",
"creatorType": "author"
},
{
"firstName": "Nadya",
"lastName": "Williams",
"creatorType": "author"
},
{
"firstName": "Chris",
"lastName": "Misleh",
"creatorType": "author"
},
{
"firstName": "Wilfred W.",
"lastName": "Li",
"creatorType": "author"
}
],
"date": "07/01/2006",
"DOI": "10.1093/nar/gkl198",
"ISSN": "0305-1048, 1362-4962",
"abstractNote": "MEME (Multiple EM for Motif Elicitation) is one of the most widely used tools for searching for novel ‘signals’ in sets of biological sequences. Applications include the discovery of new transcription factor binding sites and protein domains. MEME works by searching for repeated, ungapped sequence patterns that occur in the DNA or protein sequences provided by the user. Users can perform MEME searches via the web server hosted by the National Biomedical Computation Resource (http://meme.nbcr.net) and several mirror sites. Through the same web server, users can also access the Motif Alignment and Search Tool to search sequence databases for matches to motifs encoded in several popular formats. By clicking on buttons in the MEME output, users can compare the motifs discovered in their input sequences with databases of known motifs, search sequence databases for matches to the motifs and display the motifs in various formats. This article describes the freely accessible web server and its architecture, and discusses ways to use MEME effectively to find new sequence patterns in biological sequences and analyze their significance.",
"extra": "PMID: 16845028",
"issue": "suppl 2",
"journalAbbreviation": "Nucl. Acids Res.",
"language": "en",
"libraryCatalog": "nar.oxfordjournals.org",
"pages": "W369-W373",
"publicationTitle": "Nucleic Acids Research",
"shortTitle": "MEME",
"url": "http://nar.oxfordjournals.org/content/34/suppl_2/W369",
"volume": "34",
"attachments": [
{
"title": "Full Text PDF",
"mimeType": "application/pdf"
},
{
"title": "Snapshot"
},
{
"title": "PubMed entry",
"mimeType": "text/html",
"snapshot": false
}
],
"tags": [],
"notes": [],
"seeAlso": []
}
]
},
{
"type": "web",
"url": "http://science.sciencemag.org/content/340/6131/483",
"items": [
{
"itemType": "journalArticle",
"title": "Potent Social Learning and Conformity Shape a Wild Primate’s Foraging Decisions",
"creators": [
{
"firstName": "Erica van de",
"lastName": "Waal",
"creatorType": "author"
},
{
"firstName": "Christèle",
"lastName": "Borgeaud",
"creatorType": "author"
},
{
"firstName": "Andrew",
"lastName": "Whiten",
"creatorType": "author"
}
],
"date": "2013/04/26",
"DOI": "10.1126/science.1232769",
"ISSN": "0036-8075, 1095-9203",
"abstractNote": "Animal Culture\nCultural transmission of information occurs when individuals learn from others with more experience or when individuals come to accept particular modes of behavior as the local norm. Such information transfer can be expected in highly social or long-lived species where contact and time for learning are maximized and are seen in humans (see the Perspective by de Waal). Using a network-based diffusion analysis on a long-term data set that includes tens of thousands of observations of individual humpback whales, Allen et al. (p. 485) show that an innovative feeding behavior has spread through social transmission since it first emerged in a single individual in 1980. The “lobtail” feeding has passed among associating individuals for more than three decades. Van de Waal et al. (p. 483), on the other hand, used a controlled experimental approach in vervet monkeys to show that individuals learn what to eat from more experienced individuals within their social group. Not only did young animals learn from observing older animals, but immigrating males switched their food preference to that of their new group.\nConformity to local behavioral norms reflects the pervading role of culture in human life. Laboratory experiments have begun to suggest a role for conformity in animal social learning, but evidence from the wild remains circumstantial. Here, we show experimentally that wild vervet monkeys will abandon personal foraging preferences in favor of group norms new to them. Groups first learned to avoid the bitter-tasting alternative of two foods. Presentations of these options untreated months later revealed that all new infants naïve to the foods adopted maternal preferences. Males who migrated between groups where the alternative food was eaten switched to the new local norm. Such powerful effects of social learning represent a more potent force than hitherto recognized in shaping group differences among wild animals.\nA natural experiment reveals that wild vervet migrants adopt local norms when it comes to choosing foods. [Also see Perspective by de Waal]\nA natural experiment reveals that wild vervet migrants adopt local norms when it comes to choosing foods. [Also see Perspective by de Waal]",
"extra": "PMID: 23620053",
"issue": "6131",
"language": "en",
"libraryCatalog": "science.sciencemag.org",
"pages": "483-485",
"publicationTitle": "Science",
"rights": "Copyright © 2013, American Association for the Advancement of Science",
"url": "http://science.sciencemag.org/content/340/6131/483",
"volume": "340",
"attachments": [
{
"title": "Full Text PDF",
"mimeType": "application/pdf"
},
{
"title": "Snapshot"
},
{
"title": "PubMed entry",
"mimeType": "text/html",
"snapshot": false
}
],
"tags": [],
"notes": [],
"seeAlso": []
}
]
},
{
"type": "web",
"url": "http://amj.aom.org/search?tmonth=Dec&pubdate_year=&submit=yes&submit=yes&submit=Submit&andorexacttitle=and&format=standard&firstpage=&fmonth=Jan&title=&hits=50&tyear=2013&titleabstract=&journalcode=amj&journalcode=amr&volume=&sortspec=relevance&andorexacttitleabs=and&author2=&andorexactfulltext=and&fyear=2008&author1=&doi=&fulltext=culture%20cultural&FIRSTINDEX=100",
"items": "multiple"
},
{
"type": "web",
"url": "http://ajpheart.physiology.org/content/235/5/H553",
"items": [
{
"itemType": "journalArticle",
"title": "Temporal stability and precision of ventricular defibrillation threshold data",
"creators": [
{
"firstName": "C. F.",
"lastName": "Babbs",
"creatorType": "author"
},
{
"firstName": "S. J.",
"lastName": "Whistler",
"creatorType": "author"
},
{
"firstName": "G. K.",
"lastName": "Yim",
"creatorType": "author"
}
],
"date": "1978/11/01",
"ISSN": "0363-6135, 1522-1539",
"abstractNote": "Over 200 measurements of the minimum damped sinusoidal current and energy for transchest electrical ventricular defibrillation (ventricular defibrillation threshold) were made to determine the stability and precision of threshold data in 15 pentobarbital-anesthetized dogs. Threshold was determined by repeated trials of fibrillation and defibrillation with successive shocks of diminishing current, each 10% less than that of the preceding shock. The lowest shock intensity that defibrillated was defined as threshold. In three groups of five dogs each, threshold was measured at intervals of 60, 15, and 5 min over periods of 8, 5, and 1 h, respectively. Similar results were obtained for all groups. There was no significant change in mean threshold current with time. Owing to a decrease in transchest impedance, threshold delivered energy decreased by 10% during the first hour of testing. The standard deviations for threshold peak current and delivered energy in a given animal were 11% and 22% of their respective mean values. Arterial blood pH, Pco2, and Po2 averaged change of pH, PCO2 and PO2 were not significantly different from zero. The data demonstrate that ventricular defibrillation threshold is a stable physiological parameter that may be measured with reasonable precision.",
"extra": "PMID: 31797",
"issue": "5",
"language": "en",
"libraryCatalog": "ajpheart.physiology.org",
"pages": "H553-H558",
"publicationTitle": "American Journal of Physiology - Heart and Circulatory Physiology",
"rights": "Copyright © 1978 the American Physiological Society",
"url": "http://ajpheart.physiology.org/content/235/5/H553",
"volume": "235",
"attachments": [
{
"title": "Full Text PDF",
"mimeType": "application/pdf"
},
{
"title": "Snapshot"
},
{
"title": "PubMed entry",
"mimeType": "text/html",
"snapshot": false
}
],
"tags": [],
"notes": [],
"seeAlso": []
}
]
},
{
"type": "web",
"url": "http://ajpheart.physiology.org/content/235/5",
"items": "multiple"
},
{
"type": "web",
"url": "http://nar.oxfordjournals.org/content/41/D1/D94.long",
"items": [
{
"itemType": "journalArticle",
"title": "Non-B DB v2.0: a database of predicted non-B DNA-forming motifs and its associated tools",
"creators": [
{
"firstName": "Regina Z.",
"lastName": "Cer",
"creatorType": "author"
},
{
"firstName": "Duncan E.",
"lastName": "Donohue",
"creatorType": "author"
},
{
"firstName": "Uma S.",
"lastName": "Mudunuri",
"creatorType": "author"
},
{
"firstName": "Nuri A.",
"lastName": "Temiz",
"creatorType": "author"
},
{
"firstName": "Michael A.",
"lastName": "Loss",
"creatorType": "author"
},
{
"firstName": "Nathan J.",
"lastName": "Starner",
"creatorType": "author"
},
{
"firstName": "Goran N.",
"lastName": "Halusa",
"creatorType": "author"
},
{
"firstName": "Natalia",
"lastName": "Volfovsky",
"creatorType": "author"
},
{
"firstName": "Ming",
"lastName": "Yi",
"creatorType": "author"
},
{
"firstName": "Brian T.",
"lastName": "Luke",
"creatorType": "author"
},
{
"firstName": "Albino",
"lastName": "Bacolla",
"creatorType": "author"
},
{
"firstName": "Jack R.",
"lastName": "Collins",
"creatorType": "author"
},
{
"firstName": "Robert M.",
"lastName": "Stephens",
"creatorType": "author"
}
],
"date": "01/01/2013",
"DOI": "10.1093/nar/gks955",
"ISSN": "0305-1048, 1362-4962",
"abstractNote": "The non-B DB, available at http://nonb.abcc.ncifcrf.gov, catalogs predicted non-B DNA-forming sequence motifs, including Z-DNA, G-quadruplex, A-phased repeats, inverted repeats, mirror repeats, direct repeats and their corresponding subsets: cruciforms, triplexes and slipped structures, in several genomes. Version 2.0 of the database revises and re-implements the motif discovery algorithms to better align with accepted definitions and thresholds for motifs, expands the non-B DNA-forming motifs coverage by including short tandem repeats and adds key visualization tools to compare motif locations relative to other genomic annotations. Non-B DB v2.0 extends the ability for comparative genomics by including re-annotation of the five organisms reported in non-B DB v1.0, human, chimpanzee, dog, macaque and mouse, and adds seven additional organisms: orangutan, rat, cow, pig, horse, platypus and Arabidopsis thaliana. Additionally, the non-B DB v2.0 provides an overall improved graphical user interface and faster query performance.",
"extra": "PMID: 23125372",
"issue": "D1",
"journalAbbreviation": "Nucl. Acids Res.",
"language": "en",
"libraryCatalog": "nar.oxfordjournals.org",
"pages": "D94-D100",
"publicationTitle": "Nucleic Acids Research",
"shortTitle": "Non-B DB v2.0",
"url": "http://nar.oxfordjournals.org/content/41/D1/D94",
"volume": "41",
"attachments": [
{
"title": "Full Text PDF",
"mimeType": "application/pdf"
},
{
"title": "Snapshot"
},
{
"title": "PubMed entry",
"mimeType": "text/html",
"snapshot": false
}
],
"tags": [],
"notes": [],
"seeAlso": []
}
]
},
{
"type": "web",
"url": "http://www.bloodjournal.org/content/123/22",
"items": "multiple"
},
{
"type": "web",
"url": "http://www.bmj.com/search/cell",
"items": "multiple"
},
{
"type": "web",
"url": "http://www.bmj.com/content/322/7277/29.1",
"items": [
{
"itemType": "journalArticle",
"title": "Islet and stem cell transplantation for treating diabetes",
"creators": [
{
"firstName": "Palle",
"lastName": "Serup",
"creatorType": "author"
},
{
"firstName": "Ole D.",
"lastName": "Madsen",
"creatorType": "author"
},
{
"firstName": "Thomas",
"lastName": "Mandrup-Poulsen",
"creatorType": "author"
}
],
"date": "2001/01/06",
"DOI": "10.1136/bmj.322.7277.29",
"ISSN": "0959-8138, 1468-5833",
"abstractNote": "By 2010 the number of people with diabetes is expected to exceed 350 million. Late diabetic complications will cause considerable morbidity in 5-10% of these patients and place an enormous burden on society. Transplantation of insulin producing islet cells isolated in vitro from a donor pancreas could be a cure for type 1 and some cases of type 2 diabetes. Currently, however, lack of sufficient donor organs and the side effects of immunosuppressive therapy limit its potential. Ways to overcome these problems include deriving islet cells from other sources such as pigs, human pancreatic duct cells, fetal pancreatic stem cells, embryonic stem cells, and by therapeutic cloning. This article outlines these developments and discusses how islet cell transplantation is likely to become the treatment of choice for most insulin dependent diabetics within the next five to 10 years.\n\nOur article is based on information from the following core references: the international islet transplant registry; recently published articles describing improvements in islet cell transplantation, reporting treatment of diabetes in animal models with islet cells grown in vitro, and describing novel molecular mechanisms in pancreatic endocrine development (including our own recent work); papers in embryonic and adult stem cell research that have had a major influence on our thinking; and the seminal work from the Roslin Institute and other groups on nuclear transfer.\n\nIn many cases current diabetes drug therapies do not provide sufficiently tight control of blood glucose to avoid diabetic late complications. 1 2 Transplantation of whole donor pancreas is an effective form of treatment but is of limited application since it entails major surgery and long term immunosuppression. This failure to prevent the morbidity associated with diabetes places an enormous burden not only on patients and their relatives but also on society. The costs of treating late diabetic complications …",
"extra": "PMID: 11141151",
"issue": "7277",
"journalAbbreviation": "BMJ",
"language": "en",
"libraryCatalog": "www.bmj.com",
"pages": "29-32",
"publicationTitle": "BMJ",
"rights": "© 2001 BMJ Publishing Group Ltd.",
"url": "http://www.bmj.com/content/322/7277/29.1",
"volume": "322",
"attachments": [
{
"title": "Full Text PDF",
"mimeType": "application/pdf"
},
{
"title": "Snapshot"
},
{
"title": "PubMed entry",
"mimeType": "text/html",
"snapshot": false
}
],
"tags": [],
"notes": [],
"seeAlso": []
}
]
},
{
"type": "web",
"url": "http://www.bmj.com/search/advanced/title%3Acell%20title_flags%3Amatch-all%20limit_from%3A1840-01-01%20limit_to%3A2015-02-25%20numresults%3A10%20sort%3Arelevance-rank%20format_result%3Astandard",
"items": "multiple"
},
{
"type": "web",
"url": "http://www.bmj.com/content/350/bmj.h696",
"items": [
{
"itemType": "journalArticle",
"title": "Length of hospital stay after hip fracture and short term risk of death after discharge: a total cohort study in Sweden",
"creators": [
{
"firstName": "Peter",
"lastName": "Nordström",
"creatorType": "author"
},
{
"firstName": "Yngve",
"lastName": "Gustafson",
"creatorType": "author"
},
{
"firstName": "Karl",
"lastName": "Michaëlsson",
"creatorType": "author"
},
{
"firstName": "Anna",
"lastName": "Nordström",
"creatorType": "author"
}
],
"date": "2015/02/20",
"DOI": "10.1136/bmj.h696",
"ISSN": "1756-1833",
"abstractNote": "Objective To investigate relation between inpatient length of stay after hip fracture and risk of death after hospital discharge.\nSetting Population ≥50 years old living in Sweden as of 31 December 2005 with a first hip fracture the years 2006-12.\nParticipants 116 111 patients with an incident hip fracture from a closed nationwide cohort.\nMain outcome measure Death within 30 days of hospital discharge in relation to hospital length of stay after adjustment for multiple covariates.\nResults Mean inpatient length of stay after a hip fracture decreased from 14.2 days in 2006 to 11.6 days in 2012 (P<0.001). The association between length of stay and risk of death after discharge was non-linear (P<0.001), with a threshold for this non-linear effect of about 10 days. Thus, for patients with length of stay of ≤10 days (n=59 154), each 1-day reduction in length of stay increased the odds of death within 30 days of discharge by 8% in 2006 (odds ratio 1.08 (95% confidence interval 1.04 to 1.12)), which increased to16% in 2012 (odds ratio 1.16 (1.12 to 1.20)). In contrast, for patients with a length of stay of ≥11 days (n=56 957), a 1-day reduction in length of stay was not associated with an increased risk of death after discharge during any of the years of follow up.\nLimitations No accurate evaluation of the underlying cause of death could be performed.\nConclusion Shorter length of stay in hospital after hip fracture is associated with increased risk of death after hospital discharge, but only among patients with length of stay of 10 days or less. This association remained robust over consecutive years.",
"extra": "PMID: 25700551",
"journalAbbreviation": "BMJ",
"language": "en",
"libraryCatalog": "www.bmj.com",
"pages": "h696",
"publicationTitle": "BMJ",
"rights": "© Nordström et al 2015. This is an Open Access article distributed in accordance with the Creative Commons Attribution Non Commercial (CC BY-NC 4.0) license, which permits others to distribute, remix, adapt, build upon this work non-commercially, and license their derivative works on different terms, provided the original work is properly cited and the use is non-commercial. See: http://creativecommons.org/licenses/by-nc/4.0/.",
"shortTitle": "Length of hospital stay after hip fracture and short term risk of death after discharge",
"url": "http://www.bmj.com/content/350/bmj.h696",
"volume": "350",
"attachments": [
{
"title": "Full Text PDF",
"mimeType": "application/pdf"
},
{
"title": "Snapshot"
},
{
"title": "PubMed entry",
"mimeType": "text/html",
"snapshot": false
}
],
"tags": [],
"notes": [],
"seeAlso": []
}
]
}
]
/** END TEST CASES **/
(3)(+0000140): [ConcurrentCaller] Running function (0/4 running, 0 queued)
(3)(+0000001): HTTP POST "mtime=1489602992000&md5=6d71c0fe941c5520cdaff386a435f337&filename=139_161.pdf&filesize=539552" to https://api.zotero.org/users/1839946/items/TIFCZ7GD/file
(3)(+0000003): {
"Content-Type": "application/x-www-form-urlencoded"
"If-None-Match": "*"
"Zotero-API-Version": 3
"Zotero-API-Key": "[Not shown]"
}
(3)(+0000082): [ConcurrentCaller] Running function (1/4 running, 0 queued)
(3)(+0000002): HTTP POST "mtime=1489603065000&md5=b50cdccc85aa88815d39da66c4e92cf6&filename=HansChristianJensen-%20fra%20velf%C3%A6rd%20til%20designkultur%20-%20phd-afhandling.pdf&filesize=1212821" to https://api.zotero.org/users/1839946/items/TI3Q536V/file
(3)(+0000002): {
"Content-Type": "application/x-www-form-urlencoded"
"If-None-Match": "*"
"Zotero-API-Version": 3
"Zotero-API-Key": "[Not shown]"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment