Changeset 127:4b02189672db
- Timestamp:
- 06/23/13 17:04:52 (12 years ago)
- Author:
- František Kučera <franta-hg@…>
- Branch:
- default
- Message:
-
XHTML metadata: klíčová slova
- Files:
-
Legend:
- Unmodified
- Added
- Removed
-
r120
|
r127
|
|
4 | 4 | <nadpis>Odkazy</nadpis> |
5 | 5 | <perex>Ukázka odkazů – interních, externích…</perex> |
| 6 | <klíčováSlova> |
| 7 | <slovo>odkaz</slovo> |
| 8 | <slovo>hyperlink</slovo> |
| 9 | <slovo>e-mail</slovo> |
| 10 | </klíčováSlova> |
6 | 11 | <pořadí>60</pořadí> |
7 | 12 | |
-
r126
|
r127
|
|
85 | 85 | <meta content="{text()}" name="description"/> |
86 | 86 | </xsl:template> |
| 87 | <xsl:template match="s:stránka/s:klíčováSlova"> |
| 88 | <xsl:element name="meta"> |
| 89 | <xsl:attribute name="content"> |
| 90 | <xsl:for-each select="s:slovo"> |
| 91 | <xsl:value-of select="text()"/> |
| 92 | <xsl:if test="not(position() = last())">, </xsl:if> |
| 93 | </xsl:for-each> |
| 94 | </xsl:attribute> |
| 95 | <xsl:attribute name="name">keywords</xsl:attribute> |
| 96 | </xsl:element> |
| 97 | </xsl:template> |
87 | 98 | |
88 | 99 | <!-- |
-
r126
|
r127
|
|
57 | 57 | <xsl:apply-templates select="$konfigurace/k:web/k:autor/k:jméno"/> |
58 | 58 | <xsl:apply-templates select="s:stránka/s:perex"/> |
| 59 | <xsl:apply-templates select="s:stránka/s:klíčováSlova"/> |
59 | 60 | <xsl:apply-templates select="$konfigurace/k:web/k:js"/> |
60 | 61 | <xsl:apply-templates select="$konfigurace/k:web/k:css"/> |