Changeset 33781


Ignore:
Timestamp:
2019-12-10T11:35:33+13:00 (4 years ago)
Author:
kjdon
Message:

tidied up the intro

File:
1 edited

Legend:

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

    r33036 r33781  
    44
    55  <xsl:param name="gs-major-version"/>
     6 
    67  <xsl:include href="common.xsl"/>
    78
     
    910
    1011  <xsl:variable name="currentfolder">gs<xsl:value-of select="$gs-major-version"/>-current</xsl:variable>
    11   <xsl:variable name="es">Spanish</xsl:variable>
    12   <xsl:variable name="fr">French</xsl:variable>
    13   <xsl:variable name="ru">Russian</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   -->
    1812  <xsl:variable name="server-scriptpath">http://wiki.greenstone.org/</xsl:variable>
    1913  <xsl:variable name="sampledir"><xsl:value-of select="$server-scriptpath"/>/gsdoc/tutorial/<xsl:value-of select="$currentfolder"/>/sample_files</xsl:variable>
    2014  <xsl:variable name="htmldir"><xsl:value-of select="$server-scriptpath"/>/gsdoc/tutorial/<xsl:value-of select="$currentfolder"/></xsl:variable>
     15
    2116  <xsl:template match="TutorialList">
    2217'''<xsl:apply-templates select="Title/Text"/>'''<xsl:text>
    2318</xsl:text>
    24 These work with Greenstone <xsl:value-of select="Version/@current"/>. [<xsl:value-of select="$htmldir"/>/en/all_tutorials.html <xsl:apply-templates select="/TutorialList/SupplementaryText/Text[@id='print']"/>]<xsl:text>
     19  * These work with Greenstone <xsl:value-of select="Version/@current"/>. [[<xsl:value-of select="$htmldir"/>/en/all_tutorials.html <xsl:apply-templates select="/TutorialList/SupplementaryText/Text[@id='print']"/>]]<xsl:text>
    2520</xsl:text>
    26 Translations of March 2006 version (for Greenstone 2.70):
    27 [<xsl:value-of select="$htmldir"/>/es/index.html <xsl:value-of select="$es"/>]
    28 [<xsl:value-of select="$htmldir"/>/fr/index.html <xsl:value-of select="$fr"/>]
    29 [<xsl:value-of select="$htmldir"/>/ru/index.html <xsl:value-of select="$ru"/>]<xsl:text>
     21  * Each tutorial that requires sample files has a link to a zip download of the files. Alternatively, you can download all of the sample files for all of the tutorials in a single [[<xsl:value-of select="$sampledir"/>/sample_files.zip sample_files.zip]]. <xsl:text>
     22</xsl:text>
     23  * Tutorials for older versions of Greenstone can be found at the [[legacy:tutorials | Old Tutorials ]] page.<xsl:text>
    3024</xsl:text>
    3125    <xsl:apply-templates select="Tutorial"/>
Note: See TracChangeset for help on using the changeset viewer.