The module returns the ESS and has 2 arguments:
- The link to the RSS or Atom feed described.
- An array of objects formatted like this:
[
{ pubDate: 1503674340000, title: "hello world"},
{ pubDate: 1503674220000, title: "foo" },
{ pubDate: 1503674160000, title: "bar" }
]
install with:
npm i -S gist:341a0d1897e47b57af39fd0a2a06b718
ESS is a very compact description of an RSS or Atom site feed.
It is structured like this:
buildTime, feedUrl,
minutesBeforeBuild, titleDumbChecksum,
minutesBeforeBuild, titleDumbChecksum,
minutesBeforeBuild, titleDumbChecksum,
minutesBeforeBuild, titleDumbChecksum
Where:
buildTime = The build time of the ESS in seconds (rounded down to be divisable by 60)
feedUrl = A link to the RSS or Atom feed described by the ESS
minutesBeforeBuild = The publication date in minutes before buildTime
titleDumbChecksum = A checksum in case the feed has multiple publications sharing the same date
Read more about ESS and NNO (No Nonsense Outline) here: