HTML-GenToc

 view release on metacpan or  search on metacpan

OldChanges  view on Meta::CPAN

	- added --help and --manpage options

0.3  Fri 1st Mar 2002
---------------------
	- added --notoc_match option to suppress ToC for individual tags

0.2  Sat 23rd Feb 2002
----------------------
	- added README file
	- updated documentation
	- made the generated ToC more XHTML compliant
	- changed tests slightly

0.1  Mon 28th Jan 2002
----------------------
	- conversion of htmltoc to a module
	- use HTML::SimpleParse to parse the HTML
	- split the ToC generation into two phases; generate_anchors
and generate_toc
	- expanded the --inline option to place the ToC after the first
instance of any tag, or to replace a given tag

tfiles/good_test2_anch.html  view on Meta::CPAN

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//ENi" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>The Title</title>
<link rel="stylesheet" type="text/css" href="styles/common.css" />
<link rel="stylesheet" type="text/css" href="styles/navbar.css" />
<link rel="stylesheet" type="text/css" href="styles/default.css" />
<link rel="stylesheet" type="text/css" href="defimg.css" />
<link rel="icon" href="images/catico1.png" TYPE="image/png" />
<meta name="title" content="The Title"></meta>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></meta>

tfiles/good_test2_toc.html  view on Meta::CPAN

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//ENi" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>The Title</title>
<link rel="stylesheet" type="text/css" href="styles/common.css" />
<link rel="stylesheet" type="text/css" href="styles/navbar.css" />
<link rel="stylesheet" type="text/css" href="styles/default.css" />
<link rel="stylesheet" type="text/css" href="defimg.css" />
<link rel="icon" href="images/catico1.png" TYPE="image/png" />
<meta name="title" content="The Title"></meta>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></meta>

tfiles/good_test2a_anch.html  view on Meta::CPAN

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//ENi" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>The Title</title>
<link rel="stylesheet" type="text/css" href="styles/common.css" />
<link rel="stylesheet" type="text/css" href="styles/navbar.css" />
<link rel="stylesheet" type="text/css" href="styles/default.css" />
<link rel="stylesheet" type="text/css" href="defimg.css" />
<link rel="icon" href="images/catico1.png" TYPE="image/png" />
<meta name="title" content="The Title"></meta>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></meta>

tfiles/good_test2a_toc.html  view on Meta::CPAN

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//ENi" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>The Title</title>
<link rel="stylesheet" type="text/css" href="styles/common.css" />
<link rel="stylesheet" type="text/css" href="styles/navbar.css" />
<link rel="stylesheet" type="text/css" href="styles/default.css" />
<link rel="stylesheet" type="text/css" href="defimg.css" />
<link rel="icon" href="images/catico1.png" TYPE="image/png" />
<meta name="title" content="The Title"></meta>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></meta>

tfiles/good_test4_anch.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>Wow</title>
<meta name="generator" content="HTML::TextToHTML v2.30"/>
</head>
<body>
<h1>Wow</h1>

<h2><a name="Authors">Authors</a></h2>

tfiles/good_test4a_anch.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>Wow</title>
<meta name="generator" content="HTML::TextToHTML v2.30"/>
</head>
<body>
<h1>Wow</h1>

<h2><a name="Authors">Authors</a></h2>

tfiles/good_test7a.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>Out of Death Was I Born...</title>
</head>
<body>
<h1 id='Out_of_Death_Was_I_Born...'>Out of Death Was I Born...</h1>
<h2 id='The_Blake.27s_7_crew_in_a_Sime.7EGen_universe'>The Blake's 7 crew in a Sime~Gen universe</h2>
<p>It all began with a typo.</p>
<dl>

tfiles/test2.html  view on Meta::CPAN

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//ENi" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>The Title</title>
<link rel="stylesheet" type="text/css" href="styles/common.css" />
<link rel="stylesheet" type="text/css" href="styles/navbar.css" />
<link rel="stylesheet" type="text/css" href="styles/default.css" />
<link rel="stylesheet" type="text/css" href="defimg.css" />
<link rel="icon" href="images/catico1.png" TYPE="image/png" />
<meta name="title" content="The Title"></meta>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></meta>

tfiles/test4.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>Wow</title>
<meta name="generator" content="HTML::TextToHTML v2.30"/>
</head>
<body>
<h1>Wow</h1>

<h2>Authors</h2>

tfiles/test5.php  view on Meta::CPAN

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<?php 
    $myDir = "reviews/netfic";
    $relTopDir = "../..";
    $absTopDir = "/files/home_common/kat/kat_web/katspace";
    $sourceFile = "report.xhtm";
    $destFile = "report.tmpl";
    $destExt = "php";
    ?><html >
<!-- global default variables -->

tfiles/test7.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>Out of Death Was I Born...</title>
</head>
<body>
<h1>Out of Death Was I Born...</h1>
<h2>The Blake's 7 crew in a Sime~Gen universe</h2>
<p>It all began with a typo.</p>
<dl>



( run in 0.747 second using v1.01-cache-2.11-cpan-49f99fa48dc )