[Yanel-commits] rev 28546 - public/yanel/contributions/realms/foaf/src/resources/findfriend/xslt

michi at wyona.com michi at wyona.com
Tue Nov 6 23:00:37 CET 2007


Author: michi
Date: 2007-11-06 23:00:36 +0100 (Tue, 06 Nov 2007)
New Revision: 28546

Modified:
   public/yanel/contributions/realms/foaf/src/resources/findfriend/xslt/foaf2xhtml.xsl
Log:
provider info added

Modified: public/yanel/contributions/realms/foaf/src/resources/findfriend/xslt/foaf2xhtml.xsl
===================================================================
--- public/yanel/contributions/realms/foaf/src/resources/findfriend/xslt/foaf2xhtml.xsl	2007-11-06 21:36:51 UTC (rev 28545)
+++ public/yanel/contributions/realms/foaf/src/resources/findfriend/xslt/foaf2xhtml.xsl	2007-11-06 22:00:36 UTC (rev 28546)
@@ -73,6 +73,7 @@
 
 <xsl:template match="foaf:provider">
   <hr/>
+  <h4>Search Result Provider: <a href="{@source-domain}"><xsl:value-of select="@source-name"/></a></h4>
   <xsl:apply-templates/>
 </xsl:template>
 
@@ -81,7 +82,7 @@
   <b><a href="print.html?href={foaf:url}"><xsl:value-of select="foaf:title"/></a></b>
   <br/>
   <xsl:value-of select="foaf:excerpt"/>
-  <div class="original-href"><a href="{foaf:url}"><xsl:value-of select="foaf:url"/></a></div>
+  <div class="original-href"><a href="{foaf:url}"><xsl:value-of select="foaf:url"/></a> (Profile Provider: TODO)</div>
   <a href="sign-in.html?usecase=add-friend&amp;href={foaf:url}">Add to your address book</a> | <a href="sign-in.html">Send invitation</a> | <a href="print.html?href={foaf:url}">Print</a>
   </p>
 </xsl:template>



More information about the Yanel-commits mailing list