Tools used by OpenStack Documentation
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

1234567891011121314151617181920
  1. <?xml version="1.0"?>
  2. <!-- Use this transform on a sitemap.xml file generated from freesitemapgenerator.com -->
  3. <!-- It removes the /trunk and /draft URLs and the release URLs that you indicate below, here it's folsom -->
  4. <xsl:stylesheet version="1.0"
  5. xmlns:sm="http://www.sitemaps.org/schemas/sitemap/0.9"
  6. xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  7. <!-- template match equals any other url element, keep -->
  8. <xsl:template match="node() | @*">
  9. <xsl:copy>
  10. <xsl:apply-templates select="node() | @*"/>
  11. </xsl:copy>
  12. </xsl:template>
  13. <!-- discard any url/loc that refer to trunk or folsom -->
  14. <xsl:template match="sm:url[starts-with(./sm:loc,'http://docs.openstack.org/trunk')]"/>
  15. <xsl:template match="sm:url[starts-with(./sm:loc,'http://docs.openstack.org/draft')]"/>
  16. <xsl:template match="sm:url[starts-with(./sm:loc,'http://docs.openstack.org/folsom')]"/>
  17. </xsl:stylesheet>