Retrieving Repository Feed and Displaying Its Content

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

  1. Retrieve the feed by issuing a HTTP GET request to the feed URL.
    1. If APS Catalog returns the status code 304, fetch the feed from its 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.

    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.

 

Remarks

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.