Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Welcome to Codidact Meta!

Codidact Meta is the meta-discussion site for the Codidact community network and the Codidact software. Whether you have bug reports or feature requests, support questions or rule discussions that touch the whole network – this is the site for you.

Comments on URLs in RSS feeds wrongly assume that all top-level posts are questions

Post

URLs in RSS feeds wrongly assume that all top-level posts are questions

+2
−0

With the recently added article post type (used to share recipes on Cooking), the URL to the post is /articles/nnnnn (where nnnnn is the post ID), or /ar instead of /articles for shorter links.

However, the category feed still uses /questions/nnnnn as the URL for each post.

The result is that the link shown in one's feed reader returns a "404 Not Found" error page when followed.

The category feeds should take the post type into consideration when generating the URL to the post, so that the link shown in the feed reader successfully takes the user to the post in question. (Assuming of course that it is still available.)

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.
Why should this post be closed?

1 comment thread

General comments (2 comments)
General comments
Monica Cellio‭ wrote over 4 years ago

I think they'll all need to change to "/posts". A category can support more than one post type, and anyway these things could change over time as a site's use of a category evolves, so we shouldn't baking that into the external interface. Missed this in testing/code review, sorry.

Canina‭ wrote over 4 years ago

@MonicaCellio I'm not particularly partial as to what exactly is in the URL, as long as it works for reaching the post.