- From: Olivier Thereaux via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 16 Feb 2009 14:11:45 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/validator/share/templates/en_US In directory hutz:/tmp/cvs-serv13144/share/templates/en_US Modified Files: valid.tmpl Log Message: Patch to output badge/icon sample with RDFa when appropriate. Courtesy of Toby A Inkster. Index: valid.tmpl =================================================================== RCS file: /sources/public/validator/share/templates/en_US/valid.tmpl,v retrieving revision 1.29 retrieving revision 1.30 diff -u -d -r1.29 -r1.30 --- valid.tmpl 14 Nov 2008 16:22:52 -0000 1.29 +++ valid.tmpl 16 Feb 2009 14:11:42 -0000 1.30 @@ -67,7 +67,9 @@ <TMPL_IF NAME="badge_h">height="<TMPL_VAR NAME="badge_h">"</TMPL_IF> <TMPL_IF NAME="badge_w">width="<TMPL_VAR NAME="badge_w">"</TMPL_IF> /> <pre class="badgeSnippet"> - <p> + <p<TMPL_IF NAME="have_badge_rdfa"> about="" + resource="<TMPL_VAR NAME="badge_rdfa">" + rel="dct:conformsTo" xmlns:dc="http://purl.org/dc/terms/"</TMPL_IF>> <a href="<TMPL_VAR NAME="cfg_home_page" ESCAPE="HTML">check?uri=referer"><img src="<TMPL_VAR NAME="badge_uri" ESCAPE="HTML">" <TMPL_IF NAME="badge_alt">alt="<TMPL_VAR NAME="badge_alt" ESCAPE="HTML">"</TMPL_IF> <TMPL_IF NAME="badge_h">height="<TMPL_VAR NAME="badge_h">"</TMPL_IF> <TMPL_IF NAME="badge_w">width="<TMPL_VAR NAME="badge_w">"</TMPL_IF><TMPL_VAR NAME="badge_tagc">></a> @@ -80,7 +82,9 @@ <TMPL_IF NAME="badge_h">height="<TMPL_VAR NAME="badge_h">"</TMPL_IF> <TMPL_IF NAME="badge_w">width="<TMPL_VAR NAME="badge_w">"</TMPL_IF> /> <pre class="badgeSnippet"> - <p> + <p<TMPL_IF NAME="have_badge_rdfa"> about="" + resource="<TMPL_VAR NAME="badge_rdfa">" + rel="dct:conformsTo" xmlns:dc="http://purl.org/dc/terms/"</TMPL_IF>> <a href="<TMPL_VAR NAME="cfg_home_page" ESCAPE="HTML">check?uri=referer"><img src="<TMPL_VAR NAME="badge_alt_uri" ESCAPE="HTML">" <TMPL_IF NAME="badge_alt">alt="<TMPL_VAR NAME="badge_alt" ESCAPE="HTML">"</TMPL_IF> <TMPL_IF NAME="badge_h">height="<TMPL_VAR NAME="badge_h">"</TMPL_IF> <TMPL_IF NAME="badge_w">width="<TMPL_VAR NAME="badge_w">"</TMPL_IF><TMPL_VAR NAME="badge_tagc">></a>
Received on Monday, 16 February 2009 14:11:55 UTC