Feed Creation - Eonic/ProteanCMS GitHub Wiki

Creating Feeds in ProteanCMS

ProteanCMS has built-in capabilities to create various feeds, which are essential for content distribution.

Feed Locations

  • Feeds Directory:
    The various feeds can be found in:
/ewcommon/feeds/
  • XSLT Files:
    The corresponding XSLT files for these feeds are located in:
/ewcommon/xsl/feeds

You can copy these files locally to override the default settings by placing them in:

/xsl/feeds

XSLT Filenames

The filenames for the XSLT files are determined by specific parameters. Yogita will provide further details on this.

Example URL Format

For example, the following URL structure can be used to generate feeds:

?contentType=product&xsl=slifeed

Feed Output Formats

Content items are returned in the standard XML format used by ProteanCMS. The XSLT file then transforms this XML into the required format for the service consuming the feed, which can be:

  • XML
  • CSV
  • JSON

The output must be correctly coded using the appropriate XSLT template.

Rewrite Rules

We also have rewrite rules stored in:

/rewriteMaps.config

These rules provide simple paths to access these feeds easily.



⚠️ **GitHub.com Fallback** ⚠️