libhtml-truncate-perl_0.20-2_all.deb


Advertisement

Description

libhtml-truncate-perl - Perl module to truncate HTML by percentage or character count

Property Value
Distribution Debian 10 (Buster)
Repository Debian Main i386
Package filename libhtml-truncate-perl_0.20-2_all.deb
Package name libhtml-truncate-perl
Package version 0.20
Package release 2
Package architecture all
Package type deb
Category devel::lang:perl devel::library implemented-in::perl perl
Homepage https://metacpan.org/release/HTML-Truncate
License -
Maintainer Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
Download size 17.70 KB
Installed size 42.00 KB
When working with text it is common to want to truncate strings to make them
fit a desired context. E.g., you might have a menu that is only 100px wide and
prefer text doesn't wrap so you'd truncate it around 15-30 characters,
depending on preference and typeface size. This is trivial with plain text
using substr but with HTML it is somewhat difficult because whitespace has
fluid significance and open tags that are not properly closed destroy
well-formedness and can wreck an entire layout.
HTML::Truncate attempts to account for those two problems by padding truncation
for spacing and entities and closing any tags that remain open at the point of
truncation.

Alternatives

Package Version Architecture Repository
libhtml-truncate-perl_0.20-2_all.deb 0.20 all Debian Main
libhtml-truncate-perl - - -

Requires

Name Value
libhtml-parser-perl -
libhtml-tagset-perl -
perl -

Download

Type URL
Mirror ftp.br.debian.org
Binary Package libhtml-truncate-perl_0.20-2_all.deb
Source Package libhtml-truncate-perl

Install Howto

  1. Update the package index:
    # sudo apt-get update
  2. Install libhtml-truncate-perl deb package:
    # sudo apt-get install libhtml-truncate-perl

Files

Path
/usr/share/doc/libhtml-truncate-perl/changelog.Debian.gz
/usr/share/doc/libhtml-truncate-perl/changelog.gz
/usr/share/doc/libhtml-truncate-perl/copyright
/usr/share/man/man3/HTML::Truncate.3pm.gz
/usr/share/perl5/HTML/Truncate.pm

Changelog

2017-08-01 - Niko Tyni <ntyni@debian.org>
libhtml-truncate-perl (0.20-2) unstable; urgency=medium
* Team upload.
[ Salvatore Bonaccorso ]
* debian/control: Use HTTPS transport protocol for Vcs-Git URI
[ gregor herrmann ]
* debian/copyright: change Copyright-Format 1.0 URL to HTTPS.
[ Niko Tyni ]
* Prevent autopkgtest checks from recursing under t/
* Update to debhelper compatibility level 10
2015-10-30 - Lucas Kanashiro <kanashiro.duarte@gmail.com>
libhtml-truncate-perl (0.20-1) unstable; urgency=low
* Initial Release. (Closes: #803453)

See Also

Package Description
libhtml-widget-perl_1.11-5_all.deb HTML widget and validation framework
libhtml-widgets-navmenu-perl_1.0703-1_all.deb module for generating HTML navigation menus
libhtml-widgets-selectlayers-perl_0.07-3_all.deb Perl extension for selectable HTML layers
libhtml-wikiconverter-dokuwiki-perl_0.53-2_all.deb HTML to wiki markup converter - DokuWiki dialect
libhtml-wikiconverter-kwiki-perl_0.51-2_all.deb HTML to wiki markup converter - Kwiki dialect
libhtml-wikiconverter-markdown-perl_0.06-2_all.deb HTML to wiki markup converter - Markdown dialect
libhtml-wikiconverter-mediawiki-perl_0.59-2_all.deb Perl module to add MediaWiki markup support to HTML::WikiConverter
libhtml-wikiconverter-moinmoin-perl_0.54-1_all.deb HTML to wiki markup converter - MoinMoin dialect
libhtml-wikiconverter-oddmuse-perl_0.52-2_all.deb HTML to wiki markup converter - Oddmuse dialect
libhtml-wikiconverter-perl_0.68-3_all.deb HTML to wiki markup converter
libhtml-wikiconverter-phpwiki-perl_0.51-3_all.deb HTML to wiki markup converter - PhpWiki dialect
libhtml-wikiconverter-pmwiki-perl_0.51-2_all.deb HTML to wiki markup converter - PmWiki dialect
libhtml-wikiconverter-snipsnap-perl_0.50-2_all.deb HTML to wiki markup converter - SnipSnap dialect
libhtml-wikiconverter-tikiwiki-perl_0.50-2_all.deb HTML to wiki markup converter - TikiWiki dialect
libhtml-wikiconverter-usemod-perl_0.50-3_all.deb HTML to wiki markup converter - UseMod dialect
Advertisement
Advertisement