ftr-site-config icon indicating copy to clipboard operation
ftr-site-config copied to clipboard

I can't set author for feeds from RSS-Bridge

Open HolgerAusB opened this issue 2 years ago • 3 comments

I host RSS-Bridge and FTR locally. I use the FeedMergeBridge.php to merge 5 sub-feeds of the same site to a single one, so FreshRSS can sort out duplicates. Between them is FullTextRSS (FTR) which takes the full articles. This works great!

But FTR sets the author field dc:creator to literal 'RSS-Bridge' and I can't find out how to get rid of that. I tried to find out how to do that on RSS-Bidge side, but that is too heavy for me.

So I made configs in FTR both for my ip-address of RSS-Bridge and for the original site, where the full-text-content is from.

While the debug mode shows, that FTR found a correct match for the author, this is not passed to the outgoing feed. That match comes from the original site config. I added to existing diepresse.com.txt:

author: //span[@class='author__name']
author: '-'

Some articles have no author, so the second line would catch that. Will this change to empty string when I get arround the problem. I uploaded both, the feed from bridge and the feed from FTR.

So how to override this feed-author field from RSS-Bridge?

The examples:

Bridge and FTR are not exposed to the internet, so no link, sorry

HolgerAusB avatar Jun 20 '22 15:06 HolgerAusB

We should really document this aspect of Full-Text RSS. Currently the author name extracted from the article is only used when the input feed doesn’t contain author information. If the input feed has author info, it’s always prioritised. If you have control over the input feed and can remove the author info from it, then the extracted author should be used in the feed Full-Text RSS produces.

We’ll introduce a request parameter in a future version to override this behaviour, as we have with ‘use_extracted_title’, which you can use to tell Full-Text RSS that the extracted article title should replace any title in the source feed.

fivefilters avatar Jul 07 '22 17:07 fivefilters

@fivefilters unfortunately I can't control the author field in the input feed (output from rss-bridge). See my question on their side

Just to be sure, I need to emphasize that it is the feed-author of rss-bridge not item-authors

HolgerAusB avatar Jul 07 '22 20:07 HolgerAusB