-
-
Notifications
You must be signed in to change notification settings - Fork 784
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support getting feeds from groups.google.com #2835
Comments
That's because if they wanted that to be detectable, they would have included something like this in the HTML: <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="https://groups.google.com/forum/feed/mozilla.announce/msgs/rss.xml"> It's a conscious decision by Google. Not a FreshRSS issue. See https://github.com/cn-tools/cntools_FreshRssExtensions/tree/master/xExtension-YouTubeChannel2RssFeed for a very simple way to work around Google. |
Indeed, that requires an extension. <?php
class GoogleGroupsExtension extends Minz_Extension {
public function init() {
$this->registerHook('check_url_before_add', array('GoogleGroupsExtension', 'findFeed'));
}
public static function findFeed($url) {
return preg_replace('%^(https://groups.google.com/forum)/#!forum/(.+)$%i', '$1/feed/$2/msgs/rss.xml', $url);
}
} Would you be able to submit a pull request, @C0rn3j ? |
I've just migrated from tt-rss today (still migrating) and completely unfamiliar with the code base, so am probably not the best person for the job |
#Fix FreshRSS#2835 Add ability to discover RSS feeds for Google Groups Based on FreshRSS#2837
Merged in our /master branch. Could you please give it a try, @C0rn3j ? |
Sadly I'm running off the stable releases, not git. I see that the 1.16.0 release the fix is in is marked for next week, so I'll happily test when that comes around if that's good enough. Thanks for a super quick fix! |
For example, I want to follow Firefox releases, which are on
https://groups.google.com/forum/#!forum/mozilla.announce
but FreshRSS doesn't seem to be able to translate this into
https://groups.google.com/forum/feed/mozilla.announce/msgs/rss.xml
The text was updated successfully, but these errors were encountered: