It would be fantastic if you could embed your library on other websites

I've got my own website and I was thinking it would be great if I could simply embed my shared library there so that people didn't have to click on a separate link.

It's fairly trivial however i think it could be nice.
  • This functionality is actually already available via the Zotero server API. Once we make a couple of small refinements to the authentication process, we'll offer some sample code to get you started.
  • A little JQuery plug-in might be useful.
  • Awesome look forward to it!
  • I'm interested in this too! I'd definitely like to be able to embed my group's library into our website.
  • edited July 18, 2009
    Hi,
    This would be beautiful. Embedding the group library but also individual collections would be really neat - both public and private (to use on logged in web pages).
    Any progress lately?
    Jonas :-)
  • Hi,
    Do you know what the status is for this feature? Looking forward to using it.
    Kind regards,
    Jonas
  • A feed of your library is now available. If your library is public you should find a feed link in the address bar when you view your library (or collection) on the website. If its not public you can create a key in the website settings under the "Feeds/API" tab.

    In the future we'll have an interface for customizing the feed link with the available parameters. For now you should just know that adding "/top" to the end of the library feed link limits it to top level items which is what you most likely want.
  • @fcheslack: still not seeing a feed link on the page (the HTML).
  • <link href="https://api.zotero.org/users/34/items" type="application/atom+xml" rel="alternate" title="Zotero / bdarcus / Top-Level Items" />
  • bdarcus requested a visible link on the page (as opposed to the link element which is detected and shown in the address bar) which I haven't pushed to the live site yet.
  • Right; don't want to have to look at source to figure out the URI.
  • I'd like to add my interest in this functionality. Currently on my collections, the "feed" is not RSS (i.e., https://api.zotero.org/users/131/collections/151291/items) so I can't use a tool like http://feed2js.org/index.php?s=build to quickly build the javascript to embed. Any chance the zotero feed will soon be standardized RSS? Thanks.
  • this may work?
    http://www.samplereality.com/2009/07/29/on-hacking-and-unpacking-my-zotero-library/
  • thanks for the quick response! I'll try the dapper/pipes method you described. It'd still be better IMHO if zotero put out standardized rss, and would be even cooler if there were a button to click to get embed code ala youtube, blip.tv, scribd, archive.org etc. Again thanks for the information.
  • It'd still be better IMHO if zotero put out standardized rss, ..
    Not at all. They export Atom, which is every bit as standard (arguably more so) than RSS.

    OTOH, if they supported RSS 1.0, they'd also have RDF.
  • mmmm RDF :-) I just tried feedburner to convert the https zotero feed into something that feed2js would recognize, but no luck. off to play with ypipes. thanks again for the information.
  • Hi again,

    I would like to embed invidual collections into any homepage with the option to choose language so the labels (Author, Publisher, Date...) will be in the native tounge of the user; and also with active links when there are url:s.
    Something like the widget for iGoogle (here a screenshot: https://card.coop/images_cc/Zotero_embed.png ).

    Is this perhaps possible already now, or is this a functionality "round the corner"?
    Kind regards,
    Jonas
  • Hi,
    I am bringing up this feature request again. As said above I would like to embed (using iFrame...) invidual collections into any homepage with the option to choose language so the labels (Author, Publisher, Date...) will be in the native tounge of the user; and also with active links when there are url:s.

    Would anyone know if this is possible already or if this feature will be available later on?

    Kind regards,
    Jonas
  • Sorry to bump this up again. For my part, I was able to import my library in a drupal plateform, ( http://meos.qc.ca/drupal/?q=fr/biblio ) and I'd like to develop some advanced view, not available on zotero web site.

    For now, I can only map the title, the description, the original url, (what you see in bracket in the code there). So I currently can't map the info concerning my reference, because everything is in the description tag. Is it possible to tag each element individually without breaking the feed view ?

    Array
    (
    [title] => Global pharmaceuticals
    [description] =>


    Type
    Book


    Author
    Adriana Petryna


    Author
    Andrew Lakoff
    ...
    [options] => Array
    (
    [original_author] => pmarchand
    [timestamp] => 1269960841
    [original_url] => http://zotero.org/groups/meos/items/119765546
    [guid] => http://zotero.org/groups/14974/items/119765546
    [tags] =>
    [domains] =>
    )

    )


    Thank you for your time!
  • edited March 10, 2011
    Hi,

    For those interested, I just managed to embed my collections on my blog (one collection per page) using WebRSS.com. You can check how it looks: [update: link removed. It wasn't working as expected -too slow-, so I finally gave up on this.] You can customize the appearance, and the code snippet can be Javascript, PHP, ASP or HTML.
    There are two issues, though. I dont' know how (if it's even possible) to change the language of the labels; and how to make URLs clickable.
    Any ideas?
  • Hi,
    Does anyone know if this functionality (embedding Zotero library into a personal website) is available yet?
  • Yes. There are plugins for various frontends such as Wordpress and Drupal http://www.zotero.org/support/plugins#website_integration
    But even if you're working from scratch this isn't hard to do:
    http://librarian.newjackalmanac.ca/2012/09/how-to-load-zotero-into-webpage-with-3.html
  • I would love to understand this better. I've read the posts but things like API and the other acronyms are out of my knowledge. I do know basic html and php to make things appear on a webpage.

    I have a publicly viewable Group library, no one can edit except me.
    https://www.zotero.org/groups/mabinogistudy/items

    Can I put a snippet of html or php code in the body of a site page to make it display my Group page from zotero?
    Does this need any script adding to the page header?
Sign In or Register to comment.