How to define policy to manage RSS feeds?

FAQ ID:    FAQ1545
Version:    1.0
Status:    Published
Published date:    08/31/2011


Because RSS feeds typically use HTTP, and are categorized based on the domain from which they are served, writing policy to handle them (for purposes of authentication exemptions, caching decisions, permission or bandwidth management) is not obvious.  However, RSS feeds identify themselfs in the HTTP response header as traffic is returned to the user and we can use this to write policy on the proxy.

In content policy language, a destination to match against RSS content appears as follows:


Here's how to create the same object in the visual policy manager:

  • Open a web access layer and create a new rule.
  • Set the destination of the rule to a New > Response Header
  • Name the response header
  • Select 'Content-type' from the header name drop-down menu
  • Define the header RegEx as: application/rss+xml
  • click ok, ok then proceed to define the intended source and/or action for this rule
  • Install policy.



Rate this Page

Please take a moment to complete this form to help us better serve you.

Did this document help answer your question?
If you are finished providing feedback, please click the RATE CONTENT button. Otherwise, please add more detail in the following text box and then click RATE CONTENT.

Your response will be used to improve our document content.

Ask a Question