Changes between Version 30 and Version 31 of XsltMacro


Ignore:
Timestamp:
Sep 11, 2017, 3:31:48 AM (7 years ago)
Author:
Ryan J Ollos
Comment:

Remove obsolete comments.

Legend:

Unmodified
Added
Removed
Modified
  • XsltMacro

    v30 v31  
    8989'''Maintainer:''' [[Maintainer]] [[BR]]
    9090'''Contributors:''' wuxxin at gmail.com
    91 
    92 == User Comments
    93 
    94 ==== Comment by anonymous on Ma 06 iun 2006 06:46:14 EST
    95 
    96 ''A hacked version of Xslt.py able to use external url's as doc or style.''
    97 
    98 With this version it is possible to do some cheap rss feed integration.
    99 Just point the xml to a http:// url and supply a local stylesheet.
    100 
    101 Example RSS Feed conversion (please use your own stylesheet):
    102 {{{
    103   [[Xslt(http://manalang.com/wp-content/rss1.xsl, http://del.icio.us/rss/)]]
    104 }}}
    105 
    106 Based on xsltmacro-r790.zip
    107 
    108 Thank you for your cool plugin,
    109   wuxxin at gmail.com
    110 
    111 ==== Comment by roadrunner on Du 18 iun 2006 22:37:02 EST
    112 
    113 Excellent idea! Thank you. Committed (with some fixes and cleanups) as rev [906].
    114 
    115 ==== Comment by Andrei on Du 17 sep 2006 18:36:25 EST
    116 
    117 I would like to transform RSS output from WordPress and use Trac as my homepage and include a side blog section that links to the real blog.
    118 
    119 ==== Comment by roadrunner on Sat Sep 30 19:10:49 2006
    120 
    121 You could probably (mis)use the wiki-toc css class for this (or better: provide some css of your own) and use a stylesheet along the lines of (untested):
    122 {{{
    123 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    124   <xsl:output method="html"/>
    125 
    126   <xsl:template match="channel">
    127     <div class="wiki-toc">
    128       <h4><a href="{link}"><xsl:value-of select="title"/></a></h4>
    129       <ol>
    130         <xsl:apply-templates select="item"/>
    131       </ol>
    132     </div>
    133   </xsl:template>
    134 
    135   <xsl:template match="item">
    136     <li>
    137       <a href="{link}" title="{description}"><xsl:value-of select="title"/></a>
    138     </li>
    139   </xsl:template>
    140 </xsl:stylesheet>
    141 }}}