Commits

Toby Inkster  committed 551c168

release stable X-A-M.

  • Participants
  • Parent commits 0464ae0

Comments (0)

Files changed (10)

 Bug tracker:  <http://rt.cpan.org/Dist/Display.html?Queue=XML-Atom-Microformats>
 Maintainer:   Toby Inkster <mailto:tobyink@cpan.org>
 
+0.001 [2010-12-21] # First stable release
+ - Improve test cases.
+ - use HTML::Microformats 0.100.
+ - use RDF::Query 2.900.
+ - use XML::Atom::OWL 0.100.
+
 0.00_02 [2010-04-29]
  - (Bugfix) List correct dependencies in Makefile.PL.
 
  - Take advantage of new XML-Atom-OWL and HTML-Microformats features for
    better base/document URI handling.
 
-0.00_00 [2010-04-28]
+0.00_00 [2010-04-28] # Initial preview
 
 	dc:issued       "2010-04-28"^^xsd:date ;
 	:revision       "0.00_00"^^xsd:string ;
 	:file-release   <http://backpan.cpan.org/authors/id/T/TO/TOBYINK/XML-Atom-Microformats-0.00_00.tar.gz> ;
-	rdfs:comment    "Initial preview"@en .
+	rdfs:label      "Initial preview"@en .
 
 my:v_0-00_01
 
 			[ rdfs:label "List correct dependencies in Makefile.PL."@en ; a dcs:Bugfix ]
 		] .
 
+my:v_0-001
+
+	a               :Version ;
+	dc:issued       "2010-12-21"^^xsd:date ;
+	:revision       "0.001"^^xsd:string ;
+	:file-release   <http://backpan.cpan.org/authors/id/T/TO/TOBYINK/XML-Atom-Microformats-0.001.tar.gz> ;
+	rdfs:label      "First stable release"@en ;
+	dcs:changeset [
+		a dcs:ChangeSet ;
+		dcs:versus my:v_0-00_02 ;
+		dcs:item
+			[ rdfs:label "use HTML::Microformats 0.100."@en ] ,
+			[ rdfs:label "use XML::Atom::OWL 0.100."@en ] ,
+			[ rdfs:label "use RDF::Query 2.900."@en ] ,
+			[ rdfs:label "Improve test cases."@en ]
+		] .
+
 #############################################################
 
 my:project
 
 	a               :Project ;
 	:name           "XML-Atom-Microformats" ;
-	:shortdesc      "parse microformats in Atom feeds"@en ;
+	:shortdesc      "parse microformats in Atom content"@en ;
 	:programming-language  "Perl" ;
 	:homepage       <http://search.cpan.org/dist/XML-Atom-Microformats/> ;
 	:download-page  <http://search.cpan.org/dist/XML-Atom-Microformats/> ;
 	:tester         toby:i ;
 	:created        "2010-04-14"^^xsd:date ;
 	:license        <http://dev.perl.org/licenses/> ;
-	:release        my:v_0-00_00 , my:v_0-00_01 , my:v_0-00_02 .
+	:release        my:v_0-00_00 , my:v_0-00_01 , my:v_0-00_02 , my:v_0-001 .
 
 #############################################################
 
 <?xml version="1.0" encoding="utf-8"?>
-<rdf:RDF
-   xmlns:dc="http://purl.org/dc/terms/"
-   xmlns:dcs="http://ontologi.es/doap-changeset#"
-   xmlns:foaf="http://xmlns.com/foaf/0.1/"
-   xmlns:my="http://purl.org/NET/cpan-uri/dist/XML-Atom-Microformats/"
-   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
-   xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
-   xmlns:toby="http://tobyinkster.co.uk/#"
-   xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
-   xmlns="http://usefulinc.com/ns/doap#">
-  <rdf:Description rdf:about="file:///home/tai/src/perlmods/XML-Atom-Microformats/Changes.ttl">
-    <dc:creator rdf:resource="http://tobyinkster.co.uk/#i"/>
-    <dc:description xml:lang="en">Revision history for Perl extension XML::Atom::Microformats.</dc:description>
-    <dc:subject rdf:resource="http://purl.org/NET/cpan-uri/dist/XML-Atom-Microformats/project"/>
-    <dc:title>Changes</dc:title>
-  </rdf:Description>
-  <Version rdf:about="http://purl.org/NET/cpan-uri/dist/XML-Atom-Microformats/v_0-00_00">
-    <dc:issued rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2010-04-28</dc:issued>
-    <file-release rdf:resource="http://backpan.cpan.org/authors/id/T/TO/TOBYINK/XML-Atom-Microformats-0.00_00.tar.gz"/>
-    <revision rdf:datatype="http://www.w3.org/2001/XMLSchema#string">0.00_00</revision>
-    <rdfs:comment xml:lang="en">Initial preview</rdfs:comment>
-  </Version>
-  <Version rdf:about="http://purl.org/NET/cpan-uri/dist/XML-Atom-Microformats/v_0-00_01">
-    <dcs:changeset>
-      <dcs:ChangeSet>
-        <dcs:item>
-          <rdf:Description>
-            <rdfs:label xml:lang="en">Take advantage of new XML-Atom-OWL and HTML-Microformats features for better base/document URI handling.</rdfs:label>
-          </rdf:Description>
-        </dcs:item>
-        <dcs:versus rdf:resource="http://purl.org/NET/cpan-uri/dist/XML-Atom-Microformats/v_0-00_00"/>
-      </dcs:ChangeSet>
-    </dcs:changeset>
-    <dc:issued rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2010-04-29</dc:issued>
-    <file-release rdf:resource="http://backpan.cpan.org/authors/id/T/TO/TOBYINK/XML-Atom-Microformats-0.00_01.tar.gz"/>
-    <revision rdf:datatype="http://www.w3.org/2001/XMLSchema#string">0.00_01</revision>
-  </Version>
-  <Version rdf:about="http://purl.org/NET/cpan-uri/dist/XML-Atom-Microformats/v_0-00_02">
-    <dcs:changeset>
-      <dcs:ChangeSet>
-        <dcs:item>
-          <dcs:Bugfix>
-            <rdfs:label xml:lang="en">List correct dependencies in Makefile.PL.</rdfs:label>
-          </dcs:Bugfix>
-        </dcs:item>
-        <dcs:versus rdf:resource="http://purl.org/NET/cpan-uri/dist/XML-Atom-Microformats/v_0-00_01"/>
-      </dcs:ChangeSet>
-    </dcs:changeset>
-    <dc:issued rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2010-04-29</dc:issued>
-    <file-release rdf:resource="http://backpan.cpan.org/authors/id/T/TO/TOBYINK/XML-Atom-Microformats-0.00_02.tar.gz"/>
-    <revision rdf:datatype="http://www.w3.org/2001/XMLSchema#string">0.00_02</revision>
-  </Version>
-  <Project rdf:about="http://purl.org/NET/cpan-uri/dist/XML-Atom-Microformats/project">
-    <bug-database rdf:resource="http://rt.cpan.org/Dist/Display.html?Queue=XML-Atom-Microformats"/>
-    <created rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2010-04-14</created>
-    <developer rdf:resource="http://tobyinkster.co.uk/#i"/>
-    <documenter rdf:resource="http://tobyinkster.co.uk/#i"/>
-    <download-page rdf:resource="http://search.cpan.org/dist/XML-Atom-Microformats/"/>
-    <homepage rdf:resource="http://search.cpan.org/dist/XML-Atom-Microformats/"/>
-    <license rdf:resource="http://dev.perl.org/licenses/"/>
-    <maintainer rdf:resource="http://tobyinkster.co.uk/#i"/>
-    <name>XML-Atom-Microformats</name>
-    <programming-language>Perl</programming-language>
-    <release rdf:resource="http://purl.org/NET/cpan-uri/dist/XML-Atom-Microformats/v_0-00_00"/>
-    <release rdf:resource="http://purl.org/NET/cpan-uri/dist/XML-Atom-Microformats/v_0-00_01"/>
-    <release rdf:resource="http://purl.org/NET/cpan-uri/dist/XML-Atom-Microformats/v_0-00_02"/>
-    <repository>
-      <SVNRepository>
-        <browse rdf:resource="http://goddamn.co.uk/viewvc/perlmods/XML-Atom-Microformats/"/>
-      </SVNRepository>
-    </repository>
-    <shortdesc xml:lang="en">parse microformats in Atom feeds</shortdesc>
-    <tester rdf:resource="http://tobyinkster.co.uk/#i"/>
-  </Project>
-  <foaf:Person rdf:about="http://tobyinkster.co.uk/#i">
-    <ns1:sameAs xmlns:ns1="http://www.w3.org/2002/07/owl#" rdf:resource="http://purl.org/NET/cpan-uri/person/tobyink"/>
-    <foaf:homepage rdf:resource="http://tobyinkster.co.uk/"/>
-    <foaf:mbox rdf:resource="mailto:tobyink@cpan.org"/>
-    <foaf:name>Toby Inkster</foaf:name>
-    <foaf:page rdf:resource="http://search.cpan.org/~tobyink/"/>
-  </foaf:Person>
+<rdf:RDF xmlns:dbug="http://ontologi.es/doap-bugs#" xmlns:dc="http://purl.org/dc/terms/" xmlns:dcs="http://ontologi.es/doap-changeset#" xmlns:doap="http://usefulinc.com/ns/doap#" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#">
+<rdf:Description rdf:nodeID="r41F77D8A0CDF11E0B933DD9723D86CEDr0">
+	<dcs:item rdf:nodeID="r41F77D8A0CDF11E0B933DD9723D86CEDr1"/>
+	<dcs:versus rdf:resource="http://purl.org/NET/cpan-uri/dist/XML-Atom-Microformats/v_0-00_00"/>
+	<rdf:type rdf:resource="http://ontologi.es/doap-changeset#ChangeSet"/>
+</rdf:Description>
+<rdf:Description rdf:nodeID="r41F77D8A0CDF11E0B933DD9723D86CEDr1">
+	<rdfs:label xml:lang="en">Take advantage of new XML-Atom-OWL and HTML-Microformats features for better base/document URI handling.</rdfs:label>
+</rdf:Description>
+<rdf:Description rdf:nodeID="r41F77D8A0CDF11E0B933DD9723D86CEDr2">
+	<dcs:item rdf:nodeID="r41F77D8A0CDF11E0B933DD9723D86CEDr3"/>
+	<dcs:versus rdf:resource="http://purl.org/NET/cpan-uri/dist/XML-Atom-Microformats/v_0-00_01"/>
+	<rdf:type rdf:resource="http://ontologi.es/doap-changeset#ChangeSet"/>
+</rdf:Description>
+<rdf:Description rdf:nodeID="r41F77D8A0CDF11E0B933DD9723D86CEDr3">
+	<rdf:type rdf:resource="http://ontologi.es/doap-changeset#Bugfix"/>
+	<rdfs:label xml:lang="en">List correct dependencies in Makefile.PL.</rdfs:label>
+</rdf:Description>
+<rdf:Description rdf:nodeID="r41F77D8A0CDF11E0B933DD9723D86CEDr4">
+	<dcs:item rdf:nodeID="r41F77D8A0CDF11E0B933DD9723D86CEDr5"/>
+	<dcs:item rdf:nodeID="r41F77D8A0CDF11E0B933DD9723D86CEDr6"/>
+	<dcs:item rdf:nodeID="r41F77D8A0CDF11E0B933DD9723D86CEDr7"/>
+	<dcs:item rdf:nodeID="r41F77D8A0CDF11E0B933DD9723D86CEDr8"/>
+	<dcs:versus rdf:resource="http://purl.org/NET/cpan-uri/dist/XML-Atom-Microformats/v_0-00_02"/>
+	<rdf:type rdf:resource="http://ontologi.es/doap-changeset#ChangeSet"/>
+</rdf:Description>
+<rdf:Description rdf:nodeID="r41F77D8A0CDF11E0B933DD9723D86CEDr5">
+	<rdfs:label xml:lang="en">use HTML::Microformats 0.100.</rdfs:label>
+</rdf:Description>
+<rdf:Description rdf:nodeID="r41F77D8A0CDF11E0B933DD9723D86CEDr6">
+	<rdfs:label xml:lang="en">use XML::Atom::OWL 0.100.</rdfs:label>
+</rdf:Description>
+<rdf:Description rdf:nodeID="r41F77D8A0CDF11E0B933DD9723D86CEDr7">
+	<rdfs:label xml:lang="en">use RDF::Query 2.900.</rdfs:label>
+</rdf:Description>
+<rdf:Description rdf:nodeID="r41F77D8A0CDF11E0B933DD9723D86CEDr8">
+	<rdfs:label xml:lang="en">Improve test cases.</rdfs:label>
+</rdf:Description>
+<rdf:Description rdf:nodeID="r41F77D8A0CDF11E0B933DD9723D86CEDr9">
+	<doap:browse rdf:resource="http://goddamn.co.uk/viewvc/perlmods/XML-Atom-Microformats/"/>
+	<rdf:type rdf:resource="http://usefulinc.com/ns/doap#SVNRepository"/>
+</rdf:Description>
+<rdf:Description rdf:about="file:///home/tai/src/perlmods/XML-Atom-Microformats/Changes.ttl">
+	<dc:creator rdf:resource="http://tobyinkster.co.uk/#i"/>
+	<dc:description xml:lang="en">Revision history for Perl extension XML::Atom::Microformats.</dc:description>
+	<dc:subject rdf:resource="http://purl.org/NET/cpan-uri/dist/XML-Atom-Microformats/project"/>
+	<dc:title>Changes</dc:title>
+</rdf:Description>
+<rdf:Description rdf:about="http://purl.org/NET/cpan-uri/dist/XML-Atom-Microformats/project">
+	<doap:bug-database rdf:resource="http://rt.cpan.org/Dist/Display.html?Queue=XML-Atom-Microformats"/>
+	<doap:created rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2010-04-14</doap:created>
+	<doap:developer rdf:resource="http://tobyinkster.co.uk/#i"/>
+	<doap:documenter rdf:resource="http://tobyinkster.co.uk/#i"/>
+	<doap:download-page rdf:resource="http://search.cpan.org/dist/XML-Atom-Microformats/"/>
+	<doap:homepage rdf:resource="http://search.cpan.org/dist/XML-Atom-Microformats/"/>
+	<doap:license rdf:resource="http://dev.perl.org/licenses/"/>
+	<doap:maintainer rdf:resource="http://tobyinkster.co.uk/#i"/>
+	<doap:name>XML-Atom-Microformats</doap:name>
+	<doap:programming-language>Perl</doap:programming-language>
+	<doap:release rdf:resource="http://purl.org/NET/cpan-uri/dist/XML-Atom-Microformats/v_0-001"/>
+	<doap:release rdf:resource="http://purl.org/NET/cpan-uri/dist/XML-Atom-Microformats/v_0-00_00"/>
+	<doap:release rdf:resource="http://purl.org/NET/cpan-uri/dist/XML-Atom-Microformats/v_0-00_01"/>
+	<doap:release rdf:resource="http://purl.org/NET/cpan-uri/dist/XML-Atom-Microformats/v_0-00_02"/>
+	<doap:repository rdf:nodeID="r41F77D8A0CDF11E0B933DD9723D86CEDr9"/>
+	<doap:shortdesc xml:lang="en">parse microformats in Atom content</doap:shortdesc>
+	<doap:tester rdf:resource="http://tobyinkster.co.uk/#i"/>
+	<rdf:type rdf:resource="http://usefulinc.com/ns/doap#Project"/>
+</rdf:Description>
+<rdf:Description rdf:about="http://purl.org/NET/cpan-uri/dist/XML-Atom-Microformats/v_0-001">
+	<dcs:changeset rdf:nodeID="r41F77D8A0CDF11E0B933DD9723D86CEDr4"/>
+	<dc:issued rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2010-12-21</dc:issued>
+	<doap:file-release rdf:resource="http://backpan.cpan.org/authors/id/T/TO/TOBYINK/XML-Atom-Microformats-0.001.tar.gz"/>
+	<doap:revision rdf:datatype="http://www.w3.org/2001/XMLSchema#string">0.001</doap:revision>
+	<rdf:type rdf:resource="http://usefulinc.com/ns/doap#Version"/>
+	<rdfs:label xml:lang="en">First stable release</rdfs:label>
+</rdf:Description>
+<rdf:Description rdf:about="http://purl.org/NET/cpan-uri/dist/XML-Atom-Microformats/v_0-00_00">
+	<dc:issued rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2010-04-28</dc:issued>
+	<doap:file-release rdf:resource="http://backpan.cpan.org/authors/id/T/TO/TOBYINK/XML-Atom-Microformats-0.00_00.tar.gz"/>
+	<doap:revision rdf:datatype="http://www.w3.org/2001/XMLSchema#string">0.00_00</doap:revision>
+	<rdf:type rdf:resource="http://usefulinc.com/ns/doap#Version"/>
+	<rdfs:label xml:lang="en">Initial preview</rdfs:label>
+</rdf:Description>
+<rdf:Description rdf:about="http://purl.org/NET/cpan-uri/dist/XML-Atom-Microformats/v_0-00_01">
+	<dcs:changeset rdf:nodeID="r41F77D8A0CDF11E0B933DD9723D86CEDr0"/>
+	<dc:issued rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2010-04-29</dc:issued>
+	<doap:file-release rdf:resource="http://backpan.cpan.org/authors/id/T/TO/TOBYINK/XML-Atom-Microformats-0.00_01.tar.gz"/>
+	<doap:revision rdf:datatype="http://www.w3.org/2001/XMLSchema#string">0.00_01</doap:revision>
+	<rdf:type rdf:resource="http://usefulinc.com/ns/doap#Version"/>
+</rdf:Description>
+<rdf:Description rdf:about="http://purl.org/NET/cpan-uri/dist/XML-Atom-Microformats/v_0-00_02">
+	<dcs:changeset rdf:nodeID="r41F77D8A0CDF11E0B933DD9723D86CEDr2"/>
+	<dc:issued rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2010-04-29</dc:issued>
+	<doap:file-release rdf:resource="http://backpan.cpan.org/authors/id/T/TO/TOBYINK/XML-Atom-Microformats-0.00_02.tar.gz"/>
+	<doap:revision rdf:datatype="http://www.w3.org/2001/XMLSchema#string">0.00_02</doap:revision>
+	<rdf:type rdf:resource="http://usefulinc.com/ns/doap#Version"/>
+</rdf:Description>
+<rdf:Description xmlns:ns1="http://www.w3.org/2002/07/owl#" rdf:about="http://tobyinkster.co.uk/#i">
+	<rdf:type rdf:resource="http://xmlns.com/foaf/0.1/Person"/>
+	<ns1:sameAs rdf:resource="http://purl.org/NET/cpan-uri/person/tobyink"/>
+	<foaf:homepage rdf:resource="http://tobyinkster.co.uk/"/>
+	<foaf:mbox rdf:resource="mailto:tobyink@cpan.org"/>
+	<foaf:name>Toby Inkster</foaf:name>
+	<foaf:page rdf:resource="http://search.cpan.org/~tobyink/"/>
+</rdf:Description>
 </rdf:RDF>
 ---
-abstract: 'parse microformats in Atom feeds'
+abstract: 'parse microformats in Atom content'
 author:
   - 'Toby Inkster <tobyink@cpan.org>'
 build_requires:
   ExtUtils::MakeMaker: 6.42
+  Module::Signature: 0.66
   Test::More: 0.61
 configure_requires:
   ExtUtils::MakeMaker: 6.42
 distribution_type: module
-generated_by: 'Module::Install version 0.95'
+generated_by: 'Module::Install version 1.00'
+keywords:
+  - XML
+  - Atom
+  - Microformats
+  - RDFa
+  - RDF
+  - SemWeb
+  - JSON
+  - HTML
+  - XHTML
+  - Semantic
+  - Web
 license: perl
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
     - inc
     - t
 recommends:
-  RDF::RDFa::Parser: 1.09_04
+  RDF::RDFa::Parser: 1.093
 requires:
-  HTML::Microformats: 0.00_08
+  HTML::Microformats: 0.100
   JSON: 2.00
-  RDF::Query: 2.200
+  RDF::Query: 2.900
   RDF::Trine: 0.118
-  XML::Atom::OWL: 0.04
+  XML::Atom::OWL: 0.100
   XML::LibXML: 1.60
   perl: 5.8.0
 resources:
   homepage: http://search.cpan.org/dist/XML-Atom-Microformats/
   license: http://dev.perl.org/licenses/
   repository: http://goddamn.co.uk/viewvc/perlmods/XML-Atom-Microformats/
-version: 0.00_02
+version: 0.001
 author              'Toby Inkster <tobyink@cpan.org>';
 license             'perl';
 
-test_requires       'Test::More' => '0.61';
-
-requires            'HTML::Microformats' => '0.00_08';
+requires            'HTML::Microformats' => '0.100';
 requires            'JSON'               => '2.00';
+test_requires       'Module::Signature'  => '0.66';
+recommends          'RDF::RDFa::Parser'  => '1.093';
 requires            'RDF::Trine'         => '0.118';
-requires            'RDF::Query'         => '2.200';
-requires            'XML::Atom::OWL'     => '0.04';
+requires            'RDF::Query'         => '2.900';
+test_requires       'Test::More'         => '0.61';
+requires            'XML::Atom::OWL'     => '0.100';
 requires            'XML::LibXML'        => '1.60';
 
-recommends          'RDF::RDFa::Parser'  => '1.09_04';
-
 resources(
 	'homepage'   => "http://search.cpan.org/dist/$dist/",
 	'repository' => "http://goddamn.co.uk/viewvc/perlmods/$dist/",
 	'bugtracker' => "http://rt.cpan.org/Dist/Display.html?Queue=$dist",
 	);
-	
+
+keywords(qw(XML Atom Microformats RDFa RDF SemWeb JSON HTML XHTML Semantic Web));
+
 write_doap_changes;
 write_doap_changes_xml;
 
 NAME
-    XML::Atom::Microformats - parse microformats in Atom feeds
+    XML::Atom::Microformats - parse microformats in Atom content
 
 SYNOPSIS
      use XML::Atom::Microformats;
      use RDF::TrineShortcuts qw(rdf_query);
      my $results = rdf_query($sparql, $feed->model);
 
-VERSION
-    0.00_02
-
 DESCRIPTION
     The XML::Atom::Microformats module brings the functionality of
     HTML::Microformats to Atom 1.0 Syndication feeds. It finds microformats
 
     These links can be used on a per-entry basis, or for the whole feed.
 
-    Because many pages fail to properly declare which profiles they use,
+    Because many feeds fail to properly declare which profiles they use,
     there are various profile management methods to tell
     XML::Atom::Microformats to assume the presence of particular profile
     URIs, even if they're actually missing.
 
         This method acts similarly to "add_profile" but allows you to use
         names of microformats rather than URIs. Microformat names are case
-        sensitive, and must match HTML::Microformats::Foo module names.
+        sensitive, and must match HTML::Microformats::Format::Foo module
+        names.
 
         "entry_assume_profile" is a variant to allow you to add a profile
         which applies only to one specific entry within the feed, if you

File XML-Atom-Microformats-0.001.tar.gz

Binary file added.
 XML
 
 my $xamf = XML::Atom::Microformats->new_feed($xml, "http://example.net/");
-$xamf->assume_all_profiles;
+#$xamf->assume_all_profiles;
 print $xamf->json(pretty=>1,canonical=>1);
 
 my $s = RDF::Trine::Serializer::NQuads->new;

File lib/XML/Atom/Microformats.pm

 =head1 NAME
 
-XML::Atom::Microformats - parse microformats in Atom feeds
+XML::Atom::Microformats - parse microformats in Atom content
 
 =head1 SYNOPSIS
 
 use common::sense;
 use 5.008;
 
-use HTML::Microformats;
+use HTML::Microformats 0.100;
 use JSON;
 use RDF::Query;
-use XML::Atom::OWL;
+use XML::Atom::OWL 0.100;
 
-=head1 VERSION
-
-0.00_02
-
-=cut
-
-our $VERSION = '0.00_02';
+our $VERSION = '0.001';
 our $HAS_RDFA;
 
 BEGIN
 
 These links can be used on a per-entry basis, or for the whole feed.
 
-Because many pages fail to properly declare which profiles they use, there
+Because many feeds fail to properly declare which profiles they use, there
 are various profile management methods to tell XML::Atom::Microformats to
 assume the presence of particular profile URIs, even if they're actually
 missing.
 
 This method acts similarly to C<add_profile> but allows you to use
 names of microformats rather than URIs. Microformat names are case
-sensitive, and must match HTML::Microformats::Foo module names.
+sensitive, and must match HTML::Microformats::Format::Foo module names.
 
 C<entry_assume_profile> is a variant to allow you to add a profile which applies
 only to one specific entry within the feed, if you know that entry's ID.
 	my ($self, $entry) = @_;
 	my $rv = {};
 	
-	foreach my $format (@HTML::Microformats::Formats)
+	foreach my $format (HTML::Microformats->formats)
 	{
 		$rv->{$format} = $self->objects($format, $entry);
 	}
 		my $iter = $context->{'HMF'}->model->as_stream;
 		while (my $st = $iter->next)
 		{
-			$model->add_statement($st, RDF::Trine::Node::Resource->new($entry));
+			use RDF::TrineShortcuts;
+			$model->add_statement(
+				RDF::Trine::Statement->new(($st->nodes)[0..2]),
+				RDF::Trine::Node::Resource->new($entry),
+				);
 		}
 	}
 	
-use Test::More tests => 1;
+use Test::More tests => 5;
 BEGIN { use_ok('XML::Atom::Microformats') };
 
+my $xml = <<XML;
+<feed xmlns="http://www.w3.org/2005/Atom">
+	<entry>
+		<id>http://example.com/id/1</id>
+		<content type="text/html">
+			&lt;p class="vcard">&lt;span class="fn">Alice&lt;/span>&lt;/p>
+		</content>
+		<link rel="self" href="http://example.com/article/1" />
+		<link rel="profile" href="http://ufs.cc/x/hcard" />
+	</entry>
+	<entry xml:base="http://bob.com/">
+		<foo property=":fooble">lala</foo>
+		<id>http://example.com/id/2</id>
+		<content type="text/html">
+			&lt;p class="vcard">&lt;a href="/foo" class="fn url">Bob&lt;/a>&lt;/p>
+		</content>
+		<link rel="self" href="http://example.com/article/2" />
+	</entry>
+</feed>
+XML
+
+ok(
+	my $model1 = XML::Atom::Microformats->new_feed($xml, "http://example.net/")->model,
+	"Was able to build a model",
+	);
+
+ok(
+	my $model2 = XML::Atom::Microformats->new_feed($xml, "http://example.net/")->assume_profile('hCard')->model,
+	"Was able to build a model, assuming hCard profile",
+	);
+
+is(
+	$model1->count_statements(
+		undef,
+		RDF::Trine::Node::Resource->new('http://www.w3.org/1999/02/22-rdf-syntax-ns#type'),
+		RDF::Trine::Node::Resource->new('http://www.w3.org/2006/vcard/ns#VCard'),
+		),
+	1,
+	"When not assuming profiles, only an explicitly profiled hCard is found."
+	);
+
+is(
+	$model2->count_statements(
+		undef,
+		RDF::Trine::Node::Resource->new('http://www.w3.org/1999/02/22-rdf-syntax-ns#type'),
+		RDF::Trine::Node::Resource->new('http://www.w3.org/2006/vcard/ns#VCard'),
+		),
+	2,
+	"When assuming hCard profile, both hCards are found."
+	);