Community articleGetting a feed of the featured blogs
Added by IBM contributorIBM on March 13, 2014
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

Get the featured blogs feed to find the blogs that have had the most activity across all of the blogs hosted by the Blogs application in the past two weeks.


Get the featured blogs feed to find the blogs that have had the most activity across all of the blogs hosted by the Blogs application in the past two weeks.

Authentication

You do not need to authenticate this request.

Usage notes

The following resources are available from the featured blogs feed:

  • A current copy of this Atom feed document (self link).
  • An HTML representation of this feed (alternate link).

Request parameters

You cannot provide input parameters to narrow down the content that is returned in the feed; the server calculates which blog postings are featured based on recent activity.

Output

An Atom feed document containing the blog entries. The maximum number of entries returned is five.

All elements are in the http://www.w3.org/2005/Atom namespace.

Table 2. Featured posts feed content

Element
Description
<title>
Title of the feed.
<link rel="alternate" type="text/html" ... />
Links to the HTML representation of the list of featured blogs. You can perform the following operation on the value of the href attribute:
  • GET HTML for display in browser
<link rel="self" ... />
Specifies the preferred address for retrieving a current copy of this Atom feed document. You can perform the following operation on the value of the href attribute:
  • GET a current copy of this feed
<openSearch:totalResults>
Specifies the total number of featured blog entries available.
<entry ... />
One blog post Atom entry is provided for each featured blog. See Blogs definition content.

Input
Method URI Description
GET /blogs/{homepage}/feed/featuredblogs/atom
Name Type Optional Description
homepage
string No {homepage} represents the blog handle of the blog configured to be the home page of the Blogs application. The handle is defined when the home page blog is created by the administrator, and is defined in the <snx:BlogsHomepageHandle> element in the service document for Blogs.
Output
Content Type: application/atom+xml
Use the table below that represents the returned fields:
Name Type Optional Description
<title>
string Yes Title of the feed.