forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "helena (JIRA)" <j...@apache.org>
Subject [jira] Commented: (FOR-784) Generating RSS feeds from Forrest content objects
Date Thu, 12 Jan 2006 12:14:23 GMT
    [ http://issues.apache.org/jira/browse/FOR-784?page=comments#action_12362536 ] 

helena commented on FOR-784:
----------------------------

xmap entries:

<!-- in resources-->
 
    <map:resource name="article-aggregator">
      <map:aggregate element="all-articles">
        <!-- aggregate articles -->
        <map:part src="data/features.xml"/>
        <map:part src="data/news.xml"/>
              .... 
     </map:aggregate>
    </map:resource>

<!--  Example: all articles feed -->    
    <map:pipeline>
      <map:match pattern="all-rss.xml">
        <map:call resource="article-aggregator"/>
        <map:transform src="{project:resources.stylesheets}/feeds.xsl">
          <map:parameter name="entries" value="20"/>
          <map:parameter name="meta-entries" value="15"/>
        </map:transform>
        <map:serialize type="xml"/>
      </map:match>
    </map:pipeline>
<!--  Example: one content channel feed -->    
 <map:pipeline>
      <map:match pattern="news-rss.xml">
        <map:call resource="article-aggregator"/>
        <map:transform src="{project:resources.stylesheets}/feeds.xsl">
        <map:parameter name="type" value="news"/>
          <map:parameter name="entries" value="20"/>
          <map:parameter name="meta-entries" value="15"/>
        </map:transform>
        <map:serialize type="xml"/>
      </map:match>
    </map:pipeline>


> Generating RSS feeds from Forrest content objects
> -------------------------------------------------
>
>          Key: FOR-784
>          URL: http://issues.apache.org/jira/browse/FOR-784
>      Project: Forrest
>         Type: Improvement
>   Components: Other
>     Versions: 0.8-dev
>     Reporter: helena
>     Priority: Minor
>  Attachments: feeds.xsl
>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message