[Yanel-commits] rev 26958 -
public/yanel/trunk/src/contributions/resources/atom/xslt
michi at wyona.com
michi at wyona.com
Sun Aug 26 21:50:35 CEST 2007
Author: michi
Date: 2007-08-26 21:50:34 +0200 (Sun, 26 Aug 2007)
New Revision: 26958
Modified:
public/yanel/trunk/src/contributions/resources/atom/xslt/atomfeed2xhtml.xsl
Log:
the ape added and link fixed
Modified: public/yanel/trunk/src/contributions/resources/atom/xslt/atomfeed2xhtml.xsl
===================================================================
--- public/yanel/trunk/src/contributions/resources/atom/xslt/atomfeed2xhtml.xsl 2007-08-26 19:39:10 UTC (rev 26957)
+++ public/yanel/trunk/src/contributions/resources/atom/xslt/atomfeed2xhtml.xsl 2007-08-26 19:50:34 UTC (rev 26958)
@@ -40,7 +40,7 @@
<br/>
Update: <xsl:value-of select="/atom:feed/atom:updated"/>
<br/>
-Link: <xsl:value-of select="/atom:feed/atom:link/@href"/>
+Link: <a href="{/atom:feed/atom:link/@href}"><xsl:value-of select="/atom:feed/atom:link/@href"/></a>
<br/>
ID: <xsl:value-of select="/atom:feed/atom:id"/>
<br/>
@@ -60,6 +60,32 @@
<li>This Feed as <a href="?yanel.resource.viewid=source">application/xml</a></li>
<li>This Feed as <a href="?yanel.resource.viewid=atom">application/atom+xml</a></li>
</ul>
+
+<hr/>
+
+<h3>Tim Bray's "The Ape: Atom Protocol Exerciser"</h3>
+
+<form action="http://www.tbray.org/atompub/go" method="post">
+ <table>
+ <tr>
+ <td align="right">URI:</td>
+ <td align="left"><input name="uri" type="text" size="55" maxlength="255" value="{/atom:feed/atom:link/@href}introspection-{$name-without-suffix}.xml"/></td>
+ </tr>
+ <tr>
+ <td align="right">Username:</td>
+ <td align="left"><input name="username" type="text" size="55" maxlength="55" /></td>
+ </tr>
+ <tr>
+ <td align="right">Password:</td>
+ <td align="left"><input name="password" type="password" /></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td align="left"><input type="submit" value="Exercise!" /></td>
+ </tr>
+ </table>
+</form>
+
</body>
</html>
</xsl:template>
More information about the Yanel-commits
mailing list