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>
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>
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.
The test cases you see in translators have nothing to do with exposing metadata on a webpage—not sure why you think they do.
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?
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?
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..
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)