As requested, attached is a plugin I quickly threw together to allow TT-RSS to generate an Atom feed internally for the new (Jan. 9/17) GoComics site. (Apparently supporting RSS is too much of a burden for them.)
This plugin is based on the previous feed URLs I used at feedburner and it works for the comics I subscribe to. You should be able to modify it to suit your needs, or just reply for help.
Make GoComics work again plugin
-
- Bear Rating Overlord
- Posts: 373
- Joined: 20 Aug 2013, 23:13
Make GoComics work again plugin
Last edited by JustAMacUser on 14 Jan 2017, 22:07, edited 1 time in total.
-
- Bear Rating Overlord
- Posts: 373
- Joined: 20 Aug 2013, 23:13
Re: Make GoComics work again plugin
Updated to fix a stupid mistake that caused the plugin handle every feed. Sorry for the trouble.
- Attachments
-
- ff_gocomics-1_1.zip
- (1.43 KiB) Downloaded 277 times
-
- Bear Rating Trainee
- Posts: 31
- Joined: 28 Mar 2013, 09:49
Re: Make GoComics work again plugin
Works great! One side note. Some of my GoComics feeds were using http://feedproxy.google.com/uclick/<mumble> instead of http://feeds.feedburner.com/uclick/<mumble>, so I had to edit them via the UI, and then the magic happened.
Thanks!
Thanks!
-
- Bear Rating Trainee
- Posts: 37
- Joined: 12 Apr 2013, 15:07
Re: Make GoComics work again plugin
I'm getting a 1-day delay on comics. The date is right but the image is from the day before.
It was scraped yesterday at 22:58 local (03:58 UTC). Any other info that could help debug?
![Image](http://i.imgur.com/SWoU63L.png)
It was scraped yesterday at 22:58 local (03:58 UTC). Any other info that could help debug?
![Image](http://i.imgur.com/SWoU63L.png)
-
- Bear Rating Overlord
- Posts: 373
- Joined: 20 Aug 2013, 23:13
Re: Make GoComics work again plugin
Yeah, it's a known issue because GoComics redirects 404s for specific (i.e. future) comic pages back to the default (e.g. /garfield/2017/01/18 becomes /garfield).
This plugin is actually a subset of a much larger plugin I use to filter a bunch of stuff. In that plugin I have a custom curl wrapper that disables redirects for this. I might need to bring that function into the plugin, but I don't know if I'll get to it today. Maybe tomorrow? I'll post back when it's done.
This plugin is actually a subset of a much larger plugin I use to filter a bunch of stuff. In that plugin I have a custom curl wrapper that disables redirects for this. I might need to bring that function into the plugin, but I don't know if I'll get to it today. Maybe tomorrow? I'll post back when it's done.
- fox
- ^ me reading your posts ^
- Posts: 6318
- Joined: 27 Aug 2005, 22:53
- Location: Saint-Petersburg, Russia
- Contact:
Re: Make GoComics work again plugin
if you can rework it into a af_comics filter i can merge it into trunk
-
- Bear Rating Overlord
- Posts: 373
- Joined: 20 Aug 2013, 23:13
Re: Make GoComics work again plugin
The whole plugin?
- fox
- ^ me reading your posts ^
- Posts: 6318
- Joined: 27 Aug 2005, 22:53
- Location: Saint-Petersburg, Russia
- Contact:
Re: Make GoComics work again plugin
well i think af_comics already has a currently non-functioning embedder for gocomics (i think) so we might as well replace it with something that works
that is if it's possible
that is if it's possible
-
- Bear Rating Overlord
- Posts: 373
- Joined: 20 Aug 2013, 23:13
Re: Make GoComics work again plugin
No problem. I'll integrate the code to make it all work and submit a merge request.
-
- Bear Rating Overlord
- Posts: 373
- Joined: 20 Aug 2013, 23:13
Re: Make GoComics work again plugin
This has been integrated into the af_comics plugin as of fa287f6b. Please use that instead.
(disconn3ct, the af_comics update should fix the issue you described.)
(disconn3ct, the af_comics update should fix the issue you described.)
- fox
- ^ me reading your posts ^
- Posts: 6318
- Joined: 27 Aug 2005, 22:53
- Location: Saint-Petersburg, Russia
- Contact:
Re: Make GoComics work again plugin
since the feeds are no longer available i think it would be cool to mention the subscription URL somewhere so that new people would know what to use
i dunno if it's worth placing someplace in the UI tho, maybe here
i dunno if it's worth placing someplace in the UI tho, maybe here
-
- Bear Rating Overlord
- Posts: 373
- Joined: 20 Aug 2013, 23:13
Re: Make GoComics work again plugin
UI would work since the plugin already adds a preference page listing supported comics. I'll add this to my to do list for later today.
Re: Make GoComics work again plugin
Thank you for making this happen JustAMacUser
One request (I am not a PHP guy so I maybe wrong here):
https://feeds.feedburner.com/uclick/calvinandhobbes works as intented while https://feeds.feedburner.com/uclick/pho ... er-unicorn does not
Could it be that the "-" signs are missing in regexp in init.php line 82
if (preg_match('#^https?://feeds.feedburner.com/uclick/([a-z]+)#', $fetch_url, $comic)) {....
As said I be wrong here though
Josef
One request (I am not a PHP guy so I maybe wrong here):
https://feeds.feedburner.com/uclick/calvinandhobbes works as intented while https://feeds.feedburner.com/uclick/pho ... er-unicorn does not
Could it be that the "-" signs are missing in regexp in init.php line 82
if (preg_match('#^https?://feeds.feedburner.com/uclick/([a-z]+)#', $fetch_url, $comic)) {....
As said I be wrong here though
Josef
-
- Bear Rating Overlord
- Posts: 373
- Joined: 20 Aug 2013, 23:13
Re: Make GoComics work again plugin
Yup, you're right. I'll submit a patch to fix that.
Re: Make GoComics work again plugin
Thanks
Josef
Josef
Return to “Themes and plugins”
Who is online
Users browsing this forum: No registered users and 1 guest