Update GolemBridge.php (#3836)

deleted the code which adds the author to the feed, because the author is already in the original feed, so it is not needed.
This commit is contained in:
Tone 2023-12-15 23:39:27 +01:00 committed by GitHub
parent 4e1fa946b4
commit d4ae55733b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -82,11 +82,6 @@ class GolemBridge extends FeedExpander
// URI without RSS feed reference
$item['uri'] = $articlePage->find('head meta[name="twitter:url"]', 0)->content;
$author = $articlePage->find('article header .authors .authors__name', 0);
if ($author) {
$item['author'] = $author->plaintext;
}
$categories = $articlePage->find('ul.tags__list li');
foreach ($categories as $category) {
$trimmedcategories[] = trim(html_entity_decode($category->plaintext));