Ignore:
Timestamp:
03/19/13 19:47:17 (8 years ago)
Author:
ak19
Message:

Final commit for GS3 RSS support: if a GS3 collection is built by activating (uncommenting) its RSSRetrieve ServiceRack in its collectionConfig.xml, then an RSS icon will now be added to the button bar of the collection's pages that links to the collection's RSS feed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/interfaces/default/transform/config_format.xsl

    r26504 r27101  
    225225            <xsl:when test="@type='equivdoc'">
    226226                <xsl:call-template name="gsf:equivlinkgs3"/>
     227            </xsl:when>
     228            <xsl:when test="@type='rss'">
     229                <a>                   
     230                    <xslt:attribute name='href'>
     231                        <xslt:value-of select='$library_name'/>
     232                        <xsl:text>?a=rss&amp;l=en&amp;site=</xsl:text>
     233                        <xslt:value-of select="$site_name"/>
     234                        <xsl:text>&amp;c=</xsl:text>
     235                        <xslt:value-of select='/page/pageResponse/collection/@name'/>
     236                    </xslt:attribute>
     237                    <xsl:apply-templates/>
     238                </a>   
    227239            </xsl:when>
    228240            <xsl:otherwise>
Note: See TracChangeset for help on using the changeset viewer.