|
|
Thought I would get cute and run my RSS feeds for my Instapaper and Pinboard accounts through this. However, got the following in Terminal when I tried to run Slogger.
With Pinboard RSS:
/Users/ronn/Documents/Slogger/lib/rsslogger.rb:49:in
log_rss': undefined methodpubDate' for #
(NoMethodError)
from /Users/ronn/Documents/Slogger/lib/rsslogger.rb:48:in
each'
from /Users/ronn/Documents/Slogger/lib/rsslogger.rb:48:inlog_rss'
from /Users/ronn/Documents/Slogger/lib/rsslogger.rb:41:in
each'
from /Users/ronn/Documents/Slogger/lib/rsslogger.rb:41:inlog_rss'
from slogger:52
With Instapaper RSS:
/Users/ronn/Documents/Slogger/lib/rsslogger.rb:52:in
log_rss': undefined methodmatch' for nil:NilClass
(NoMethodError)
from /Users/ronn/Documents/Slogger/lib/rsslogger.rb:48:in
each'
from /Users/ronn/Documents/Slogger/lib/rsslogger.rb:48:inlog_rss'
from /Users/ronn/Documents/Slogger/lib/rsslogger.rb:41:in
each'
from /Users/ronn/Documents/Slogger/lib/rsslogger.rb:41:inlog_rss'
from slogger:52
I know the RSS links were valid as I added them to my Google Reeder account and they worked fine there.
Yeah, I set it up to look for a content.encoded field without adding an error check. Fixed in the next version, but if you look for the line (in rsslogger.rb):
image_match = item.content_encoded.match(/src="(http:.*?\.(jpg|png)(\?.*?)?)"/i)
And change "content_encoded" to "description", should clear up the problem.
Change "content_encoded" (item.content_encoded.match) in line 52 of rsslogger.rb to "description" (item.description.match), as directed.
Getting closer...
When I try and import the Instapaper RSS, I can get one link in and see the following in Terminal:
Error expanding http://mattgemmell.com/2012...
Can't get anything when using the Pinboard RSS. Get the following in Terminal:
/Users/ronn/Documents/Slogger/lib/rsslogger.rb:49:in
log_rss': undefined methodpubDate' for #
(NoMethodError)
from /Users/ronn/Documents/Slogger/lib/rsslogger.rb:48:in
each'
from /Users/ronn/Documents/Slogger/lib/rsslogger.rb:48:inlog_rss'
from /Users/ronn/Documents/Slogger/lib/rsslogger.rb:41:in
each'
from /Users/ronn/Documents/Slogger/lib/rsslogger.rb:41:inlog_rss'
from slogger:52
When I run the two RSS feeds together, I get these combined:
Error expanding http://mattgemmell.com/2012...
/Users/ronn/Documents/Slogger/lib/rsslogger.rb:49:in
log_rss': undefined methodpubDate' for #
(NoMethodError)
from /Users/ronn/Documents/Slogger/lib/rsslogger.rb:48:in
each'
from /Users/ronn/Documents/Slogger/lib/rsslogger.rb:48:inlog_rss'
from /Users/ronn/Documents/Slogger/lib/rsslogger.rb:41:in
each'
from /Users/ronn/Documents/Slogger/lib/rsslogger.rb:41:inlog_rss'
from slogger:52
Okay...
Here is my fix for this for now...
I took the Instapaper and Pinboard feeds and ran them through Tweetfeed and then to a Twitter account that I set up so that I could send my RunKeeper stats to it (as RunKeeper doesn't have a way to RSS your stats). To each of the feeds, I added the suffix, Instapaper or Pinboard, respectively, so that I could have that as a search term.
Source: https://my.remarkbox.com/55ed5e06-4208-11e9-9d31-040140774501
Snapshot: 2026-05-07T01:58:24Z
Generator: Remarkbox 763cacb