view release on metacpan or search on metacpan
lib/GD/3DBarGrapher.pm view on Meta::CPAN
my $imagemap = creategraph(\@data, \%options);
=head1 DESCRIPTION
There is only one function in the 3dBarGrapher module and that is creategraph
which will return image map XHTML for use in a web page displaying the graph.
The data to graph must be passed in a multidimensional array where column 0
is the x-axis name of the item to graph and column 1 is it's associated
numerical value.
lib/GD/3DBarGrapher.pm view on Meta::CPAN
=item 4.
Only options that default to empty can be defined as empty
=head1 Image Map
The creategraph function returns XHTML code for the image and an associated
image map, something like this:
<img src="mygraph.jpg" width="400" height="320" border="0" usemap="#mygraphjpg1179003059" />
<map name="mygraphjpg1179003059" id="mygraphjpg1179003059">
<area shape="rect" coords="67,123,112,245" href="#" title="Apples: 28" />
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Galileo/files/public/assets/pagedown/Markdown.Converter.js view on Meta::CPAN
return text;
}
function _DoAnchors(text) {
//
// Turn Markdown link shortcuts into XHTML <a> tags.
//
//
// First, handle reference-style links: [link text] [id]
//
view all matches for this distribution
view release on metacpan or search on metacpan
nytprof/(eval 1)[Time-HiRes-pm-33]-10-line.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">
<!--
This file was generated by Devel::NYTProf version 6.06
-->
<head>
view all matches for this distribution
view release on metacpan or search on metacpan
examples/boggle-words.template view on Meta::CPAN
<!DOCTYPE html PUBLIC "-//ajdelore//DTD XHTML 1.0 Strict Modified//EN"
"http://www.sfu.ca/~ajdelore/dtd/xhtml1-strict-modified.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
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></title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rev="made" href="mailto:zach@zach-foo.(none)" />
view all matches for this distribution
view release on metacpan or search on metacpan
web/stylesheets/iteration2html.xps view on Meta::CPAN
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<%
$t->{title}{showtag} = 0;
$t->set( 'log' => {
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>Games::Sudoku::Kubedoku - Sudoku Solver for any NxN puzzles</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rev="made" href="mailto:root@midas.slackware.lan" />
view all matches for this distribution
view release on metacpan or search on metacpan
root/uaf_display.tt 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">
[% content -%]
</html>
view all matches for this distribution
view release on metacpan or search on metacpan
root/bookerrata.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>Gantry | Perl Web Application Framework</title>
view all matches for this distribution
view release on metacpan or search on metacpan
data/GEDCOMANSELTable.xhtml view on Meta::CPAN
<?xml version="1.0" encoding="UTF-8"?>
<!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="en" dir="ltr">
<head>
<!-- #BeginEditable "Header" -->
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
view all matches for this distribution
view release on metacpan or search on metacpan
templates/default/Geo/Coder/Free/Display/meta_data.tmpl 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" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
view all matches for this distribution
view release on metacpan or search on metacpan
t/js_reference/test.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>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>Interactive Polyline Encoder Utility - Google Maps API - Google Code</title>
view all matches for this distribution
view release on metacpan or search on metacpan
* regen from Graph::Easy 0.35
* add space before "One of..."
* add support for "B<...>"
* output HTML files in utf-8
* add error.html
* make Pod2HTML use Pod::Simple::XHTML (easier to override)
2005-12-03 v0.24 Tels 2 tests
* add examples/pod2html and lib/graph/Easy/Pod2HTML.pm
* require Graph::Easy 0.34
* fix object tag for SVG example (needs width/height for firefox)
view all matches for this distribution
view release on metacpan or search on metacpan
script/cgi-bin/hc.cgi view on Meta::CPAN
say qq{Content-Type: text/html\n};
say <<'END_OF_HEADER';
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
view all matches for this distribution
view release on metacpan or search on metacpan
htdocs/assets/templates/graphviz2/marpa/pathutils/cluster.report.tx 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>
<title>Sample files created by GraphViz2::Marpa::PathUtils</title>
<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
htdocs/assets/templates/graphviz2/marpa/graphviz2.marpa.index.tx 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>
<title>Index of sample files created by GraphViz2::Marpa</title>
<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
Sample output is online at
http://savage.net.au/Perl-modules/html/graphviz2/parse.isa.svg.
1.13 Sun Dec 25 10:33:00 2011
- Change <img...> to <object...> in the demo creation code, to keep poor old FireFox happy.
- Change various things in html/graphviz2.index.tx to we validate as XHTML 1.0 Strict.
- Unreleased.
1.12 Wed Dec 14 11:22:00 2011
- Add 5 scripts, scripts/macro.*.pl, to demonstrate using a Perl sub as a macro to generate
both cluster and non-cluster sub-graphs.
view all matches for this distribution
view release on metacpan or search on metacpan
lib/HTML/AccountAutoDiscovery.pm view on Meta::CPAN
I<HTML::AccountAutoDiscovery> implements Account Auto-Discovery from given a URI or a HTML document.
Account Auto-Discovery is a spec for searching account names of some online services in the HTML. You can see the document of the spec at I<http://b.hatena.ne.jp/help?mode=tipjar#autodiscovery> (But only for Japanese.)
If you want to show your online accounts on your HTML or XHTML as metadata, you can write looks like this:
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:foaf="http://xmlns.com/foaf/0.1/">
<rdf:Description rdf:about="http://d.hatena.ne.jp/naoya/20050804/1123142579">
view all matches for this distribution
view release on metacpan or search on metacpan
t/div/40-variant view on Meta::CPAN
<h3 id="the-first-test">The first test</h3>
<p><em>This</em> is a very conformant
XHTML
fragment. I hope you like it. I will be using it as test material
during the development of this module. Actually not just <em>development</em>
but subsequent <strong>support</strong> will both use this and variant
files for regression tests. </p><h3 id="play_havoc">Blah</h3><p>This paragraph is intended to include all the
features permitted in our restricted subset of HTML. Therefore I need to
view all matches for this distribution
view release on metacpan or search on metacpan
lib/HTML/AutoTag.pm view on Meta::CPAN
]
);
=head1 DESCRIPTION
Generate nested HTML (HTML4, XHTML and HTML5) tags with custom indentation,
custom encoding and automatic attribute value rotation.
=head1 METHODS
=over 4
view all matches for this distribution
view release on metacpan or search on metacpan
lib/HTML/BBReverse.pm view on Meta::CPAN
=item in_paragraph
Specifies wether the generated HTML is used between HTML paragraphs (C<E<lt>pE<gt>>
and C<E<lt>/pE<gt>>), and adds a C<E<lt>/pE<gt>> in front of and a C<E<lt>pE<gt>>
after every list. (XHTML 1.0 strict document types do not allow lists in
paragraphs) Defaults to 0.
=item no_jslink
When true, URLs starting with C<javascript:> will be disabled for the C<[url]>
view all matches for this distribution
view release on metacpan or search on metacpan
- Much better auto-correction of unescaped HTML brackets.
The module now can autocorrect both opening and closing unmatched
HTML brackets.
- Tagclasses were updated to include all relevant
elements from current XHTML DTD.
- By default more harmless inline tags are allowed:
B I A U STRONG BR
EM CITE VAR ABBR Q DFN CODE SUB SUP SAMP KBD ACRONYM
view all matches for this distribution
view release on metacpan or search on metacpan
HTML-Chunks
-----------
A simple template system for HTML, XML and XHTML which completely separates code
from design. Designers can create a well-formed mockup for presentation purposes
which can immediately be used by developers to create a working system. Or
developers can create an interface which designers turn into something pretty.
This removes the "chicken and egg" problem which plagues traditional template
systems while making it easier to produce proper code that is easily maintained.
view all matches for this distribution
view release on metacpan or search on metacpan
share/xhtml-special.ent view on Meta::CPAN
<!-- Special characters for XHTML -->
<!-- Character entity set. Typical invocation:
<!ENTITY % HTMLspecial PUBLIC
"-//W3C//ENTITIES Special for XHTML//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml-special.ent">
view all matches for this distribution
view release on metacpan or search on metacpan
lib/HTML/DeferableCSS.pm view on Meta::CPAN
If a web site configures a
L<Content-Security-Policy|https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP>
setting to disable all inlined JavaScript, then the JavaScript shim will
not work.
=head2 XHTML Support
This module is written for HTML5.
It does not support XHTML self-closing elements or embedding styles
and scripts in CDATA sections.
=head2 Encoding
All files are embedded as raw files.
view all matches for this distribution
view release on metacpan or search on metacpan
lib/HTML/Detergent.pm view on Meta::CPAN
C<E<lt>baseE<gt>> element is either added or rewritten to reflect it,
and the URI attributes in the body are rewritten relative to the base.
Otherwise they are left alone.
The document returned is an L<XML::LibXML::Document> object using the
XHTML namespace, C<http://www.w3.org/1999/xhtml>, but does not profess
to validate against any particular schema. If DTD declarations
(including the empty C<E<lt>!DOCTYPE htmlE<gt>> recommended in HTML5)
are desired, they can be added on afterward. Likewise, the object can
be converted from XML into HTML using L<XML::LibXML::Document/toStringHTML>.
view all matches for this distribution
view release on metacpan or search on metacpan
lib/HTML/Detoxifier.pm view on Meta::CPAN
In addition to this main purpose, HTML::Detoxifier cleans up some common
mistakes with HTML: all tags are closed, empty tags are converted to valid
XML (that is, with a trailing /), and images without ALT text as required in
HTML 4.0 are given a plain ALT tag. The module does its best to emit valid
XHTML 1.0; it even adds XML declarations and DOCTYPE elements where needed.
=cut
use constant TAG_GROUPS => {
links => {
lib/HTML/Detoxifier.pm view on Meta::CPAN
$attrs{style}
}
if (lc $token->[1] eq 'html') {
# Add a valid XML declaration and a doctype. HTML::Detoxifier
# converts everything to XHTML 1.0, so we might as well
# qualify it!
$out = <<"ENDDECL" . $out;
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
ENDDECL
$attrs{xmlns} = "http://www.w3.org/1999/xhtml"
unless $attrs{xmlns};
$attrs{lang} = "en-US" unless $attrs{lang};
view all matches for this distribution
view release on metacpan or search on metacpan
lib/HTML/Diff.pm view on Meta::CPAN
use Exporter;
our @ISA = qw(Exporter);
our @EXPORT = qw(line_diff word_diff html_word_diff);
# This list of tags is taken from the XHTML spec and includes
# all those for which no closing tag is expected. In addition
# the pattern below matches any tag which ends with a slash /
our @UNBALANCED_TAGS = qw(br hr p li base basefont meta link
col colgroup frame input isindex area
view all matches for this distribution
view release on metacpan or search on metacpan
t/01_base.t view on Meta::CPAN
</html>
=== with doctype/xml
--- input
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//i-mode group (ja)//DTD XHTML i-XHTML(Locale/Ver.=ja/1.0) 1.0//EN" "i-xhtml_4ja_10.dtd">
<html>
<head>
<link rel="stylesheet" href="/css/foo.css" />
</head>
<body>
<div class="title">bar</div>
</body>
</html>
--- expected
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//i-mode group (ja)//DTD XHTML i-XHTML(Locale/Ver.=ja/1.0) 1.0//EN" "i-xhtml_4ja_10.dtd">
<html>
<head>
<link rel="stylesheet" href="/css/foo.css"/>
</head>
<body>
t/01_base.t view on Meta::CPAN
<body>
<div class="yes" style="color:white">bar</div>
</body>
</html>
=== XHTML name space
--- input
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//i-mode group (ja)//DTD XHTML i-XHTML(Locale/Ver.=ja/1.0) 1.0//EN" "i-xhtml_4ja_10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="stylesheet" href="/css/foo.css" />
</head>
<body>
<div class="title">bar</div>
</body>
</html>
--- expected
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//i-mode group (ja)//DTD XHTML i-XHTML(Locale/Ver.=ja/1.0) 1.0//EN" "i-xhtml_4ja_10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="stylesheet" href="/css/foo.css"/>
</head>
<body>
<div class="title" style="color:red">bar</div>
</body>
</html>
=== XHTML name space DTD default
--- input
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<link rel="stylesheet" href="/css/foo.css" />
</head>
<body>
<div class="title">bar</div>
</body>
</html>
--- expected
<?xml version="1.0" encoding="UTF-8"?>
<!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" />
<link rel="stylesheet" href="/css/foo.css" />
</head>
<body>
view all matches for this distribution
view release on metacpan or search on metacpan
lib/HTML/Doctype.pm view on Meta::CPAN
# we might want something different than \s and \S here
# but it is not clear to me what exactly we should expect
return $self->_type("HTML", $doct) unless $comp[2] =~ /^DTD\s+(\S+)/;
# the first token of the public text description must include
# the string "XHTML", see XHTML M12N section 3.1, and see also
# http://w3.org/mid/41584c61.156809450@smtp.bjoern.hoehrmann.de
return $self->_type("HTML", $doct) unless $1 =~ /XHTML/;
# otherwise considers this document XHTML
return $self->_type("XHTML", $doct)
view all matches for this distribution