mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-02-17 23:59:55 +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
|
// URI without RSS feed reference
|
||||||
$item['uri'] = $articlePage->find('head meta[name="twitter:url"]', 0)->content;
|
$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');
|
$categories = $articlePage->find('ul.tags__list li');
|
||||||
foreach ($categories as $category) {
|
foreach ($categories as $category) {
|
||||||
$trimmedcategories[] = trim(html_entity_decode($category->plaintext));
|
$trimmedcategories[] = trim(html_entity_decode($category->plaintext));
|
||||||
|
|
Loading…
Add table
Reference in a new issue