[wp-meta] [Making WordPress.org] #6719: RSS feed endpoint for user replies are empty

Making WordPress.org noreply at wordpress.org
Fri Jan 27 14:40:37 UTC 2023


#6719: RSS feed endpoint for user replies are empty
-----------------------------+---------------------
 Reporter:  champsupertramp  |       Owner:  (none)
     Type:  enhancement      |      Status:  new
 Priority:  normal           |   Milestone:
Component:  Support Forums   |  Resolution:
 Keywords:  needs-patch      |
-----------------------------+---------------------
Description changed by Otto42:

Old description:

> If the RSS feed for user replies is empty, why does the endpoint still
> exist?
>
> Quoting what @Otto's response via slack:
>
> > All endpoints always exist. That's just how the feed endpoints work in
> WordPress. (edited)
> > The feed isn't "disabled" for replies. That would imply it was
> intentional or done by design. No, the replies list is just not written
> in such a way as to have the feed apply to it.
> > In WordPress whenever you have a feed it always applies to the main
> query of the page. For example, if you look at a tag archive. The main
> query returns the list of posts that have a tag. The feed therefore is
> just another way of looking at that page. It generates from the main
> query only.
> > Whoever wrote that reply page, if and when, did not write it such that
> the main query was the page's main content. Thus the automatic feed
> generation doesn't work for that, because it's not the main query that's
> returning the replies. (edited)
> > If it is desirable in any way to have that be an actual feed, then it
> would need to be rewritten to have that list of posts be returned as the
> main query. In other words, make a meta ticket about it.
>
> For Example
> https://wordpress.org/support/users/champsupertramp/replies/feed
>
> Let's say it is disabled for tracking user replies, isn't this possible
> to scrape the page directly without the RSS feed endpoint?  Why not just
> support the user replies via RSS Feed?

New description:

 If the RSS feed for user replies is empty, why does the endpoint still
 exist?

 Quoting what @Otto42 response via slack:

 > All endpoints always exist. That's just how the feed endpoints work in
 WordPress. (edited)
 > The feed isn't "disabled" for replies. That would imply it was
 intentional or done by design. No, the replies list is just not written in
 such a way as to have the feed apply to it.
 > In WordPress whenever you have a feed it always applies to the main
 query of the page. For example, if you look at a tag archive. The main
 query returns the list of posts that have a tag. The feed therefore is
 just another way of looking at that page. It generates from the main query
 only.
 > Whoever wrote that reply page, if and when, did not write it such that
 the main query was the page's main content. Thus the automatic feed
 generation doesn't work for that, because it's not the main query that's
 returning the replies. (edited)
 > If it is desirable in any way to have that be an actual feed, then it
 would need to be rewritten to have that list of posts be returned as the
 main query. In other words, make a meta ticket about it.

 For Example
 https://wordpress.org/support/users/champsupertramp/replies/feed

 Let's say it is disabled for tracking user replies, isn't this possible to
 scrape the page directly without the RSS feed endpoint?  Why not just
 support the user replies via RSS Feed?

--

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/6719#comment:2>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list