Opened 4 years ago
Closed 3 years ago
#9630 closed defect (bug) (worksforme)
Comments RSS feed from a specific category with CAT ID... Broken in 2.7
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | |
| Component: | Feeds | Version: | 2.7 |
| Severity: | normal | Keywords: | reporter-feedback |
| Cc: | tntc1978 |
Description
I described the problem here :
http://wordpress.org/support/topic/264654?replies=1
Long story short : trying to get the COMMENTS RSS feed from a category doesn't work since I upgraded to 2.7
wathever.com/?cat=XX&feed=rss2&withcomments=1
This link leads to a "not found".
I didn't have answer on the forum where I asked people to test it in their installation, so I submit here to see if you can reproduce the problem.
For instance, while asking google god about this problem, I found the Ryan Boren's Blog whom explain the "feed everywhere" feature for wordpress 2.2 wich include the possibility to get the comments feed from a category:
http://boren.nu/archives/2007/02/25/in-the-trunk-2/
But, If I follow the link on his page, it leads to a "page not found"... The same problem that I have... :
http://boren.nu/archives/category/wordpress/comments/feed/?withcomments=1
If it's not a bug, just tell me where I'm wrong and close this ticket.
Thanks.
S.
courrier@…
Change History (15)
- Keywords needs-patch added
- Milestone changed from Unassigned to 2.8
- Keywords reporter-feedback added; needs-patch removed
- Resolution set to worksforme
- Status changed from new to closed
- Milestone 2.8 deleted
- Priority changed from normal to low
- Resolution worksforme deleted
- Status changed from closed to reopened
- Summary changed from Comments RSS feed from a specific category... Broken in 2.7 to Comments RSS feed from a specific category with CAT ID... Broken in 2.7
Of course I checked with a category that actually exist. On many installation.
Maybe I wasn't clear enough... The XX should work with the cat ID ... At least, it did before my upgrade to 2.7...
Here is a live example :
This, like you found (thanks by the way) works :
http://bangbangblog.com/?cat=chroniques&feed=rss2&withcomments=1
But this doesn't :
http://bangbangblog.com/?cat=10001&feed=rss2&withcomments=1
"10001" is the ID of "chroniques"...
And this also works :
http://bangbangblog.com/comments/feed/?cat=chroniques&withcomments=1
And this also doesn't work :
http://bangbangblog.com/comments/feed/?cat=10001&withcomments=1
I changed the title to include the ID issue, changed priority to low and reopened.
I Don't want to sound too fancy, but something seems really broken when you try to use the Cat ID... Will have pretty long url if my category name is something like :"the-pros-and-cons-about-heidegger-metaphyisic"...
;-)
S.
Yeah, I tested that with slugs and with the numerical ID value. I tested that against 2.8 trunk and it works. maybe you need to rebuild permalinks. in my test, the browser was redirected (category is "cat-1" with id 3):
the request
http://192.168.2.106/wordpress-trunk/?cat=3&feed=rss2&withcomments=1
gets redirected to
http://192.168.2.106/wordpress-trunk/category/cat-1/comments/feed/?withcomments=1
are you experiencing this problem with wp 2.7 or wp 2.7.1?
Have this problem with Wordpress 2.7, as stated in the ticket.
I'll try the permalink rebuild right now.
S.
is updating to wp 2.7.1 not an option?
additionally i'm encountering now problems as well. not found messages and listing of posts in a category feed that are not part of the category.
all looks ok for me after rebuilding permalinks myself again but not the link withcomments.
http://192.168.2.106/wordpress-trunk/?cat=3&feed=rss2 - works
http://192.168.2.106/wordpress-trunk/?cat=3&feed=rss2&withcomments=1 - does not work
Hum. Rebuilding the permalinks give a strange issue... With the cat ID The page is indeed found, but in firefox it displays no comments, although they are visible in the source...
http://bangbangblog.com/?cat=10001&feed=rss2&withcomments=1
I have the same issue on a dev install, with no permalinks at all. Page found, no output, but comments visible in the source... :
http://www.koolos.com/WP_DEV/?cat=9&feed=rss2&withcomments=1
I'll see if upgrade solve this issue.
S.
- Milestone set to 2.8
- Milestone 2.8 deleted
- Resolution set to worksforme
- Status changed from reopened to closed
definitely working in trunk... please re-open with a test case to reproduce, if it's not on your end.
comment:12
hakre — 4 years ago
just checked today against trunk again. works here as well now, even the case that did not 2 weeks ago.
comment:13
tntc1978 — 3 years ago
- Cc tntc1978 added
- Resolution worksforme deleted
- Status changed from closed to reopened
I think this bug has snug into core somehow again. In the examples below, I'm using a category called example with ID 23.
http://yoursite.com/?cat=example&feed=rss2&withcomments=1
redirects to:
http://yoursite.com/comments/feed/?cat=example&withcomments=1
and shows all comments on the site.
http://yoursite.com/?cat=23&feed=rss2&withcomments=1
redirects to:
http://yoursite.com/permalink-for-category/example/comments/feed/?withcomments=1
and gives me a 404 message
comment:14
greenshady — 3 years ago
I've tested every configuration mentioned in this ticket and either get the full comments feed or a 404 while running version 2.9.2.
comment:15
nacin — 3 years ago
- Resolution set to worksforme
- Status changed from reopened to closed

I get a 404 / File not found if the Category (XX in your Example) does not exists.
I get a 200 if it exists.
For Example, the URL in my Testsystem for getting the RSS2 Feed of Categroy "Cat 1" is:
http://example.com/?cat=cat%201&feed=rss2&withcomments=1
This does work for me. Have you checked that the category you request acuallty exists? Don't feel offended, until you provide more feedback I close this ticket as "works for me". You can re-open it any time if you like.