Changeset 2915


Ignore:
Timestamp:
05/22/13 05:00:06 (11 years ago)
Author:
mwindhouwer
Message:

M mod-ISOcat-interface-rest/representations/html/DC-history.xsl

  • added link to the Atom feed
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cats/ISOcat/trunk/mod-ISOcat-interface-rest/representations/html/DC-history.xsl

    r2912 r2915  
    1919       
    2020        <xsl:template match="text()"/>
     21       
     22        <xsl:function name="isocat:rest">
     23                <xsl:param name="node"/>
     24                <xsl:value-of select="$props//site"/>
     25                <xsl:text>rest/dc/</xsl:text>
     26                <xsl:value-of select="$node/(@id|@dc|@ref)"/>
     27        </xsl:function>
    2128       
    2229        <xsl:function name="isocat:pid">
     
    102109                                </xsl:if>
    103110                                <link rel="stylesheet" href="{$props//site}interface/JSXAPPS/ISOcat/css/style.css" type="text/css"/>
     111                                <link rel="alternate" type="application/atom+xml" href="{isocat:rest(dc)}/history.atom"/>
    104112                        </head>
    105113                        <body>
     
    108116                                </div>
    109117                                <div class="main">
     118                                        <div>
     119                                                <a href="{isocat:rest(dc)}/history.atom" target="other">
     120                                                        <img src="{$props//static}famfamfam/silk/icons/feed.png" alt="Atom feed for the history of this data category"/>
     121                                                </a>
     122                                                <xsl:text>&#160;Atom feed</xsl:text>
     123                                        </div>
    110124                                        <xsl:choose>
    111125                                                <xsl:when test="exists(change)">
Note: See TracChangeset for help on using the changeset viewer.