Feeds of published postings on the site are available for each service we recognise.
You can find easy links to the feed you want on the relevant service page, or after you've searched for the opinions you want.
The base URI for the postings feed is:
http://www.patientopinion.org.uk/api/feeds.svc/postings
This will give you the 10 latest postings we have published, in Atom feed format.
Starting with this URL, you can add parameters to set the feed format (Atom or RSS), the number of items, and filters to get just the postings you want.
To add parameters to a feed, you add "filter=value" sections to the URL.
For example:
http://www.patientopinion.org.uk/api/feeds.svc/postings?format=atom&tag=foot will give you recent postings tagged with "foot", in Atom feed format.
http://www.patientopinion.org.uk/api/feeds.svc/postings?format=rss&healthservice=RFRPA&numitems=20 will give you 20 recent postings about Rotherham General Hospital, in RSS feed format.
Here are all the filters we currently recognise:
- format: can be "atom" (the default) or "rss"
- numItems: how many items you want in the feed - an integer between 1 and 25 (the default is 10)
- postingtype: story, concern, thank you, suggestion, tip
- phrase: a phrase you want to be in the posting text
- healthservice: The ID of a health service the posting is about. You can find the ID you want by looking at the URL of the page about that service
- tag: a tag linked to the posting
- postingas: the role of the posting author, e.g. patient, carer, relative: consult the dropdown list on the "share your story" page for the options available
Back