Class: ReadyForI18N::HtmlTextExtractor

Inherits:
Object
  • Object
show all
Includes:
ExtractorBase
Defined in:
lib/html_text_extractor.rb

Direct Known Subclasses

HtmlAttrExtractor

Constant Summary collapse

SKIP_TAGS =
[[/<script/i,/<\/script>/i],[/<%/,/%>/],[/<style/i,/\/style>/i]]
SKIP_INLINE_TAG =
[/<script>(.*?)<\/script>/i,/<%(.*?)%>/,/<(.*?)>/,/<(.*)$/,/^(.*)>/,/&nbsp;/]
SEPERATOR =
'_@@@_'

Method Summary

Methods included from ExtractorBase

#can_replace?, #extract, key_mapper, key_mapper=, #t_method, #to_key, use_dot, use_dot?