Zotero can't download entries from our site

Take this publication from our site for example: http://sse-world.de/index.php/forschung/veroeffentlichungen/demsy-a-scenario-for-an-integrated-demonstrator-in-a-smart-city/

I've collected all the data that I want zotero to grab into a "case" variable of javascript because I've seen that all "testCases" are made like this for the translators I've browsed.. But for some reason Zotero still doesn't want to download the publication linked above, there is no icon in the address bar. What am I doing wrong? How to do it right? I had it done with metatags before (commented out the meta-tag script atm, to test this js solution) but they didnt provide enough information. For example I also want to add files, like I have a bibtex file in the attachment part of the js.

Can someone please tell me what I do wrong?


The JS part of the linked publication:

<script type="text/javascript">
var case = [
{
"type": "web",
"url": "http://sse-world.de/index.php?cID=3005",
"items": [
{
"itemType": "magazineArticle",
"creators": [
{
"firstName": "Andreas",
"lastName": "Rausch",
"creatorType": "author"
},
{
"firstName": "Dirk",
"lastName": "Niebuhr",
"creatorType": "author"
}
],
"notes": [],
"tags": [
[
"DemSy",
"Scenario",
"Integrated",
"Demonstrator",
"Smart",
"City"
]
],
"seeAlso": [],
"attachments": [
{
"url": "http://sse-world.de/index.php/bibtexfactory/singlefactory?id=3005.bib",
"title": "Publication BibTeX",
"type": "application/x-bibtex"
}
],

"url": "http://sse-world.de/index.php?cID=3005",
"date": "2010",
"title": "DemSy - A Scenario for an Integrated Demonstrator in a Smart City",
"volume": "01",

"accessDate": "CURRENT_TIMESTAMP"
}
]
}
]
</script>
  • http://www.zotero.org/support/dev/exposing_metadata

    The test cases you see in translators have nothing to do with exposing metadata on a webpage—not sure why you think they do.
  • How do I add a *.bib (bibtex) file to the publication then with metatags? I dont know any file/url metatag..

    Your link says something about when I use unAPI I can use formats like bibtex. So do I need to implement unAPI in order to get my bib files listed in zotero?
  • Since you can clearly put whatever content you want on this site, I recommend you use embedded metadata-- the Google/HighWire vocabulary is a good start, and it will help Google Scholar index your pages as well. You've done some of this already-- just be sure to add something like "citation_journal_title" or "citation_conference_title" so that Zotero detects it as the correct type.
  • Scholar and Dublin Core are already fully implemented (the meta tags are only shown if the staff entered the correspending data for the publication).

    However, I did not find a way to add files to it yet, like a link to PDF or BIB. The only thing I can think of that gets close to it is the DC.Relation metatag from Dublin Core. However, it does not really fully match my needs here. I don't want to link to related URLs, I want to attach files/urls that directly go with the publication, like a PDF or BIB file.

    Can you help me?
  • If you specify citation_pdf_url, Zotero will pick it up. There isn't a way to get Zotero to attach arbitrary documents, so I don't think it'll work to have Zotero save a BIB file automatically, unless you write a site translator for the site.
  • Would a translator for this be difficult to write?

    Could I at least add multiple URLs like DC.identifier to it, so that Zotero would grab them all? Then I could use that to get Zotero at least grab the links to bib files etc, but I need zotero to get the links..
  • This would be a very easy translator to write. Take a look at the general documentation (http://www.zotero.org/support/dev/translators), install Scaffold (http://www.zotero.org/support/dev/translators/scaffold), and open up the existing BioMed Central translator, which augments the Embedded Metadata translator much as you would need to.

    Try it out, and send any questions to the developer listserv, http://groups.google.com/group/zotero-dev (the forums are not usually the place for specific coding issues)
  • Alright I'll have a look at it and try my best. Thank you for you help :)
  • Your link says something about when I use unAPI I can use formats like bibtex. So do I need to implement unAPI in order to get my bib files listed in zotero?
    UnAPI is fairly straight forward & would allow for expanded use of metadata if you added export formats. Are there downsides to using it on your site?

This is an old discussion that has not been active in a long time. Before commenting here, you should strongly consider starting a new discussion instead. If you think the content of this discussion is still relevant, you can link to it from your new discussion.

Sign In or Register to comment.