RSS feeds for comments and Pagination
-
Hello all. I’m working on a 3rd party application that makes use of the RSS/Atom feeds of a certain WordPress blog to aggregate both posts and comments.
For posts, this is quite simple. I use the following format to get all the posts, as provided by Pagination:
https://example.com/feed?paged=2
The only other parameter I know of for this is
order=ASC
ororder=DESC
which I only found while pouring through /wp-includes/query.php.However! This
paged
parameter fails to work on comments feeds, which is limiting the functionality of my app.https://example.com/post_title/feed?paged=2
This just returns the same most recent 10 comments regardless of the parameter. I’ve tried variations which all fail to make any change. The only peculiarity is when using the
cpage
option, but that results in a 404 of all things. Everything also fails on/comments/feed
which is the feed for comments of any post.So I ask, is there any way to get different pages of a comments feed for a specific post? It works fine for going through the posts of a WordPress site but fails for comments, with the usual parameter having no effect.
The other problem is that the blog this app is targeted at is not run by me, so I can little say as to the modification or insertion of plugins or custom PHP code to change the behavior.
Does anyone have a solution to this? Is there a way besides RSS/Atom feeds to aggregate posts and/or comments for a WordPress blog? I’ve looked at XML-RPC but that requires authentication using a username/password which will not work. And JSON-like queries all requires plugins as well.
- The topic ‘RSS feeds for comments and Pagination’ is closed to new replies.