<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic general rss in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/general-rss/m-p/252430#M205560</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How can I add general RSS feeds to home page?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I put this in "page.ftl" file but does not work&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;span class="ih-rss"&amp;gt; &amp;lt;a href="&amp;lt;@makeurl section=section/&amp;gt;rss.xml"&amp;gt;&amp;lt;img src="${url.context}/img/rss_16.png" width="16" height="16" alt="" /&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;a href="&amp;lt;@makeurl section=section/&amp;gt;rss.xml"&amp;gt;${msg('home.rss')}&amp;lt;/a&amp;gt;&amp;lt;/span&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Help me please!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Nov 2010 11:53:20 GMT</pubDate>
    <dc:creator>novel</dc:creator>
    <dc:date>2010-11-09T11:53:20Z</dc:date>
    <item>
      <title>general rss</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/general-rss/m-p/252430#M205560</link>
      <description>Hi,How can I add general RSS feeds to home page?I put this in "page.ftl" file but does not work&amp;lt;span class="ih-rss"&amp;gt; &amp;lt;a href="&amp;lt;@makeurl section=section/&amp;gt;rss.xml"&amp;gt;&amp;lt;img src="${url.context}/img/rss_16.png" width="16" height="16" alt="" /&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;a href="&amp;lt;@makeurl sectio</description>
      <pubDate>Tue, 09 Nov 2010 11:53:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/general-rss/m-p/252430#M205560</guid>
      <dc:creator>novel</dc:creator>
      <dc:date>2010-11-09T11:53:20Z</dc:date>
    </item>
    <item>
      <title>Re: general rss</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/general-rss/m-p/252431#M205561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The important part is building the correct url to show the required collection. If you look at \WEB-INF\templates\rss.xml, you will see that the collection value is set to "section.articles". This means that for the specific section the rss feed is requested on, the contents of the section.articles collection is rendered.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can pass in the current section dynamically to build the URL using the &amp;lt;@makeurl directive (see UrlDirective.java).&amp;nbsp; In the example this is populated by the "section" object, available within the request (along with "webSite" and "asset" - see the dev guide - &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Web_Quick_Start_Developer_Guide#The_wiring" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Web_Quick_Start_Developer_Guide#The_wiring&lt;/A&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So this example would create a url to the current section requested, and render the section.articles collection for this section:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;a href="&amp;lt;@makeurl section=section/&amp;gt;rss.xml"&amp;gt;test&amp;lt;/a&amp;gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;So if for example I was on the home page and wanted to render the section.articles collection from the "news" section, I could use:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;a href="&amp;lt;@makeurl section=section/&amp;gt;news/rss.xml"&amp;gt;test&amp;lt;/a&amp;gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Ben.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Nov 2010 13:10:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/general-rss/m-p/252431#M205561</guid>
      <dc:creator>ben</dc:creator>
      <dc:date>2010-11-09T13:10:38Z</dc:date>
    </item>
  </channel>
</rss>

