view release on metacpan or search on metacpan
share/status/app/lib/bootstrap/jquery.js view on Meta::CPAN
rchecked = /checked\s*(?:[^=]|=\s*.checked.)/i,
rscriptType = /^$|\/(?:java|ecma)script/i,
rscriptTypeMasked = /^true\/(.*)/,
rcleanScript = /^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,
// We have to close these tags to support XHTML (#13200)
wrapMap = {
option: [ 1, "<select multiple='multiple'>", "</select>" ],
legend: [ 1, "<fieldset>", "</fieldset>" ],
area: [ 1, "<map>", "</map>" ],
param: [ 1, "<object>", "</object>" ],
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/Followme/PodData.pm view on Meta::CPAN
=over 4
=item $body
All the contents of the file, minus the title if there is one.
Pod::Simple::XHTML is called on the file's content to generate html
before being stored in the body variable.
=item $description
A one line sentence description of the content.
view all matches for this distribution
view release on metacpan or search on metacpan
examples/initramfs-man/bin/mangle-rman-html.pl view on Meta::CPAN
use HTML::TreeBuilder;
use Pod::Usage;
binmode(STDIN,':utf8');
my $doctype = 'DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"'
. ' "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"';
my $xmlns = "http://www.w3.org/1999/xhtml";
my %opt;
view all matches for this distribution
view release on metacpan or search on metacpan
If all your HTML files have a common header/footer, you may want to place them
in in the files `includes/header' and `includes/footer'.
For example `inlcudes/header' may contain
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
view all matches for this distribution
view release on metacpan or search on metacpan
lib/ChordPro/lib/SVGPDF.pm view on Meta::CPAN
}
}
method search ( $content ) {
# In general, we'll have an XHTML tree with one or more <sgv>
# elements.
for ( @$content ) {
next if $_->{type} eq 't';
my $name = $_->{name};
view all matches for this distribution
view release on metacpan or search on metacpan
public/javascripts/ace/mode-php.js view on Meta::CPAN
"mixed tidy_getopt(string option)",
"Returns the value of the specified configuration option for the tidy document."
],
"tidy_is_xhtml": [
"boolean tidy_is_xhtml()",
"Indicates if the document is a XHTML document."
],
"tidy_is_xml": [
"boolean tidy_is_xml()",
"Indicates if the document is a generic (non HTML/XHTML) XML document."
],
view all matches for this distribution
view release on metacpan or search on metacpan
share/public/500.html view on Meta::CPAN
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Error 500</title>
<link rel="stylesheet" href="/css/error.css" />
view all matches for this distribution
view release on metacpan or search on metacpan
configuration/configuration_template/frame.html view on Meta::CPAN
<?xml version="1.0" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Plog</title>
<link rel="stylesheet" href="sco.css" type="text/css" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/Pod2Epub.pm view on Meta::CPAN
sub new {
my $class = shift;
my $self = Pod::Simple::XHTML->new( @_ );
# Don't generate an XHTML index. We will use the ePub TOC instead.
$self->index(0);
# Add the default XHTML headers.
$self->html_header(
qq{<?xml version="1.0" encoding="UTF-8"?>\n}
. qq{<!DOCTYPE html\n}
. qq{ PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"\n}
. qq{ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">\n}
. qq{\n}
. qq{<html xmlns="http://www.w3.org/1999/xhtml">\n}
. qq{<head>\n}
. qq{<title></title>\n}
lib/App/Pod2Epub.pm view on Meta::CPAN
=head1 SYNOPSIS
To create a simple filter to convert Pod to an XHTML format suitable for inclusion in an ePub eBook.
#!/usr/bin/perl -w
use strict;
use App::Pod2Epub;
lib/App/Pod2Epub.pm view on Meta::CPAN
=head1 USING THIS MODULE
At the moment this module isn't very useful on its own. It is mainly in existence as a backend for C<pod2epub>.
It provides a framework to convert Pod documents to an XHTML format suitable for inclusion in an ePub eBook. The ePub creation is handled by L<EBook::EPUB> in C<pod2epub>. Future versions will move that functionality into this module so that it has a...
=head1 METHODS
=head2 new()
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/Requirement/Arch/HTML/Flat.pm view on Meta::CPAN
$title = 'No title set for this document!' unless ($title);
return <<"END_OF_HTML";
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<!-- $comment -->
<title>$title</title>
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/Scaffolder/Command/html.pm view on Meta::CPAN
=head1 SYNOPSIS
# Create a simple HTML5 file:
$ scaffolder html --template html5 --name index --title "My Document"
# Create a simple XHTML file:
$ scaffolder html --template xhtml10strict --name index --title "My Document"
=head1 DESCRIPTION
App::Scaffolder::Command::html scaffolds HTML files. By default, it provides two
lib/App/Scaffolder/Command/html.pm view on Meta::CPAN
C<html5>: Create a HTML5 document.
=item *
C<xhtml10strict>: Create a XHTML 1.0 strict document.
=back
=head1 METHODS
view all matches for this distribution
view release on metacpan or search on metacpan
htdocs/header.tmpl view on Meta::CPAN
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<link rel="stylesheet" type="text/css" href="[% cdn_host %]/css/zendesk.css" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="[% cdn_host %]/css/triple_a.css" />
view all matches for this distribution
view release on metacpan or search on metacpan
t/04pragmarun.t view on Meta::CPAN
"retryonrun.in" => <<EOS,
1..2
not ok 1 - branding [http://cpan.org/] [/Python/ should match]
# Failed test 'branding [http://cpan.org/] [/Python/ should match]'
# in ... at line XX.
# got: "<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Trans"...
# length: ...
# doesn't match '(?-xism:Python)'
ok 2 - branding [http://perl.org/] [/Perl/ should match]
# Looks like you failed 1 test of 2.
EOS
view all matches for this distribution
view release on metacpan or search on metacpan
t/04snaprun.t view on Meta::CPAN
"snaponrun.in" => <<EOS,
1..2
not ok 1 - branding [http://cpan.org/] [/Python/ should match]
# Failed test 'branding [http://cpan.org/] [/Python/ should match]'
# in ... at line XX.
# got: "<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Trans"...
# length: ...
# doesn't match '(?-xism:Python)'
# See snapshot t/run_xxx-xxx-xx-xx-xx-xx-xxxx/frame_xxx-xxx-xx-xx-xx-xx-xxxx-x.html
ok 2 - branding [http://perl.org/] [/Perl/ should match]
# See snapshot t/run_xxx-xxx-xx-xx-xx-xx-xxxx/frame_xxx-xxx-xx-xx-xx-xx-xxxx-x.html
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/Slackeria/Output.pm view on Meta::CPAN
__END__
=head1 NAME
App::Slackeria::Output - XHTML output for App::Slackeria
=head1 SYNOPSIS
# $project looks like this:
# {
lib/App/Slackeria/Output.pm view on Meta::CPAN
version 0.12
=head1 DESCRIPTION
App::Slackeria::Out::XHTML takes a hashref of projects, which themselves are
hashrefs of plugin name => plugin output pairs, and stuffs it into a nicely
formatted (X)HTML table.
=head1 FUNCTIONS
view all matches for this distribution
view release on metacpan or search on metacpan
examples/html/myapp.html view on Meta::CPAN
<?xml version="1.0" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rev="made" href="mailto:" />
view all matches for this distribution
view release on metacpan or search on metacpan
t/spelling.t view on Meta::CPAN
plan skip_all => "Test::Spelling required for testing POD spelling" if $@;
plan skip_all => "spell command required for testing POD spelling" if !$found;
add_stopwords(qw/
YAML NSW Hornsby templatecmd Arg arg var vars XHTML html CGI min Gtk dir fullname ttk txt pl funcs isa obj sig sigs
MathML
Param
SVG
TODO
criticise
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/TimeClock/Daily/HtmlPrinter.pm view on Meta::CPAN
sub print_header {
my $self = shift;
my $title = "Daily Report " . localtime();
$self->_print(<< "EOD");
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv='Content-Type' content='text/html;charset=utf-8'/><title>$title</title>
<style type='text/css'>
html, body { margin: 0; padding: 0; border: 0; }
body { background:#fff; color:#000; margin: 1em 0 0 1em; }
view all matches for this distribution
view release on metacpan or search on metacpan
t/file-01.html view on Meta::CPAN
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Some Title</title>
<link rev="made" href="mailto:author@example.com" />
<link rel="stylesheet" href="style.css" type="text/css" media="screen, projection" />
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/Zapzi/Publishers/EPUB.pm view on Meta::CPAN
$self->_set_collection_data($self->collection_data . $article_xhtml);
}
sub _extract_xhtml
{
# Convert the HTML to XHTML as required by EBook::EPUB
my $self = shift;
my ($input) = @_;
my $tree = eval { HTML::TreeBuilder->new_from_content($input) };
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/ZofCMS/Plugin/Doctypes.pm view on Meta::CPAN
$t->{'doctype HTML 4.01 Frameset'}
= q|<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" |
. q|"http://www.w3.org/TR/html4/frameset.dtd">|;
$t->{'doctype XHTML 1.0 Strict'}
= q|<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" |
. q|"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">|;
$t->{'doctype XHTML 1.0 Transitional'}
= q|<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
. q|"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">|;
$t->{'doctype XHTML 1.0 Frameset'}
= q|<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" |
. q|"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">|;
$t->{'doctype XHTML 1.1'}
= q|<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" |
. q|"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">|;
$t->{'doctype HTML5'}
= q|<!DOCTYPE html>|;
return 1
unless $conf{extra};
$t->{'doctype XHTML Basic 1.0'}
= q|<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Basic 1.0//EN" |
. q|"http://www.w3.org/TR/xhtml-basic/xhtml-basic10.dtd">|;
$t->{'doctype XHTML Basic 1.1'}
= q|<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Basic 1.1//EN" |
. q|"http://www.w3.org/TR/xhtml-basic/xhtml-basic11.dtd">|;
$t->{'doctype HTML 2.0'}
= q|<!DOCTYPE html PUBLIC "-//IETF//DTD HTML 2.0//EN">|;
lib/App/ZofCMS/Plugin/Doctypes.pm view on Meta::CPAN
$t->{'doctype MathML 2.0'}
= q|<!DOCTYPE math PUBLIC "-//W3C//DTD MathML 2.0//EN" |
. q|"http://www.w3.org/TR/MathML2/dtd/mathml2.dtd">|;
$t->{'doctype XHTML + MathML + SVG'}
= q|<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0 plus SVG 1.1//EN" |
. q|"http://www.w3.org/2002/04/xhtml-math-svg/xhtml-math-svg.dtd">|;
$t->{'doctype SVG 1.0'}
= q|<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" |
. q|"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">|;
lib/App/ZofCMS/Plugin/Doctypes.pm view on Meta::CPAN
$t->{'doctype SVG 1.1 Tiny'}
= q|<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" |
. q|"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd">|;
$t->{'doctype XHTML + MathML + SVG Profile (XHTML as the host language)'}
= q|<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0 plus SVG 1.1//EN" |
. q|"http://www.w3.org/2002/04/xhtml-math-svg/xhtml-math-svg.dtd">|;
$t->{'doctype XHTML + MathML + SVG Profile (Using SVG as the host)'}
= q|<!DOCTYPE svg:svg PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0 plus SVG 1.1//EN" |
. q|"http://www.w3.org/2002/04/xhtml-math-svg/xhtml-math-svg.dtd">|;
}
1;
__END__
lib/App/ZofCMS/Plugin/Doctypes.pm view on Meta::CPAN
=head1 'BASIC' MODE DTDs
<tmpl_var name="doctype HTML 4.01 Strict">
<tmpl_var name="doctype HTML 4.01 Transitional">
<tmpl_var name="doctype HTML 4.01 Frameset">
<tmpl_var name="doctype XHTML 1.0 Strict">
<tmpl_var name="doctype XHTML 1.0 Transitional">
<tmpl_var name="doctype XHTML 1.0 Frameset">
<tmpl_var name="doctype XHTML 1.1">
<tmpl_var name="doctype HTML5">
=head1 'EXTRA' MODE DTDs
<tmpl_var name="doctype XHTML Basic 1.0">
<tmpl_var name="doctype XHTML Basic 1.1">
<tmpl_var name="doctype HTML 2.0">
<tmpl_var name="doctype HTML 3.2">
<tmpl_var name="doctype MathML 1.01">
<tmpl_var name="doctype MathML 2.0">
<tmpl_var name="doctype XHTML + MathML + SVG">
<tmpl_var name="doctype SVG 1.0">
<tmpl_var name="doctype SVG 1.1 Full">
<tmpl_var name="doctype SVG 1.1 Basic">
<tmpl_var name="doctype SVG 1.1 Tiny">
<tmpl_var name="doctype XHTML + MathML + SVG Profile (XHTML as the host language)">
<tmpl_var name="doctype XHTML + MathML + SVG Profile (Using SVG as the host)">
=head1 REPOSITORY
Fork this module on GitHub:
L<https://github.com/zoffixznet/App-ZofCMS>
view all matches for this distribution
view release on metacpan or search on metacpan
is($doc->findvalue('//h1'), "Planet", "HTML title");
is($doc->findvalue('//div[@class="post"][position()=1]/h3'), "dive into mark â Atom draft-07 snapshot", "Entry title");
is($doc->findvalue('//div[@class="post"][position()=1]/div[@class="content"]'), "[Update: The Atom draft is finished.]", "Entry content");
$doc = XML::LibXML->load_xml(location => "test-$id/rss2sample.xml");
is($doc->findvalue('//item[position()=1]/title'), "Atom draft-07 snapshot", "XHTML Item title");
my @nodes = $doc->findnodes('//item[position()=1]/description');
my $node = shift(@nodes);
like($node->toString, qr(<p><i>\[Update: The Atom draft is finished\.\]</i></p>),
"XHTML Item description");
is($doc->findvalue('//item[position()=2]/title'), "HTML Example", "HTML Item title");
@nodes = $doc->findnodes('//item[position()=2]/description');
$node = shift(@nodes);
like($node->toString, qr(<p><i>Yeah!</i></p>),
view all matches for this distribution
view release on metacpan or search on metacpan
ppp-Documentation.html view on Meta::CPAN
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta name="generator" content="pandoc" />
view all matches for this distribution
view release on metacpan or search on metacpan
<?xml version="1.0" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Argv Module</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rev="made" href="mailto:root@localhost" />
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Ark/Context/Debug.pm view on Meta::CPAN
my $self = shift;
$self->ensure_class_loaded('Text::MicroTemplate');
Text::MicroTemplate::build_mt(<<'__EOF__');
? sub encoded_string { goto &Text::MicroTemplate::encoded_string }
<?= encoded_string(qq[<\?xml version="1.0" encoding="utf-8"?\>\n]) ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<title>500 Internal Server Error</title>
view all matches for this distribution
view release on metacpan or search on metacpan
Lookup.html view on Meta::CPAN
<?xml version="1.0" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rev="made" href="mailto:aks@somewhere.local" />
view all matches for this distribution
view release on metacpan or search on metacpan
ArrayHashSearch.pod view on Meta::CPAN
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>ArrayHashSearch - Search utility for arrays and hashes in Perl.</title>
<link rev="made" href="mailto:" />
</head>
view all matches for this distribution
view release on metacpan or search on metacpan
examples/plain-speaking/public/404.html view on Meta::CPAN
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Error 404</title>
<link rel="stylesheet" href="/css/error.css" />
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Astro/SpaceTrack.pm view on Meta::CPAN
# Note: If we have a bad cookie, we get a success status, with
# the text
# <?xml version="1.0" encoding="iso-8859-1"?>
# <!DOCTYPE html
# PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
# "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
# <html xmlns="http://www.w3.org/1999/xhtml" lang="en-US" xml:lang="en-US"><head><title>Space-Track</title>
# </head><body>
# <body bgcolor='#fffacd' text='#191970' link='#3333e6'>
# <div align='center'><img src='http://www.space-track.org/icons/spacetrack_logo3.jpg' width=640 height=128 align='top' border=0></div>
view all matches for this distribution