Source files of fsfe.org, pdfreaders.org, freeyourandroid.org, ilovefs.org, drm.info, and test.fsfe.org. Contribute: https://fsfe.org/contribute/web/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ilovefs.xsl 958B

123456789101112131415161718192021222324252627282930
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  3. <xsl:import href="../../../tools/xsltsl/tagging.xsl" />
  4. <xsl:import href="../../../fsfe.xsl" />
  5. <xsl:output method="html" encoding="utf-8" indent="yes" doctype-system="about:legacy-compat" />
  6. <xsl:template match="fetch-news">
  7. <xsl:call-template name="fetch-news">
  8. <xsl:with-param name="tag" select="'ilovefs'"/>
  9. <xsl:with-param name="nb-items" select="5"/>
  10. </xsl:call-template>
  11. </xsl:template>
  12. <!-- How to show a link -->
  13. <xsl:template match="/buildinfo/document/set/news/link">
  14. <xsl:element name="a">
  15. <xsl:attribute name="href">
  16. <xsl:value-of select="text()" />
  17. </xsl:attribute>
  18. <xsl:text>[</xsl:text>
  19. <xsl:value-of select="/buildinfo/document/text[@id='more']" />
  20. <xsl:text>]</xsl:text>
  21. </xsl:element>
  22. </xsl:template>
  23. </xsl:stylesheet>