html::microformats::format_rel(3pm) [debian man page]
HTML::Microformats::Format_Rel(3pm) User Contributed Perl Documentation HTML::Microformats::Format_Rel(3pm)NAME
HTML::Microformats::Format_Rel - base rel-* microformat class
SYNOPSIS
my @tags = HTML::Microformats::RelTag->extract_all(
$doc->documentElement, $context);
foreach my $tag (@tags)
{
print $tag->get_href . "
";
}
DESCRIPTION
HTML::Microformats::Format_Rel inherits from HTML::Microformats::Format. See the base class definition for a description of property
getter/setter methods, constructors, etc.
Additional Methods
"$relfoo->get_href()"
Returns the absolute URL of the resource being linked to.
"$relfoo->get_label()"
Returns the linked text of the <a> element. Microformats patterns like value excerpting are used.
"$relfoo->get_title()"
Returns the contents of the title attribute of the <a> element, or the same as "$relfoo->get_label()" if the attribute is not set.
BUGS
Please report any bugs to <http://rt.cpan.org/>.
SEE ALSO
HTML::Microformats::Format, HTML::Microformats.
AUTHOR
Toby Inkster <tobyink@cpan.org>.
COPYRIGHT
Copyright 2008-2011 Toby Inkster
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
DISCLAIMER OF WARRANTIES
THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
perl v5.14.2 2011-12-06 HTML::Microformats::Format_Rel(3pm)
Check Out this Related Man Page
HTML::Microformats::Format::RelLicense(3pm) User Contributed Perl Documentation HTML::Microformats::Format::RelLicense(3pm)NAME
HTML::Microformats::Format::RelLicense - the rel-license microformat
SYNOPSIS
my @licences = HTML::Microformats::Format::RelLicense->extract_all(
$doc->documentElement, $context);
foreach my $licence (@licences)
{
print $licence->get_href . "
";
}
DESCRIPTION
HTML::Microformats::Format::RelLicense inherits from HTML::Microformats::Format_Rel. See the base class definition for a description of
property getter/setter methods, constructors, etc.
MICROFORMAT
HTML::Microformats::Format::RelLicense supports rel-license as described at http://microformats.org/wiki/rel-license
<http://microformats.org/wiki/rel-license>.
RDF OUTPUT
Data is returned using the Creative Commons vocabulary (<http://creativecommons.org/ns#>) and occasional other terms.
BUGS
Please report any bugs to <http://rt.cpan.org/>.
SEE ALSO
HTML::Microformats::Format_Rel, HTML::Microformats.
AUTHOR
Toby Inkster <tobyink@cpan.org>.
COPYRIGHT
Copyright 2008-2011 Toby Inkster
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
DISCLAIMER OF WARRANTIES
THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
perl v5.14.2 2011-12-06 HTML::Microformats::Format::RelLicense(3pm)
I am cleaning up HTML with sed. With the regexp
<a name="+"></a><h>*<span class="mw-headline" >+</span></h>
I can find the tags I need. But when I place them in a sed command, sed fails. So I started building up from a smaller command. This is where I am now:
sed -r -e s/"<a... (3 Replies)
Ok, so this is stupid simple, and I know I am going to feel like an idiot when I get help.
I am altering a HTML report that has contraband in it so that the links to said contraband and the images are not shown.
The link/img pairs are in the form of :
<a... (5 Replies)