Пакет: libhtml-truncate-perl (0.20-3)
Ссылки для libhtml-truncate-perl
Ресурсы Debian:
- Сообщения об ошибках
- Developer Information
- Debian журнал изменений
- Файл авторских прав
- Отслеживание заплат Debian
Исходный код libhtml-truncate-perl:
- [libhtml-truncate-perl_0.20-3.dsc]
- [libhtml-truncate-perl_0.20.orig.tar.gz]
- [libhtml-truncate-perl_0.20-3.debian.tar.xz]
Сопровождающие:
Внешние ресурсы:
- Сайт [metacpan.org]
Подобные пакеты:
Perl module to truncate HTML by percentage or character count
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.
Другие пакеты, относящиеся к libhtml-truncate-perl
|
|
|
|
-
- dep: libhtml-parser-perl
- набор модулей для разбора текстовых документов HTML
-
- dep: libhtml-tagset-perl
- data tables pertaining to HTML
-
- dep: perl
- практический язык Ларри Уолла для извлечения данных и составления отчётов
Загрузка libhtml-truncate-perl
Архитектура | Размер пакета | В установленном виде | Файлы |
---|---|---|---|
all | 18,1 Кб | 42,0 Кб | [список файлов] |