rss-bridge icon indicating copy to clipboard operation
rss-bridge copied to clipboard

Item comments tag support

Open Phantop opened this issue 9 months ago • 5 comments

Is your feature request related to a problem? Please describe. Some RSS readers, such as Miniflux, support a comments tag for feed entries. Entries with it will have a comments option that will go to the provided URL. A number of feeds are generated with this, but RSS-Bridge does not allow creating feeds with it. This limits bridges slightly and results in FeedExpander removing data from some source feeds. I've wanted to create some bridges that have this tag, and being able to both pull from existing RSS feeds and add to bridge entries I create is desirable.

Describe the solution you'd like Implementing the tag much like other bridge tags would be sufficient (e.g., the same as how $item['title'] functions.

Describe alternatives you've considered The only real alternative would be embedding the link in content, but this would ideally allow for use of an existing reader feature.

Phantop avatar Sep 08 '23 19:09 Phantop

Huh, TIL. You are probably referring to the RSS <comment> element?

RSS-Bridge currently supports the following feed formats: Media RSS, Atom, JSON Feed and sfeed.

Since this is only specific to RSS, I think that providing support for only one feed format may not be within this project's goals, but maybe an extensible $item['item_element'] might be within scope, to allow extended FormatAbstract classes to discard elements that's not in their specs.

mruac avatar Sep 10 '23 10:09 mruac

Yeah I meant the <comment> element. An example of this problem at work can be seen with the Ars Technica bridge I recently PR'd, where that element is lost (as well as entry categories, though that's purely a FeedExpander issue).

Phantop avatar Sep 10 '23 18:09 Phantop

do you mean the <comments> element?

dvikan avatar Oct 13 '23 19:10 dvikan

@Phantop

dvikan avatar Nov 10 '23 12:11 dvikan

Yes, I meant the <comments> element as can be seen in this feed, my apologies.

Phantop avatar Nov 10 '23 19:11 Phantop