Export All Zotero Data to Local Web Site

I wrote a program that exports all data to a searchable (doc titles) to the file system.

https://github.com/plandes/zotsite

This doesn't use the Zotero web site.

I wrote this so I'd have offline access to my papers, and also a way to export to my own server.

Eventually, I'd like to add (or have someone else add if interested) a way to export a sub collection to share with others for on a local site etc.

Enjoy.
  • Great! I added this to the list of Zotero plugins for website integration.
    https://www.zotero.org/support/plugins#website_integration
  • Thank you for adding this. Any feedback on the tool is also helpful as well. After learning more about the Zotero developer API, I'll eventually make this a proper plugin.
  • @paullandes thank you for creating this! I've been looking for a better way to share my Zotero library as a public repo. A couple of questions:

    * Do you have a live example site I can browse to explore what this can do? I'm particularly interested in how Zotsite displays Notes.
    * Is there a way to easily keep a server-based installation of Zotsite up to date with one's Zotero database?

    Thanks again for your work!
  • I added a live example site to the GitHub site:
    https://plandes.github.io/zotsite/sample/index.html

    There's also a note in this sample at: Machine Learning / Causal Learning / Why Propensity Scores Should Not Be Used for Matching

    Regarding the sync: no, partly because the site itself is all static. All navigation, searching, etc is done in Javascript. However, I have added a sync script:
    https://github.com/plandes/zotsite#keeping-the-website-in-sync-with-zotero
  • Fantastic, thanks, @paullandes! It's a bit hard to tell from your example, but it looks like the Note displays with just straightforward HTML, which is far superior to the strange box that Notes appear in at Zotero.org (just posted about that: https://forums.zotero.org/discussion/73074/note-display-issues-on-zotero-org

    Your script seems good—I'd maybe just add to that an rsync chron job to enable it to also update a remove web server.

    As you continue development, too, I'd suggest aiming for a bit more robust mobile responsiveness.

    But on the whole, thank you for this important contribution. I think Zotero's potential as a tool for generating accessible, readable, public-facing web content is severely underestimated.
  • Hi,

    Yes, it's just adds the note verbatim (not even HTML, or any processing per se--it all happens in the DOM).

    Re further development: please feel free to contribute as a pull request on GitHub and I'll add it in.

    Re mobile responsiveness: It uses bootstrap with a responsive design in mind and specifically written for use on my iPad so I can read papers while exercising on my trainer. If there's something it doesn't do for you on your device, create an issue on GitHub and I'll look into it--although I don't have any android devices.

    Thanks for your nice words--much appreciate the feedback and makes me feel that putting it out there was worth it!

    Cheers!
Sign In or Register to comment.