Skip to content

Consuming with Atom and RSS

Erin Braswell edited this page Apr 12, 2015 · 9 revisions

Atom is a protocol created for distributing blog posts and other syndicated web content. While not a perfect match for SHARE Notify, it does provide a simple way to explore the notifications flowing from the service.

Using the SHARE Atom feed

The SHARE Atom feed can be found at:

https://osf.io/share/atom

The feed is a layer on top of the existing scrAPI search API developed for SHARE. It takes a query URL parameter, and returns an Atom feed with the results of that query. The query syntax is as follows:

/atom/?q=query_term

You can also specify the field you would like to search, by adding the prefix of field: to the query, like so:

/atom/?q=source:plos

The fields themselves are documented on our metadata schema page

To query the Atom feed, you can use any valid Lucene query syntax. You can query by any field in the metadata schema, by date ranges (using solr date formats), by keywords, or any combination of the above.

Here are some examples of valid queries:

Note: Atom allows for some greater flexibility in the way the metadata payload is structured. It also allows for some flexibility is specifying the date range of items to be returned. While this flexibility has not yet been leveraged in this Atom feed, we expect to improve it in time. For now, you can treat it much as you would the RSS feed.

SHARE Logo

Technical Overview

Creating a Harvester

Running Harvesters with ScrAPI

Consuming Notifications - Feed Options

Issues & Using the Issue Tracker

Metadata Schema

Glossary

Provider Names

Statistics Snapshot

Experimental Push API

Use Cases

SHARE is a project of the ARL, AAU, and APLU. Development of the SHARE Notification Service is being carried out in partnership with the Center for Open Science and is supported by generous funding from The Institute of Museum and Library Services (IMLS) and the Alfred P. Sloan Foundation.

Clone this wiki locally