mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2024-11-25 10:56:18 +03:00
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:
parent
4e1fa946b4
commit
d4ae55733b
1 changed files with 0 additions and 5 deletions
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue