[libhtml-microformats-perl] 08/09: Add the 02-perldoc patch mainly to use E<gt>.

Peter Pentchev roam at ringlet.net
Fri May 1 13:38:02 UTC 2015


This is an automated email from the git hooks/post-receive script.

roam-guest pushed a commit to branch master
in repository libhtml-microformats-perl.

commit d7f4743dec8a5d4c93078c06719c6a8a2d974c90
Author: Peter Pentchev <roam at ringlet.net>
Date:   Fri May 1 15:41:23 2015 +0300

    Add the 02-perldoc patch mainly to use E<gt>.
---
 debian/patches/02-perldoc.patch | 860 ++++++++++++++++++++++++++++++++++++++++
 debian/patches/series           |   1 +
 2 files changed, 861 insertions(+)

diff --git a/debian/patches/02-perldoc.patch b/debian/patches/02-perldoc.patch
new file mode 100644
index 0000000..2d10c68
--- /dev/null
+++ b/debian/patches/02-perldoc.patch
@@ -0,0 +1,860 @@
+Description: Fix some POD errors, mostly just E<gt>.
+Forwarded: not yet
+Author: Peter Pentchev <roam at ringlet.net>
+Last-Update: 2015-05-01
+
+--- a/lib/HTML/Microformats.pm
++++ b/lib/HTML/Microformats.pm
+@@ -244,7 +244,7 @@
+ 
+ =over 4
+ 
+-=item C<< $doc = HTML::Microformats->new_document($html, $uri, %opts) >>
++=item C<< $doc = HTML::Microformats-E<gt>new_document($html, $uri, %opts) >>
+ 
+ Constructs a document object.
+ 
+@@ -261,7 +261,7 @@
+ =head2 Profile Management
+ 
+ HTML::Microformats uses HTML profiles (i.e. the profile attribute on the
+-HTML <head> element) to detect which Microformats are used on a page. Any
++HTML E<lt>headE<gt> element) to detect which Microformats are used on a page. Any
+ microformats which do not have a profile URI declared will not be parsed.
+ 
+ Because many pages fail to properly declare which profiles they use, there
+@@ -271,16 +271,16 @@
+ 
+ =over 4
+ 
+-=item C<< $doc->profiles >>
++=item C<< $doc-E<gt>profiles >>
+ 
+ This method returns a list of profile URIs declared by the document.
+ 
+-=item C<< $doc->has_profile(@profiles) >>
++=item C<< $doc-E<gt>has_profile(@profiles) >>
+ 
+ This method returns true if and only if one or more of the profile URIs
+ in @profiles is declared by the document.
+ 
+-=item C<< $doc->add_profile(@profiles) >>
++=item C<< $doc-E<gt>add_profile(@profiles) >>
+ 
+ Using C<add_profile> you can add one or more profile URIs, and they are
+ treated as if they were found in the document.
+@@ -294,7 +294,7 @@
+ 
+ Returns a reference to the document.
+ 
+-=item C<< $doc->assume_profile(@microformats) >>
++=item C<< $doc-E<gt>assume_profile(@microformats) >>
+ 
+ For example:
+ 
+@@ -308,7 +308,7 @@
+ 
+ Returns	a reference to the document.
+ 
+-=item C<< $doc->assume_all_profiles >>
++=item C<< $doc-E<gt>assume_all_profiles >>
+ 
+ This method is equivalent to calling C<assume_profile> for
+ all known microformats.
+@@ -324,7 +324,7 @@
+ 
+ =over 4
+ 
+-=item C<< $doc->parse_microformats >>
++=item C<< $doc-E<gt>parse_microformats >>
+ 
+ Scans through the document, finding microformat objects.
+ 
+@@ -332,7 +332,7 @@
+ 
+ Returns	a reference to the document.
+ 
+-=item C<< $doc->clear_microformats >>
++=item C<< $doc-E<gt>clear_microformats >>
+ 
+ Forgets information gleaned by C<parse_microformats> and thus allows
+ C<parse_microformats> to be run again. This is useful if you've modified
+@@ -349,7 +349,7 @@
+ 
+ =over 4
+ 
+-=item C<< $doc->objects($format); >>
++=item C<< $doc-E<gt>objects($format); >>
+ 
+ $format is, for example, 'hCard', 'adr' or 'RelTag'.
+ 
+@@ -360,7 +360,7 @@
+ HTML::Microformat::RelTag object, etc. See the relevant documentation
+ for details.
+ 
+-=item C<< $doc->all_objects >>
++=item C<< $doc-E<gt>all_objects >>
+ 
+ Returns a hashref of data. Each hashref key is the name of a microformat
+ (e.g. 'hCard', 'RelTag', etc), and the values are arrayrefs of objects.
+@@ -369,7 +369,7 @@
+ HTML::Microformat::RelTag object, etc. See the relevant documentation
+ for details.
+ 
+-=item C<< $doc->json(%opts) >>
++=item C<< $doc-E<gt>json(%opts) >>
+ 
+ Returns data roughly equivalent to the C<all_objects> method, but as a JSON
+ string.
+@@ -380,16 +380,16 @@
+ 
+   print $doc->json( pretty=>1, canonical=>1, utf8=>0 );
+ 
+-=item C<< $doc->model >>
++=item C<< $doc-E<gt>model >>
+ 
+ Returns data as an RDF::Trine::Model, suitable for serialising as
+ RDF or running SPARQL queries.
+ 
+-=item C<< $object->serialise_model(as => $format) >> 
++=item C<< $object-E<gt>serialise_model(as =E<gt> $format) >> 
+ 
+ As C<model> but returns a string.
+ 
+-=item C<< $doc->add_to_model($model) >>
++=item C<< $doc-E<gt>add_to_model($model) >>
+ 
+ Adds data to an existing RDF::Trine::Model.
+ 
+@@ -401,12 +401,12 @@
+ 
+ =over 4
+ 
+-=item C<< HTML::Microformats->modules >>
++=item C<< HTML::Microformats-E<gt>modules >>
+ 
+ Returns a list of Perl modules, each of which implements a specific
+ microformat.
+ 
+-=item C<< HTML::Microformats->formats >>
++=item C<< HTML::Microformats-E<gt>formats >>
+ 
+ As per C<modules>, but strips 'HTML::Microformats::Format::' off the
+ module name, and sorts alphabetically.
+--- a/lib/HTML/Microformats/DocumentContext.pm
++++ b/lib/HTML/Microformats/DocumentContext.pm
+@@ -327,7 +327,7 @@
+ 
+ =over
+ 
+-=item C<< $context = HTML::Microformats::DocumentContext->new($dom, $baseuri) >>
++=item C<< $context = HTML::Microformats::DocumentContext-E<gt>new($dom, $baseuri) >>
+ 
+ Creates a new context from a DOM document and a base URI.
+ 
+@@ -339,57 +339,57 @@
+ 
+ =over
+ 
+-=item C<< $context->cache >>
++=item C<< $context-E<gt>cache >>
+ 
+ A Microformat cache for the context. This prevents the same microformat object from
+ being parsed and reparsed - e.g. an adr parsed first in its own right, and later as a child
+ of an hCard.
+ 
+-=item C<< $context->document >>
++=item C<< $context-E<gt>document >>
+ 
+ Return the modified DOM document.
+ 
+-=item C<< $context->uri( [$relative_reference] ) >>
++=item C<< $context-E<gt>uri( [$relative_reference] ) >>
+ 
+ Called without a parameter, returns the context's base URI.
+ 
+ Called with a parameter, resolves the URI reference relative to the
+ base URI.
+ 
+-=item C<< $context->document_uri >>
++=item C<< $context-E<gt>document_uri >>
+ 
+ Returns a URI representing the document itself. (Usually the same as the
+ base URI.)
+ 
+-=item C<< $context->make_bnode( [$element] ) >>
++=item C<< $context-E<gt>make_bnode( [$element] ) >>
+ 
+ Mint a blank node identifier or a URI.
+ 
+ If an element is passed, this may be used to construct a URI in some way.
+ 
+-=item C<< $context->profiles >>
++=item C<< $context-E<gt>profiles >>
+ 
+ A list of profile URIs declared by the document.
+ 
+-=item C<< $context->has_profile(@profiles) >>
++=item C<< $context-E<gt>has_profile(@profiles) >>
+ 
+ Returns true iff any of the profiles in the array are declared by the document.
+ 
+-=item C<< $context->add_profile(@profiles) >>
++=item C<< $context-E<gt>add_profile(@profiles) >>
+ 
+ Declare these additional profiles.
+ 
+-=item C<< $context->representative_hcard >>
++=item C<< $context-E<gt>representative_hcard >>
+ 
+ Returns the hCard for the person that is "represented by" the page (in the XFN sense),
+ or undef if no suitable hCard could be found
+ 
+-=item C<< $context->representative_person_id( [$as_trine] ) >>
++=item C<< $context-E<gt>representative_person_id( [$as_trine] ) >>
+ 
+-Equivalent to calling C<< $context->representative_hcard->id($as_trine, 'holder') >>,
+-however magically works even if $context->representative_hcard returns undef.
++Equivalent to calling C<< $context-E<gt>representative_hcard-E<gt>id($as_trine, 'holder') >>,
++however magically works even if $context-E<gt>representative_hcard returns undef.
+ 
+-=item C<< $context->contact_hcard >>
++=item C<< $context-E<gt>contact_hcard >>
+ 
+ Returns the hCard for the contact person for the page, or undef if none can be found.
+ 
+@@ -398,10 +398,10 @@
+ are several such hCards, then the one in the shallowest E<lt>addressE<gt> tag is
+ used; if there are several E<lt>addressE<gt> tags equally shallow, the first is used.
+ 
+-=item C<< $context->contact_person_id( [$as_trine] ) >>
++=item C<< $context-E<gt>contact_person_id( [$as_trine] ) >>
+ 
+-Equivalent to calling C<< $context->contact_hcard->id($as_trine, 'holder') >>,
+-however magically works even if $context->contact_hcard returns undef.
++Equivalent to calling C<< $context-E<gt>contact_hcard-E<gt>id($as_trine, 'holder') >>,
++however magically works even if $context-E<gt>contact_hcard returns undef.
+ 
+ =back
+ 
+--- a/lib/HTML/Microformats/Format_Rel.pm
++++ b/lib/HTML/Microformats/Format_Rel.pm
+@@ -21,19 +21,19 @@
+ 
+ =over 4
+ 
+-=item C<< $relfoo->get_href() >>
++=item C<< $relfoo-E<gt>get_href() >>
+ 
+ Returns the absolute URL of the resource being linked to.
+ 
+-=item C<< $relfoo->get_label() >>
++=item C<< $relfoo-E<gt>get_label() >>
+ 
+ Returns the linked text of the E<lt>aE<gt> element. Microformats patterns
+ like value excerpting are used.
+ 
+-=item C<< $relfoo->get_title() >>
++=item C<< $relfoo-E<gt>get_title() >>
+ 
+ Returns the contents of the title attribute of the E<lt>aE<gt> element,
+-or the same as C<< $relfoo->get_label() >> if the attribute is not set.
++or the same as C<< $relfoo-E<gt>get_label() >> if the attribute is not set.
+ 
+ =back
+ 
+--- a/lib/HTML/Microformats/ObjectCache.pm
++++ b/lib/HTML/Microformats/ObjectCache.pm
+@@ -86,7 +86,7 @@
+ 
+ =over
+ 
+-=item C<< $cache = HTML::Microformats::ObjectCache->new >>
++=item C<< $cache = HTML::Microformats::ObjectCache-E<gt>new >>
+ 
+ Creates a new, empty cache.
+ 
+@@ -96,17 +96,17 @@
+ 
+ =over
+ 
+-=item C<< $cache->set($context, $package, $element, $object); >>
++=item C<< $cache-E<gt>set($context, $package, $element, $object); >>
+ 
+ For a given context, package (e.g. 'HTML::Microformats::Format::hCard') and DOM
+ element node, stores an object in the cache.
+ 
+-=item C<< $object = $cache->get($context, $package, $element); >>
++=item C<< $object = $cache-E<gt>get($context, $package, $element); >>
+ 
+ For a given context, package (e.g. 'HTML::Microformats::Format::hCard') and DOM
+ element node, retrieves an object from the cache.
+ 
+-=item C<< @objects = $cache->get_all($context, [$package]); >>
++=item C<< @objects = $cache-E<gt>get_all($context, [$package]); >>
+ 
+ For a given context and package (e.g. 'HTML::Microformats::Format::hCard'), retrieves a
+ list of objects from within the cache.
+--- a/lib/HTML/Microformats/Utilities.pm
++++ b/lib/HTML/Microformats/Utilities.pm
+@@ -218,7 +218,7 @@
+ =item C<< stringify($node, \%options) >>
+ 
+ Returns a stringified version of a DOM element. This is conceptually equivalent
+-to C<< $node->textContent >>, but follows microformat-specific stringification
++to C<< $node-E<gt>textContent >>, but follows microformat-specific stringification
+ rules, including value excerption, the abbr pattern and so on.
+ 
+ =cut
+@@ -674,7 +674,7 @@
+ =item C<< xml_stringify($node) >>
+ 
+ Returns an XML serialisation of a DOM element. This is conceptually equivalent
+-to C<< $node->toStringEC14N >>, but hides certain attributes which
++to C<< $node-E<gt>toStringEC14N >>, but hides certain attributes which
+ HTML::Microformats::DocumentContext adds for internal processing.
+ 
+ =cut
+--- a/lib/HTML/Microformats/Datatype/DateTime.pm
++++ b/lib/HTML/Microformats/Datatype/DateTime.pm
+@@ -38,7 +38,7 @@
+ 
+ =over 4
+ 
+-=item C<< $dt = HTML::Microformats::Datatype::DateTime->parse($string, $elem, $context, [$tz], [$base]) >>
++=item C<< $dt = HTML::Microformats::Datatype::DateTime-E<gt>parse($string, $elem, $context, [$tz], [$base]) >>
+ 
+ Creates a new HTML::Microformats::Datatype::DateTime object.
+ 
+@@ -191,7 +191,7 @@
+ 
+ =over 4
+ 
+-=item C<< $d->to_string >>
++=item C<< $d-E<gt>to_string >>
+ 
+ Returns a literal string.
+ 
+@@ -220,7 +220,7 @@
+ 	}
+ }
+ 
+-=item C<< $d->datatype >>
++=item C<< $d-E<gt>datatype >>
+ 
+ Returns an the RDF datatype URI representing the data type of this literal.
+ 
+--- a/lib/HTML/Microformats/Datatype/DateTime/Parser.pm
++++ b/lib/HTML/Microformats/Datatype/DateTime/Parser.pm
+@@ -10,7 +10,7 @@
+ support for whitespace between the date and time instead of a "T". It also
+ calculates the "resolution" of the datetime (e.g. is it specified to year,
+ month, day, hour, minute, second or nanosecond precision) which it places
+-in $dt->{'resolution'}.
++in $dt-E<gt>{'resolution'}.
+ 
+ Other than that, it can be used exactly as DateTime::Format::ISO8601 can.
+ It parses strings into normal DateTime objects.
+--- a/lib/HTML/Microformats/Datatype/Duration.pm
++++ b/lib/HTML/Microformats/Datatype/Duration.pm
+@@ -35,7 +35,7 @@
+ 
+ =over 4
+ 
+-=item C<< $d = HTML::Microformats::Datatype::Duration->new($duration) >>
++=item C<< $d = HTML::Microformats::Datatype::Duration-E<gt>new($duration) >>
+ 
+ Creates a new HTML::Microformats::Datatype::Duration object.
+ 
+@@ -54,7 +54,7 @@
+ 	return $this;
+ }
+ 
+-=item C<< $d = HTML::Microformats::Datatype::Duration->parse($string, $elem, $context) >>
++=item C<< $d = HTML::Microformats::Datatype::Duration-E<gt>parse($string, $elem, $context) >>
+ 
+ Creates a new HTML::Microformats::Datatype::Duration object.
+ 
+@@ -349,7 +349,7 @@
+ 
+ =over 4
+ 
+-=item C<< $d->duration >>
++=item C<< $d-E<gt>duration >>
+ 
+ Returns a DateTime::Duration object.
+ 
+@@ -361,7 +361,7 @@
+ 	return $self->{d}
+ }
+ 
+-=item C<< $d->to_string >>
++=item C<< $d-E<gt>to_string >>
+ 
+ Returns an ISO 8601 formatted string representing the duration.
+ 
+@@ -411,7 +411,7 @@
+ 	return $self->to_string;
+ }
+ 
+-=item C<< $d->datatype >>
++=item C<< $d-E<gt>datatype >>
+ 
+ Returns an the RDF datatype URI representing the data type of this literal.
+ 
+--- a/lib/HTML/Microformats/Datatype/Interval.pm
++++ b/lib/HTML/Microformats/Datatype/Interval.pm
+@@ -35,7 +35,7 @@
+ 
+ =over 4
+ 
+-=item C<< $i = HTML::Microformats::Datatype::Interval->new($span) >>
++=item C<< $i = HTML::Microformats::Datatype::Interval-E<gt>new($span) >>
+ 
+ Creates a new HTML::Microformats::Datatype::Interval object.
+ 
+@@ -54,7 +54,7 @@
+ 	return $this;
+ }
+ 
+-=item C<< $i = HTML::Microformats::Datatype::Interval->parse($string, $elem, $context) >>
++=item C<< $i = HTML::Microformats::Datatype::Interval-E<gt>parse($string, $elem, $context) >>
+ 
+ Creates a new HTML::Microformats::Datatype::Interval object.
+ 
+@@ -211,7 +211,7 @@
+ 
+ =over 4
+ 
+-=item C<< $span = $i->span >>
++=item C<< $span = $i-E<gt>span >>
+ 
+ Returns a DateTime::Span object.
+ 
+@@ -223,7 +223,7 @@
+ 	return $this->{i}
+ }
+ 
+-=item C<< $span = $i->to_string >>
++=item C<< $span = $i-E<gt>to_string >>
+ 
+ Returns an ISO 8601 formatted string representing the interval.
+ 
+@@ -243,7 +243,7 @@
+ 	return $this->to_string;
+ }
+ 
+-=item C<< $d->datatype >>
++=item C<< $d-E<gt>datatype >>
+ 
+ Returns an the RDF datatype URI representing the data type of this literal.
+ 
+--- a/lib/HTML/Microformats/Datatype/RecurringDateTime.pm
++++ b/lib/HTML/Microformats/Datatype/RecurringDateTime.pm
+@@ -32,7 +32,7 @@
+ 
+ =over 4
+ 
+-=item C<< $r = HTML::Microformats::Datatype::RecurringDateTime->new($string, [$context]) >>
++=item C<< $r = HTML::Microformats::Datatype::RecurringDateTime-E<gt>new($string, [$context]) >>
+ 
+ Creates a new HTML::Microformats::Datatype::RecurringDateTime object.
+ 
+@@ -47,7 +47,7 @@
+ 	bless {}, $class;
+ }
+ 
+-=item C<< $r = HTML::Microformats::Datatype::RecurringDateTime->parse($string, $elem, $context) >>
++=item C<< $r = HTML::Microformats::Datatype::RecurringDateTime-E<gt>parse($string, $elem, $context) >>
+ 
+ Creates a new HTML::Microformats::Datatype::RecurringDateTime object.
+ 
+@@ -141,7 +141,7 @@
+ 	return $self;
+ }
+ 
+-=item C<< $r = HTML::Microformats::Datatype::RecurringDateTime->parse_string($string, [$context]) >>
++=item C<< $r = HTML::Microformats::Datatype::RecurringDateTime-E<gt>parse_string($string, [$context]) >>
+ 
+ Essentially just an alias for C<< new >>.
+ 
+@@ -182,7 +182,7 @@
+ 
+ =over 4
+ 
+-=item C<< $r->to_string >>
++=item C<< $r-E<gt>to_string >>
+ 
+ Returns an iCal-RRULE-style formatted string representing the recurrance.
+ 
+@@ -212,7 +212,7 @@
+ 	return $rv;
+ }
+ 
+-=item C<< $r->datatype >>
++=item C<< $r-E<gt>datatype >>
+ 
+ Returns an the RDF datatype URI representing the data type of this literal.
+ 
+@@ -224,7 +224,7 @@
+ 	return 'http://buzzword.org.uk/rdf/icaltzdx#recur';
+ }
+ 
+-=item C<< $r->add_to_model($model) >>
++=item C<< $r-E<gt>add_to_model($model) >>
+ 
+ Adds the recurring datetime to an RDF model as a resource (not a literal).
+ 
+--- a/lib/HTML/Microformats/Datatype/String.pm
++++ b/lib/HTML/Microformats/Datatype/String.pm
+@@ -34,7 +34,7 @@
+ 
+ =over 4
+ 
+-=item C<< $str = HTML::Microformats::Datatype::String->new($text, [$lang]) >>
++=item C<< $str = HTML::Microformats::Datatype::String-E<gt>new($text, [$lang]) >>
+ 
+ Creates a new HTML::Microformats::Datatype::String object.
+ 
+@@ -57,7 +57,7 @@
+ 
+ =over 4
+ 
+-=item C<< $str->lang >>
++=item C<< $str-E<gt>lang >>
+ 
+ Return the language code.
+ 
+@@ -69,7 +69,7 @@
+ 	return $this->{'lang'};
+ }
+ 
+-=item C<< $str->to_string >>
++=item C<< $str-E<gt>to_string >>
+ 
+ Return a plain (scalar) string.
+ 
+--- a/lib/HTML/Microformats/Format.pm
++++ b/lib/HTML/Microformats/Format.pm
+@@ -40,7 +40,7 @@
+ 
+ =over 4
+ 
+-=item C<< $object = HTML::Microformats::Format->new($element, $context, %options) >>
++=item C<< $object = HTML::Microformats::Format-E<gt>new($element, $context, %options) >>
+ 
+ Parse a microformat with root element $element. 
+ 
+@@ -51,7 +51,7 @@
+ 	die "Cannot instantiate HTML::Microformats::Format.\n";
+ }
+ 
+-=item C<< $object = HTML::Microformats::Format->extract_all($element, $context, %options) >>
++=item C<< $object = HTML::Microformats::Format-E<gt>extract_all($element, $context, %options) >>
+ 
+ Find and parse all such microformats within element $element. 
+ 
+@@ -244,7 +244,7 @@
+ 
+ =over 4
+ 
+-=item C<< $object->format_signature >> or C<< $class->format_signature >>
++=item C<< $object-E<gt>format_signature >> or C<< $class-E<gt>format_signature >>
+ 
+ This method may be called as a class or object method. It returns various information
+ about the definition of this microformat (e.g. what is the root class, which properties
+@@ -264,7 +264,7 @@
+ 		};
+ }
+ 
+-=item C<< $object->profiles >> or C<< $class->profiles >>
++=item C<< $object-E<gt>profiles >> or C<< $class-E<gt>profiles >>
+ 
+ This method may be called as a class or object method. It returns HTML profile
+ URIs which indicate the presence of this microformat.
+@@ -276,7 +276,7 @@
+ 	return qw();
+ }
+ 
+-=item C<< $object->context >> 
++=item C<< $object-E<gt>context >> 
+ 
+ Returns the parsing context (as supplied to C<new>).
+ 
+@@ -287,7 +287,7 @@
+ 	return $_[0]->{'context'};
+ }
+ 
+-=item C<< $object->data >> 
++=item C<< $object-E<gt>data >> 
+ 
+ Returns a hashref of object data. This is a reference to the live data inside the
+ object. Any changes to the returned hashref will change the values inside the object.
+@@ -305,7 +305,7 @@
+ 	return data( $_[0] );
+ }
+ 
+-=item C<< $object->element >> 
++=item C<< $object-E<gt>element >> 
+ 
+ Returns the root element.
+ 
+@@ -316,9 +316,9 @@
+ 	return $_[0]->{'element'};
+ }
+ 
+-=item C<< $object->cache >> 
++=item C<< $object-E<gt>cache >> 
+ 
+-Shortcut for C<< $object->context->cache >>.
++Shortcut for C<< $object-E<gt>context-E<gt>cache >>.
+ 
+ =cut
+ 
+@@ -327,7 +327,7 @@
+ 	return $_[0]->{'cache'};
+ }
+ 
+-=item C<< $object->id([$trine_obj], [$role]) >> 
++=item C<< $object-E<gt>id([$trine_obj], [$role]) >> 
+ 
+ Returns a blank node identifier or identifying URI for the object.
+ 
+@@ -361,7 +361,7 @@
+ 	       RDF::Trine::Node::Resource->new($id);
+ }
+ 
+-=item C<< $object->add_to_model($model) >> 
++=item C<< $object-E<gt>add_to_model($model) >> 
+ 
+ Given an RDF::Trine::Model object, adds relevant data to the model.
+ 
+@@ -377,7 +377,7 @@
+ 	return $self;
+ }
+ 
+-=item C<< $object->model >> 
++=item C<< $object-E<gt>model >> 
+ 
+ Creates a fresh, new RDF::Trine::Model object, containing relevant data.
+ 
+@@ -391,7 +391,7 @@
+ 	return $model;
+ }
+ 
+-=item C<< $object->serialise_model(as => $format) >> 
++=item C<< $object-E<gt>serialise_model(as =E<gt> $format) >> 
+ 
+ As C<model> but returns a string.
+ 
+--- a/lib/HTML/Microformats/Format/RelEnclosure.pm
++++ b/lib/HTML/Microformats/Format/RelEnclosure.pm
+@@ -22,7 +22,7 @@
+ 
+ =over 4
+ 
+-=item C<< $relenc->get_type() >>
++=item C<< $relenc-E<gt>get_type() >>
+ 
+ Returns the media type (Content-Type) of the resource being linked to. This
+ is taken from the HTML 'type' attribute, so if that's not present, returns undef.
+--- a/lib/HTML/Microformats/Format/RelTag.pm
++++ b/lib/HTML/Microformats/Format/RelTag.pm
+@@ -21,7 +21,7 @@
+ 
+ =over 4
+ 
+-=item C<< $reltag->get_tag() >>
++=item C<< $reltag-E<gt>get_tag() >>
+ 
+ Returns the tag being linked to. Given the following link:
+ 
+@@ -29,7 +29,7 @@
+ 
+ the tag is "bar".
+ 
+-=item C<< $reltag->get_tagspace() >>
++=item C<< $reltag-E<gt>get_tagspace() >>
+ 
+ Returns the tagspace of the tag being linked to. Given the following link:
+ 
+--- a/lib/HTML/Microformats/Format/VoteLinks.pm
++++ b/lib/HTML/Microformats/Format/VoteLinks.pm
+@@ -21,11 +21,11 @@
+ 
+ =over 4
+ 
+-=item C<< $link->get_vote() >>
++=item C<< $link-E<gt>get_vote() >>
+ 
+ Returns the string 'for', 'against' or 'abstain'.
+ 
+-=item C<< $link->get_voter() >>
++=item C<< $link-E<gt>get_voter() >>
+ 
+ Returns the hCard of the person who authored the VoteLinks link, if it can
+ be determined from context. (It usually can't unless the page is also using
+--- a/lib/HTML/Microformats/Format/XFN.pm
++++ b/lib/HTML/Microformats/Format/XFN.pm
+@@ -443,7 +443,7 @@
+ 
+ =over 4
+ 
+-=item C<< $xfn->subject_hcard >>
++=item C<< $xfn-E<gt>subject_hcard >>
+ 
+ Returns the hCard for the subject of the relationship. e.g. if Mary has parent Sue, then
+ Mary is the subject.
+@@ -458,7 +458,7 @@
+ 	return $self->context->representative_hcard;
+ }
+ 
+-=item C<< $xfn->object_hcard >>
++=item C<< $xfn-E<gt>object_hcard >>
+ 
+ Returns the hCard for the object of the relationship. e.g. if Mary has parent Sue, then
+ Sue is the object.
+--- a/lib/HTML/Microformats/Format/XOXO.pm
++++ b/lib/HTML/Microformats/Format/XOXO.pm
+@@ -189,17 +189,17 @@
+ 
+ =over 4
+ 
+-=item C<< $dl->get_values($key) >>
++=item C<< $dl-E<gt>get_values($key) >>
+ 
+ Treating a DL as a key-value structure, returns a list of values for a given key.
+ Each value is an HTML::Microformats::Format::XOXO::DD object.
+ 
+-=item C<< $dl->as_hash >>
++=item C<< $dl-E<gt>as_hash >>
+ 
+ Returns a hash of keys pointing to arrayrefs of values, where each value is an
+ HTML::Microformats::Format::XOXO::DD object.
+ 
+-=item C<< $dl->as_array >>
++=item C<< $dl-E<gt>as_array >>
+ 
+ Logically what you think get_values("*") might do.
+ 
+@@ -285,7 +285,7 @@
+ 
+ =over 4
+ 
+-=item C<< $ul->as_array >>
++=item C<< $ul-E<gt>as_array >>
+ 
+ Returns an array of values, where each is a HTML::Microformats::Format::XOXO::LI object.
+ 
+@@ -307,7 +307,7 @@
+ 
+ =over 4
+ 
+-=item C<< $ol->as_array >>
++=item C<< $ol-E<gt>as_array >>
+ 
+ Returns an array of values, where each is a HTML::Microformats::Format::XOXO::LI object.
+ 
+@@ -476,48 +476,48 @@
+ 
+ =over 4
+ 
+-=item C<< $li->get_link_href >>
++=item C<< $li-E<gt>get_link_href >>
+ 
+ Returns the URL linked to by the B<first> link found within the item.
+ 
+-=item C<< $li->get_link_rel >>
++=item C<< $li-E<gt>get_link_rel >>
+ 
+ Returns the value of the rel attribute of the first link found within the item.
+ This is an unparsed string.
+ 
+-=item C<< $li->get_link_type >>
++=item C<< $li-E<gt>get_link_type >>
+ 
+ Returns the value of the type attribute of the first link found within the item.
+ This is an unparsed string.
+ 
+-=item C<< $li->get_link_title >>
++=item C<< $li-E<gt>get_link_title >>
+ 
+ Returns the value of the rel attribute of the first link found within the item
+ if present; the link text otherwise.
+ 
+-=item C<< $li->get_text >>
++=item C<< $li-E<gt>get_text >>
+ 
+ Returns the value of the text in the LI element B<except> for the first DL
+ element within the LI, and the first UL or OL element.
+ 
+-=item C<< $li->get_html >>
++=item C<< $li-E<gt>get_html >>
+ 
+ Returns the HTML code in the LI element B<except> for the first DL
+ element within the LI, and the first UL or OL element.
+ 
+-=item C<< $li->get_properties >>
++=item C<< $li-E<gt>get_properties >>
+ 
+ Returns an HTML::Microformats::Format::XOXO::DL object representing the first
+ DL element within the LI.
+ 
+-=item C<< $li->get_children >>
++=item C<< $li-E<gt>get_children >>
+ 
+ Returns an HTML::Microformats::Format::XOXO::OL or HTML::Microformats::Format::XOXO::UL
+ object representing the first OL or UL element within the LI.
+ 
+-=item C<< $li->get_value($key) >>
++=item C<< $li-E<gt>get_value($key) >>
+ 
+-A shortcut for C<< $li->get_properties->get_values($key) >>.
++A shortcut for C<< $li-E<gt>get_properties-E<gt>get_values($key) >>.
+ 
+ =back
+ 
+--- a/lib/HTML/Microformats/Format/hAtom.pm
++++ b/lib/HTML/Microformats/Format/hAtom.pm
+@@ -31,7 +31,7 @@
+ 
+ =item * C<< to_atom >>
+ 
+-This method exports the data as an XML file containing an Atom <feed>.
++This method exports the data as an XML file containing an Atom E<lt>feedE<gt>.
+ It requires L<XML::Atom::FromOWL> to work, and will throw an error at
+ run-time if it's not available.
+ 
+--- a/lib/HTML/Microformats/Format/hEntry.pm
++++ b/lib/HTML/Microformats/Format/hEntry.pm
+@@ -35,7 +35,7 @@
+ 
+ =item * C<< to_atom >>
+ 
+-This method exports the data as an XML file containing an Atom <entry>.
++This method exports the data as an XML file containing an Atom E<lt>entryE<gt>.
+ It requires L<XML::Atom::FromOWL> to work, and will throw an error at
+ run-time if it's not available.
+ 
+--- a/lib/HTML/Microformats/Format/hResume.pm
++++ b/lib/HTML/Microformats/Format/hResume.pm
+@@ -319,7 +319,7 @@
+ 
+ The RDF output is modelled on Uldis Bojars' ResumeRDF Ontology
+ L<http://purl.org/captsolo/resume-rdf/0.2/cv#>, with some additional
+-terms from Toby Inkster's hResume vocab <http://ontologi.es/hresume#>.
++terms from Toby Inkster's hResume vocab L<http://ontologi.es/hresume#>.
+ 
+ =head1 BUGS
+ 
+--- a/lib/HTML/Microformats/Format/hReview.pm
++++ b/lib/HTML/Microformats/Format/hReview.pm
+@@ -396,7 +396,7 @@
+ outside the hReview, in the context of the page, for the "reviewer". 
+ If there is no "reviewer" outside either, then parsers should use the
+ author defined by the containing document language, e.g. for HTML
+-documents, the <address> contact info for the page (which is ideally
++documents, the E<lt>addressE<gt> contact info for the page (which is ideally
+ marked up as an hCard as well).
+ 
+ =back
diff --git a/debian/patches/series b/debian/patches/series
index 13e6418..12b8735 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 01-typos.patch
+02-perldoc.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libhtml-microformats-perl.git



More information about the Pkg-perl-cvs-commits mailing list