Skip to content
Sections
>> Trisquel >> 套件 >> nabia >> ruby >> ruby-truncato
etiona  ] [  nabia  ] [  aramo  ]
[ 原始碼: ruby-truncato  ]

套件: ruby-truncato (0.7.11-1)

tool for truncating HTML strings efficiently

Ruby tool for truncating HTML strings keeping a valid HTML markup.

Its main motivation was that existing libs couldn't truncate a multiple-MB document into a few-KB one in a reasonable time. It uses the Nokogiri SAX parser.

其他與 ruby-truncato 有關的套件

  • 依賴
  • 推薦
  • 建議
  • dep: ruby
    Interpreter of object-oriented scripting language Ruby (default version)
    或者 ruby-interpreter
    套件暫時不可用
  • dep: ruby-htmlentities (>= 4.3.1~)
    Ruby library for handling HTML entities
  • dep: ruby-nokogiri (>= 1.7~)
    HTML, XML, SAX, and Reader parser for Ruby

下載 ruby-truncato

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 6.2 kB32 kB [文件列表]