Hi All - Zenodo (live and sandboxy) are both throwing 400 errors when I try and attach JSON files (as datasets and/or annotation lists). Tried Firefox + Chrome - any problems your end?
(JSON response to PUT request contains message "File is smaller than expected."...)
@dfdan Are you using this via a script, or on the UI? There's an issue for that: zenodo/zenodo#1453
For the REST API, you have to add the Content-Type: application/octet-stream HTTP header
thanks @slint - web UI. Reckon I can just replay the put command using curl + the modified content-type header?
Just got one in (the sandbox), thanks!
@slint - those all went in fine. I note that they are returned with Content-Type of text/plain - is there a way to specify the true content-type?
Hey All i'm installing zendo in developmental installation and i need nodejs 7.4 i tired insttalling using terminal but i keep getting node 10 so i downloaded node 7.4 when i tried installing it i got this error(make) deps/v8/src/v8_base.target.mk:577: recipe for target '/home/sofi/Desktop/node-v7.4.0/out/Release/obj.target/v8_base/deps/v8/src/heap/heap.o' failed make: [/home/sofi/Desktop/node-v7.4.0/out/Release/obj.target/v8_base/deps/v8/src/heap/heap.o] Error 1 make: Leaving directory '/home/sofi/Desktop/node-v7.4.0/out' Makefile:73: recipe for target 'node' failed make: [node] Error 2 can anyone suggest me how to fix this or anyother way to install nodejs 7.4 from my terminal?
Hi, sorry for the uninformed question: I am looking for a way to display a community collection on a website. Something like a widget? Does something like that exist?
Unfortunately, we don't have any embeddable widget for displaying community records
@dfdan A bit late I guess, but here it goes: the Content-Type is text/plain for some types of files because of security reasons
@slint thanks! Will try to come up with something using the ReST API and share with you
@fridlutz I guess the easiest way is to take the xsl stylesheet that formats the OAI output for a community and modify that somehow.
I am new to Zenodo, I want to remove the "sign up" button from the header, what is the best way to do so? pls, help me !!!
You can set SECURITY_REGISTERABLE = False in your config
which completely removes the sign-up feature
if you want to just remove the button, you have to override the header_login via the THEME_HEADER_LOGIN_TEMPLATE variable
ok thank you @slint, 100% succeeded the target.
Hello, i have two separately installed zenodo repositories and i want each repository community harvest another one, so how can i configure to harvest metadata and contents between two zenodo repository communities via OAI-PMH?
Lars Holm Nielsen
There’s no support for harvesting in Zenodo……Zenodo (the service) on purpose do not want to harvest anything, because it opens a lot of problems related to deduplication etc
only things accepted in the zenodo community appear on the frontpage
Lordjette Leigh Lecaros
hello @lnielsen , is this means only accepted/published can be seen in the frontpage? I have published a journal doc in zenodo community. but, it can't be seen in recent upload frontpage. see images: https://ibb.co/9hbYQ2Z https://ibb.co/t2ZyjKf