Home
Get a feed of the latest comments added to all blogs
Get a feed that includes all of the comments added to the postings in all of the blogs hosted by the Blogs feature from most recent to oldest. The following resources are available from the recent comments feed:
- A current copy of this Atom Feed Document (self link).
- An HTML representation of this feed (alternate link).
- Report inappropriate content to administrator link (reports link in post entries).
Atom API request details
Resource Description {homepage}/feed/comments/atom A feed containing the comments for all blogs. {homepage} represents the blog handle of the blog configured to be the home page of the Blogs feature. The handle is defined when the home page blog is created by the administrator.
You can use one or more input parameters to limit the number of blog comments returned in the feed. Separate multiple parameters with an ampersand (&).
Input parameters
Parameter Description page Page number. Specifies the page to be returned. The first page is page 0. The value must be an integer equal to or greater than 0. ps Page size. Specifies the number of entries to return per page. The value must be an integer between 1 and 50.
Output
An Atom feed document containing the blog comments.
Example
To get a feed of all of the comments made on the blog with the handle home, send the following HTTP request:> GET /blogs/myhome/feed/comments/atom HTTP/1.1 > Authorization: Basic ... > Host: blogs.enterprise.acme.com > Accept: */*The HTTP response would look as follows:
< HTTP/1.1 200 OK < Date: Tue, 26 Feb 2008 22:13:41 GMT < Server: IBM_HTTP_Server < Last-Modified: Thu, 07 Feb 2008 15:27:41 GMT < Set-Cookie: JSESSIONID=0000qS9OBdXn_r21G4G2gQrwODW:-1; Path=/ < Expires: Thu, 01 Dec 1994 16:00:00 GMT < Cache-Control: no-cache="set-cookie, set-cookie2" < Transfer-Encoding: chunked < Content-Type: application/atom+xml < Content-Language: en-USThe following content is returned by the server:
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:app="http://www.w3.org/2007/app" xmlns:snx="http://www.ibm.com/xmlns/prod/sn" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/"> <id>urn:lsid:ibm.com:blogs:comments-51735533-67da-49e6-9804-9e5151fc24c7</id> <title type="html">Conference Sites Blog (Comments)</title> <subtitle type="html">Gather info (Comments)</subtitle> <link rel="alternate" type="text/html" href="https://enterprise.acme.com:9444/blogs/myblog?lang=en_us" /> <link rel="self" type="application/atom+xml" href="https://enterprise.acme.com:9444/blogs/myblog/feed/comments/atom?lang=en_us" /> <link rel="first" type="application/atom+xml" href="https://enterprise.acme.com:9444/blogs/myblog/feed/comments/atom?lang=en_us" /> <openSearch:totalResults>2</openSearch:totalResults> <updated>2009-07-15T16:48:36-04:00</updated> <generator uri="http://www.ibm.com/xmlns/prod/sn" version="2.5"> Lotus Connections - Blogs </generator> <entry xml:base="https://enterprise.acme.com:9444/blogs/myblog/entry/two_lakes_conference_center"> <id>urn:lsid:ibm.com:blogs:comment-d6d19ad0-7355-4a87-a500-d4fe8be71c5e</id> <title type="text">Re: Two Lakes Conference Center</title> <author> <name>Andy Lewis</name> <email>alewis@us.acme.com</email> <snx:userid>5b788f40-7d67-102c-845c-e2ebc3ec5536</snx:userid> </author> <link rel="self" type="application/atom+xml" href="https://enterprise.acme.com:9444/blogs/myblog/feed/comment/atom? commentid=d6d19ad0-7355-4a87-a500-d4fe8be71c5e&lang=en_us" /> <link rel="alternate" type="text/html" href="https://enterprise.acme.com:9444/blogs/myblog/entry/two_lakes_conference_center? lang=en_us#comment-1247690916968" /> <link rel="http://www.ibm.com/xmlns/prod/sn/recommendations" href="https://enterprise.acme.com:9444/blogs/myblog/feed/commentrecommendations/ d6d19ad0-7355-4a87-a500-d4fe8be71c5e/atom?lang=en_us" /> <app:collection href="https://enterprise.acme.com:9444/blogs/myblog/api/recommend/comments/ d6d19ad0-7355-4a87-a500-d4fe8be71c5e?lang=en_us"> <title type="text">Recommendations</title> <category scheme="http://www.ibm.com/xmlns/prod/sn/collection" term="recommend" /> <app:categories fixed="yes" /> </app:collection> <published>2009-07-15T16:48:36-04:00</published> <updated>2009-07-15T16:48:36-04:00</updated> <content type="html"> <![CDATA[ Attended a conference here and thought it was a great location. ]]> </content> <summary type="html"> <![CDATA[ Attended a conference here and thought it was a great location. ]]> </summary> <thr:in-reply-to ref="urn:lsid:ibm.com:blogs:entry-cb2a13c6-b3ac-43c9-96b0-4459218dec94" source="https://enterprise.acme.com:9444/blogs/myblog/feed/entries/atom?lang=en_us" href="https://enterprise.acme.com:9444/blogs/myblog/entry/two_lakes_conference_center? lang=en_us" type="text/html" /> <snx:rank scheme="http://www.ibm.com/xmlns/prod/sn/recommendations">0</snx:rank> <source> <id>urn:lsid:ibm.com:blogs:entrycomments-cb2a13c6-b3ac-43c9-96b0-4459218dec94</id> <title type="text">BVT Blog 0715150420 - Comments</title> <link type="application/atom+xml" rel="self" href="https://enterprise.acme.com:9444/blogs/myblog/feed/entrycomments/ two_lakes_conference_center/atom?lang=en_us" /> <link type="text/html" href="https://enterprise.acme.com:9444/blogs/myblog/entry/two_lakes_conference_center? lang=en_us" /> </source> </entry> </feed>
Get data from all of the blogs