Home

 

Get a feed of recent posts for a blog

Get a feed that lists all of the posts in a specific blog from most recent to oldest.

This request returns a feed of all the blog posts as opposed to returning the Atom entry of a single blog post. To return an Atom entry of a single blog post, see Retrieving a blog post. The following resources are available from the recent posts feed:


Atom API request details

Resource Description
{handle}/feed/entries/atom A feed containing the recently added posts of a particular blog.

{handle} represents the blog handle. A handle is specified when a blog is first created and is used in the construction of Web addresses used to query the entries in a blog.

You can use one or more of the input parameters to limit the number of posts 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.
ps Page size. Specifies the number of entries to return per page.
search Well-formed full text search query. Performs a text search of the blog posts.
since Includes in the resulting feed all entries published after a specified date. Specify the date using a date-time value that conforms to RFC3339. In addition, an uppercase "T" character must be used to separate date and time, and an uppercase "Z" character must be present in the absence of a numeric time zone offset. For example: 2009-01-04T20:32:31.171Z.
sortBy Species what value to use as the basis for organizing the entries returned in the feed. The options are:

    commented

    Organize the entries by the number of comments or replies it has received.

    modified

    Organize the entries by modification date.

    recommended

    Organize the entries by number of recommendations.

    title

    Organize the entries by title. The title used is the text that is displayed in the <title> element of each entry in the feed.

    visited

    Organize the entries by the number of times an entry has been visited.

Use with the sortOrder parameter to specify the order in which to display the results..

sortOrder Specifies the order in which to list the feed entries. The options are:

    asc

    Displays the entries in ascending order.

    desc

    Displays the entries in descending order.

tags Returns blog posts with the specified tags. Separate multiple tags with a plus sign (+).

 

Output

An Atom feed document containing the blog posts.

 

Example

To search the posts in a blog that has the handle amy11Blog, send the following HTTP request:

The HTTP response would look as follows:

The following content is returned by the server:


Get data from an individual blog

 

Related reference


Blog posting content

Retrieving blog posts

Recommending a blog posting


+

Search Tips   |   Advanced Search