Project

General

Profile

Actions

tickets #63967

closed

news.o.o: changed feed location - please setup redirects

Added by cboltz about 4 years ago. Updated almost 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Servers hosted in NBG
Target version:
-
Start date:
2020-02-28
Due date:
% Done:

100%

Estimated time:

Description

The new news.o.o looks great, but unfortunately it has a different URL for the RSS feed than the old wordpress, which causes breakage in feed readers.

Historically, the wordpress RSS feed had two valid locations:

http://news.opensuse.org/?feed=rss2   (from my feedreader)
https://news.opensuse.org/feed/       (from planet.o.o config)

Please setup redirects (in nginx or haproxy) for these two locations ASAP.

Actions #1

Updated by cboltz about 4 years ago

  • Private changed from Yes to No
Actions #2

Updated by hellcp about 4 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 50

I dealt with /feed/ in jekyll via https://github.com/openSUSE/news-o-o/commit/09b89f567b3cc535ce651c8218b381fdaa09c7f2 and https://gitlab.infra.opensuse.org/infra/salt/-/merge_requests/352 should fix /?feed=rss2 (as long as I actually did this correctly)

Actions #3

Updated by lrupp about 4 years ago

  • Category set to Servers hosted in NBG
Actions #4

Updated by cboltz about 4 years ago

I found the solution for ?feed=rss2, based on https://www.nascenia.com/nginx-url-redirection/

    if ($args ~* "feed=rss2") {
        set $args "";
        rewrite ^.*$ /feed.xml redirect;
    }   

It's already in the hand-tuned config on jekyll.i.o.o, and works.

Please also addit to your MR ;-)

Actions #5

Updated by hellcp almost 4 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 50 to 100
Actions

Also available in: Atom PDF