perl-Blatte-HTML-0.9-alt1.noarch.rpm


Advertisement

Description

perl-Blatte-HTML - tools for generating HTML with Blatte

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package name perl-Blatte-HTML
Package version 0.9
Package release alt1
Package architecture noarch
Package type rpm
Installed size 37.69 KB
Download size 37.69 KB
Official Mirror ftp.altlinux.org
This module defines Blatte functions corresponding to HTML tags,.making it possible to write Blatte that looks like this:
Here is a {\a \href=http://www.blatte.org/ link}
and can be translated to this:
Here is a <a href="http://www.blatte.org/">link</a>
The beauty is that you can use Blatte functions to encapsulate
repeated constructs.  For instance, this definition:
{\define {\mypagestyle \=name \&content}
{\html {\head {\title \name}}
{\body {\h1 \name} \content}}}
allows you to write
{\mypagestyle \name={A page I wrote} This is my page.}
which saves you from having to write:
<html><head><title>A page I wrote</title></head>
<body><h1>A page I wrote</h1>This is my page.</body></html>
End-tags are supplied automatically.  The module HTML::Tagset, by
Gisle Aas and Sean M. Burke, is used to identify HTML elements that
require no end-tag.
Paragraph tags (<p>) are also supplied automatically wherever a blank
line appears in the text.  For instance, this:
Here is some text.
Here is some more.
becomes this:
Here is some text.
<p>Here is some more.
This module tries hard to keep HTML element nesting correct.  For
instance, this:
Paragraph 1.
Paragraph 2 {\b with some bold text
continuing to paragraph 3}.
becomes this:
Paragraph 1.
<p>Paragraph 2 <b>with some bold text</b></p>
<p><b>continuing to paragraph 3</b>.
Entity-encoding is automatic too.  So this:
Five & dime
becomes this:
Five &amp; dime
It's possible to suppress automatic <p>-tag generation and entity-encoding by
writing:
{\html_p_no ...content...}
and
{\html_ent_no ...content...}
Inside an {\html_p_no ...} it's possible to reenable <p>-tag generation with
{\html_p_yes ...}, and inside {\html_ent_no ...} it's possible to reenable
entity encoding with {\html_ent_yes ...}.

Alternatives

Package Version Architecture Repository
perl-Blatte-HTML - - -

Requires

Name Value
/usr/share/perl5 -
perl(Blatte.pm) -
perl(HTML/Entities.pm) -
perl(HTML/Tagset.pm) -
perl(Symbol.pm) -
rpmlib(PayloadIsLzma) -

Provides

Name Value
perl(Blatte/HTML.pm) = 0.900
perl-Blatte-HTML = 0.9-alt1

Download

Type URL
Binary Package perl-Blatte-HTML-0.9-alt1.noarch.rpm
Source Package perl-Blatte-HTML-0.9-alt1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-Blatte-HTML rpm package:
    # sudo apt-get install perl-Blatte-HTML

Files

Path
/usr/share/doc/perl-Blatte-HTML-0.9/ChangeLog
/usr/share/doc/perl-Blatte-HTML-0.9/LICENSE
/usr/share/doc/perl-Blatte-HTML-0.9/README
/usr/share/doc/perl-Blatte-HTML-0.9/TODO
/usr/share/perl5/Blatte/HTML.pm

See Also

Package Description
perl-Blatte-HTML-scripts-0.9-alt1.noarch.rpm Blatte-HTML scripts
perl-Blatte-scripts-0.9.4-alt1.noarch.rpm Blatte scripts
perl-Blessed-Merge-0.05-alt1.noarch.rpm Merge Blessed Refs
perl-Blio-2.003-alt1.noarch.rpm domms blogging "engine"
perl-Blio-scripts-2.003-alt1.noarch.rpm Blio scripts
perl-Blitz-0.01-alt1.noarch.rpm Perl module for API access to Blitz
perl-Block-NamedVar-0.009-alt1.noarch.rpm Named variables for grep and map, for with multiple named list elements
perl-Blog-BlogML-Reader-1.03-alt1.noarch.rpm read data from a BlogML formatted document
perl-Blog-Blosxom-0.10-alt1.noarch.rpm A module version of the apparently inactive blosxom.cgi
perl-Blog-Simple-HTMLOnly-0.05-alt1.noarch.rpm Very simple weblog (blogger) with just Core modules
perl-Blog-Spam-1.0.2-alt1.noarch.rpm Test blog comments for SPAM, in real-time
perl-Blog-Spam-scripts-1.0.2-alt1.noarch.rpm Blog-Spam scripts
perl-Bloom-Scalable-0.01-alt1.noarch.rpm Implementation of the probalistic datastructure - ScalableBloomFilter
perl-Bloomd-Client-0.27-alt1.noarch.rpm Perl client to the bloomd server
perl-Blosxom-Debug-0.001-alt1.noarch.rpm a blosxom helper module and source filter to provide a
Advertisement
Advertisement