|
|
When testing the script I am getting some errors:
rsslogger.rb:49:in `log_rss': undefined method `pubDate' for #<RSS::Atom::Feed::Entry:0x1042af7b0> (NoMethodError)
from <path>/lib/rsslogger.rb:48:in `each'
from <path>/lib/rsslogger.rb:48:in `log_rss'
from <path>/lib/rsslogger.rb:41:in `each'
from <path>/lib/rsslogger.rb:41:in `log_rss'
from slogger:52
Any idea on what goes wrong?
I'm not sure the RSS module in Ruby understands Atom… I'll check it out , in the meantime does your feed have an RSS/RSS2 alternative?
I had the same issues with atom feeds, so I tried the corresponding rss and got a different error: https://gist.github.com/3274644
It appears that feed doesn't have a content field, I assume it's an excerpt-only feed. Slogger checks the content field for post images, I'll just have it skip that part if it doesn't exist.
I ran the feed through FeedBurner to convert it to RSS2 and it now works fine.
Source: https://my.remarkbox.com/55ed5def-4208-11e9-9d31-040140774501
Snapshot: 2026-05-07T01:58:21Z
Generator: Remarkbox 763cacb