Module: Html2rss::SST

Defined in:
lib/html2rss/sst.rb,
lib/html2rss/sst/node.rb,
lib/html2rss/sst/tags.rb,
lib/html2rss/sst/text.rb,
lib/html2rss/sst/attrs.rb,
lib/html2rss/sst/index.rb,
lib/html2rss/sst/document.rb,
lib/html2rss/sst/normalizer.rb

Overview

Simplified Semantic Tree namespace for the heuristic auto-source pipeline.

Defined Under Namespace

Modules: AttrDefaults, Tags, Text Classes: Attrs, Document, Index, Node, Normalizer

Constant Summary collapse

EMPTY_ATTRS =

Shared empty Attrs instance for nodes without attributes.

Attrs.new(
  href: nil, src: nil, id: nil, class_names: AttrDefaults::EMPTY_CLASS_NAMES, datetime: nil,
  itemprop: nil, style: nil, srcset: nil, type: nil, raw: AttrDefaults::EMPTY_RAW
).freeze