Page 1 of 2

xkcd "What If?" feed not working properly

Posted: 07 Aug 2013, 18:55
by HunterZ
tt-rss 1.9 doesn't show the xkcd "What If?" feed ( http://what-if.xkcd.com/feed.atom ) as having any posts newer than "Random Sneeze Call".

Searching this forum turned up a comment by fox 5 months ago that maybe the feed uses some html5 "article" doodad that tt-rss doesn't (yet?) understand. Is this still what's tripping up tt-rss, or is there something new that's gumming things up?

Thanks.

Re: xkcd "What If?" feed not working properly

Posted: 07 Aug 2013, 19:18
by fox
His feed is bad and he should feel bad.

Code: Select all

naboo:~:% GET http://what-if.xkcd.com/feed.atom | grep '<id>'
    <id>http://what-if.xkcd.com/feed.atom</id>
    <id>http://what-if.xkcd.com</id>
    <id>http://what-if.xkcd.com</id>
    <id>http://what-if.xkcd.com</id>

Re: xkcd "What If?" feed not working properly

Posted: 07 Aug 2013, 19:31
by Paulchen
There are already threads on XKCD's forums where people complain about the feed being broken, e.g


Unfortunately, nobody who is responsible seems to care about that.

Re: xkcd "What If?" feed not working properly

Posted: 07 Aug 2013, 19:41
by HunterZ
fox & Paulchen:

Thanks. I dug up the xkcd site admin email address from the site's about page and sent those thread links.

Re: xkcd "What If?" feed not working properly

Posted: 07 Aug 2013, 20:16
by lotrfan
For now (hopefully the feed does get fixed), [1] is the plugin I use to (sort-of) clean up the feed. It's really hacky, but it works :)

[1] https://github.com/lotrfan/ttrss_af_whatif

Re: xkcd "What If?" feed not working properly

Posted: 07 Aug 2013, 20:29
by HunterZ
Thanks. I've stopped using non-default plugins, though; it seems that you have to migrate them manually after a tt-rss version upgrade, and that's a bit of a pain.

Re: xkcd "What If?" feed not working properly

Posted: 07 Aug 2013, 22:10
by craywolf
lotrfan wrote:https://github.com/lotrfan/ttrss_af_whatif


Thanks for this. I'd forgotten I was even subscribed to What If, didn't realize I'd missed three articles.

You've got a blank line at the bottom of init.php and it's causing extraneous output when the cron updater runs. I've sent you a pull request to fix it.

Re: xkcd "What If?" feed not working properly

Posted: 07 Aug 2013, 23:14
by nevergrownup
Thanks for the link to that plugin. Was just contemplating writing my own, but this saves the effort.

re: manually migrating plugins. I setup my ttrss instance to be deployed with a Capistrano deploy script so it automatically migrates my plugins, makes sure caches are cleared, and lets me roll back to the previous revision if anything goes completely sideways. If anybody else has used Capistrano and is interested I can try to clean up the script a bit and post it for others. Capistrano is a Ruby gem so you'll have to get a Ruby stack running before you can deploy with it.

Re: xkcd "What If?" feed not working properly

Posted: 07 Aug 2013, 23:37
by HunterZ
Thanks, but that would be overkill. It's already occurred to me that I could modify my cron job shell script to "redeploy" plugins when it detects that they're no longer in the tt-rss directory tree. I would just need time and motivation, which are both lacking at the moment.

Re: xkcd "What If?" feed not working properly

Posted: 07 Aug 2013, 23:44
by sleeper_service
HunterZ wrote:Thanks. I've stopped using non-default plugins, though; it seems that you have to migrate them manually after a tt-rss version upgrade, and that's a bit of a pain.


"I see your solution, and I reject it out of lazyness"

Re: xkcd "What If?" feed not working properly

Posted: 07 Aug 2013, 23:46
by fox
The easiest way would be using git tbh.

Re: xkcd "What If?" feed not working properly

Posted: 08 Aug 2013, 00:17
by nevergrownup
Capistrano is a bit overkill in this instance, but I was bored one evening and wanted a super simple rollback method and system to clean caches, restart my ttrss service, etc. I already use Capistrano for other projects and it deploys directly from the git repo. Turns a multi-step update into "git pull", "cap deploy"

Sometimes being lazy is hard work.

Re: xkcd "What If?" feed not working properly

Posted: 08 Aug 2013, 01:00
by HunterZ
sleeper_service wrote:
HunterZ wrote:Thanks. I've stopped using non-default plugins, though; it seems that you have to migrate them manually after a tt-rss version upgrade, and that's a bit of a pain.


"I see your solution, and I reject it out of lazyness"

Unabashedly, sir.

I still appreciated the heads-up about the plugin, though.

Re: xkcd "What If?" feed not working properly

Posted: 20 Aug 2013, 12:25
by pahles
The feed seems to be working again! I have 5 entries at least since this morning.

Re: xkcd "What If?" feed not working properly

Posted: 20 Aug 2013, 17:42
by drixtol
I'll second that, seems like everything from the past month showed up, makes me happy :D