Class: Rssly::Serializers::HTML
- Inherits:
-
Text
- Object
- Serializer
- Text
- Rssly::Serializers::HTML
- Defined in:
- lib/rssly/serializers.rb
Overview
Transforms a collection into a html representation
Constant Summary collapse
- ARTICLE_TEMPLATE =
<<-EOT <article> <h1 class="title">%{title}</h1> <date>%{published}</date> <p>%{summary}</p> <a class="read more" href="%{url}"> Read on. </a> </article> EOT
Method Summary
Methods inherited from Text
Methods inherited from Serializer
Constructor Details
This class inherits a constructor from Rssly::Serializers::Serializer