Author: earle Date: 2005-11-30 22:41:41 +0000 (Wed, 30 Nov 2005) New Revision: 726
Modified: trunk/lib/OpenGuides/RDF.pm trunk/t/21_rdf.t Log: fixes #50
Modified: trunk/lib/OpenGuides/RDF.pm =================================================================== --- trunk/lib/OpenGuides/RDF.pm 2005-11-30 21:10:38 UTC (rev 725) +++ trunk/lib/OpenGuides/RDF.pm 2005-11-30 22:41:41 UTC (rev 726) @@ -133,7 +133,7 @@ dc:title} . $self->{site_name} . qq{: $node_name</dc:title> dc:date$timestamp</dc:date> dcterms:modified$timestamp</dcterms:modified> - dc:contributor$username</dc:contributor> + <dc:contributor foaf:nick="$username" /> <dc:source rdf:resource="$version_indpt_url" /> wiki:version$version</wiki:version> <foaf:topic rdf:resource="#obj" />
Modified: trunk/t/21_rdf.t =================================================================== --- trunk/t/21_rdf.t 2005-11-30 21:10:38 UTC (rev 725) +++ trunk/t/21_rdf.t 2005-11-30 22:41:41 UTC (rev 726) @@ -83,7 +83,7 @@ qr|dc:titleCGI::Wiki Test Site: Calthorpe Arms</dc:title>|, "sets the title correctly" );
- like( $rdfxml, qr|dc:contributorKake</dc:contributor>|, + like( $rdfxml, qr|<dc:contributor foaf:nick="Kake" />|, "last username to edit used as contributor" );
like( $rdfxml, qr|wiki:version1</wiki:version>|, "version picked up" );
openguides-commits@lists.openguides.org