mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2024-11-24 18:36:59 +03:00
[NotAlwaysBridge] Add new categories, remove duplicate header, and social meta (#3463)
* [NotAlwaysBridge] add new tags * [NotAlwaysBridge] Remove duplicate header and social meta * [NotAlwaysBridge] Add space to fix lint issues
This commit is contained in:
parent
b6a263037a
commit
fece9ed344
1 changed files with 6 additions and 2 deletions
|
@ -19,8 +19,10 @@ class NotAlwaysBridge extends BridgeAbstract
|
|||
'Romantic' => 'romantic',
|
||||
'Related' => 'related',
|
||||
'Learning' => 'learning',
|
||||
'Friendly' => 'friendly',
|
||||
'Hopeless' => 'hopeless',
|
||||
'Healthy' => 'healthy',
|
||||
'Legal' => 'legal',
|
||||
'Friendly' => 'friendly',
|
||||
'Unfiltered' => 'unfiltered'
|
||||
]
|
||||
]
|
||||
|
@ -38,7 +40,9 @@ class NotAlwaysBridge extends BridgeAbstract
|
|||
#print_r($post);
|
||||
$item = [];
|
||||
$item['uri'] = $post->find('h1', 0)->find('a', 0)->href;
|
||||
$item['content'] = $post;
|
||||
$postHeader = $post->find('.post_header', 0);
|
||||
$storyContent = $post->find('.storycontent', 0);
|
||||
$item['content'] = $postHeader . '<br/><br/>' . $storyContent;
|
||||
$item['title'] = $post->find('h1', 0)->find('a', 0)->innertext;
|
||||
$this->items[] = $item;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue