Changeset 33036


Ignore:
Timestamp:
2019-04-24T22:20:03+12:00 (3 years ago)
Author:
ak19
Message:

Bringing the xsl that generates wiki-index.txt up to date with the changeover to dokuwiki.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • documentation/trunk/tutorials/processing/xml-to-wiki-index.xsl

    r31778 r33036  
    77
    88  <xsl:output method="text"/>
    9  
     9
    1010  <xsl:variable name="currentfolder">gs<xsl:value-of select="$gs-major-version"/>-current</xsl:variable>
    1111  <xsl:variable name="es">Spanish</xsl:variable>
    1212  <xsl:variable name="fr">French</xsl:variable>
    1313  <xsl:variable name="ru">Russian</xsl:variable>
    14   <xsl:variable name="sampledir">{{SERVER}}{{SCRIPTPATH}}/gsdoc/tutorial/<xsl:value-of select="$currentfolder"/>/sample_files</xsl:variable>
    15   <xsl:variable name="htmldir">{{SERVER}}{{SCRIPTPATH}}/gsdoc/tutorial/<xsl:value-of select="$currentfolder"/></xsl:variable>
     14  <!--
     15      <xsl:variable name="sampledir">{{SERVER}}{{SCRIPTPATH}}/gsdoc/tutorial/<xsl:value-of select="$currentfolder"/>/sample_files</xsl:variable>
     16      <xsl:variable name="htmldir">{{SERVER}}{{SCRIPTPATH}}/gsdoc/tutorial/<xsl:value-of select="$currentfolder"/></xsl:variable>
     17  -->
     18  <xsl:variable name="server-scriptpath">http://wiki.greenstone.org/</xsl:variable>
     19  <xsl:variable name="sampledir"><xsl:value-of select="$server-scriptpath"/>/gsdoc/tutorial/<xsl:value-of select="$currentfolder"/>/sample_files</xsl:variable>
     20  <xsl:variable name="htmldir"><xsl:value-of select="$server-scriptpath"/>/gsdoc/tutorial/<xsl:value-of select="$currentfolder"/></xsl:variable>
    1621  <xsl:template match="TutorialList">
    1722'''<xsl:apply-templates select="Title/Text"/>'''<xsl:text>
     
    3035
    3136</xsl:text>
    32 ==[[<xsl:value-of select="$htmldir"/>/en/<xsl:value-of select="@id"/>.htm|<xsl:apply-templates select="Title/Text"/>]]==
     37**[[<xsl:value-of select="$htmldir"/>/en/<xsl:value-of select="@id"/>.htm|<xsl:apply-templates select="Title/Text"/>]]**
    3338<xsl:for-each select="Content//Synopsis">
    3439''<xsl:apply-templates/>''</xsl:for-each>
Note: See TracChangeset for help on using the changeset viewer.