Previous page

Next page

Locate page in Contents

Print this page

Retrieving Repository Feed and Displaying Its Content

To display feed content to end users, a client must perform the following steps:

  1. Retrieve the feed by issuing an HTTP GET request to the feed URL.
    1. If APS Catalog returns the status code 304, fetch the feed from cache.
    2. If APS Catalog returns a feed, save the feed to cache.
  2. Parse the requested feed page for navigation bar links:
  3. Extract the entry elements from the feed and transform them to the required format. For details the entry element, refer to the Elements Reference section in API Reference.

    Note: Steps 2 and 3 are repeated on each feed page request. Step 3 can be easily performed by using XSL transformations.

  4. Render a web page with the navigation bar and transformation results and display the page to end users.

A client can create a navigation bar that includes links to all feed pages. This requires utilizing search descriptions. For details on how to add the navigation bar, refer to the Search Descriptions section further in this guide.

See Also

Browsing APS Catalog

Retrieving Repository Index

Discovering Repository Feed

Advanced Browsing

Search Descriptions

Please send us your feedback on this help page