|
|
Another issue with Slogger. On your blog entry introducing Slogger, you show this in your config if you have multiple RSS feeds:
rss_feeds: [ http://feeds.feedburner.com/BrettTerpstra
http://www.tuaw.com/editor/brett-terpstra/rss.xml ]
So I did this in my config:
rss_feeds: [ http://www.chainsawonatireswing.com/feed/
http://blog.granneman.com/feed/ ]
I know both feeds work. However, when I run Slogger, I get this:
$ ruby slogger
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/yaml.rb:133:in `load': syntax error on line 8, col 35: ` http://blog.granneman.com/feed/ ]' (ArgumentError)
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/yaml.rb:133:in `load'
from /Users/rsgranne/bin/Slogger/lib/configtools.rb:9:in `load_config'
from /Users/rsgranne/bin/Slogger/lib/configtools.rb:9:in `open'
from /Users/rsgranne/bin/Slogger/lib/configtools.rb:9:in `load_config'
from slogger:28
I'm not sure why it fails.
Looks like you need a comma (,) after the first feed.
Well, yes, except that Brett's example does NOT have a comma after the first feed.
Yes it does
Then I must be blind. When I look at Brett's sample config above, there is no comma after the first feed.
I swear this image is unedited.
<img src="http://ckyp.us/DYq8+" alt="comma"/>
@Scott - The example in your comment certainly does not have a comma in it, but the example in the original post does.
You might just try it with the comma in there and see if it doesn't work. :-)
I eventually used the comma, & yes it worked. But I swear that when I look at the page in Chrome, there's no comma. See?
That's a screenshot from my MBP of the config in Chrome. When I look at the same page in other browsers, I see the flippin' comma! Weird!
Dang it - the screenshot didn't show up ... & I used Markdown. OK, here's a link: http://ftp.granneman.com/sl...
I'm really not an idiot. I write books 'n teach 'n stuff!
Just so we're both sure we're not crazy, it looks like there's some syntax highlighting in your screenshot. Is that from a plugin or something on my site? I'm wondering if a syntax highlighter might have obscured the comma somehow...
Source: https://my.remarkbox.com/55ed5e23-4208-11e9-9d31-040140774501
Snapshot: 2026-05-07T02:55:59Z
Generator: Remarkbox 763cacb