Module FeedNormalizer::ElementCleaner
In: lib/structures.rb

Methods

clean!  

Public Instance methods

Recursively cleans all elements in place.

Only allow tags in whitelist. Always parse the html with a parser and delete all tags that arent on the list.

For feed elements that can contain HTML:

  • feed.(title|description)
  • feed.entries[n].(title|description|content)

[Validate]