mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2024-11-29 23:00:48 +03:00
[YahtzeeDevDiaryBridge] Remove bridge (#2580)
Website has rss feeds. https://www.escapistmagazine.com/category/yahtzees-dev-diary/feed/
This commit is contained in:
parent
fb0e7ede89
commit
42788cd3ee
1 changed files with 0 additions and 20 deletions
|
@ -1,20 +0,0 @@
|
||||||
<?php
|
|
||||||
class YahtzeeDevDiaryBridge extends BridgeAbstract {
|
|
||||||
const MAINTAINER = 'somini';
|
|
||||||
const NAME = "Yahtzee's Dev Diary";
|
|
||||||
const URI = 'https://www.escapistmagazine.com/v2/yahtzees-dev-diary-completed-games-list/';
|
|
||||||
const DESCRIPTION = 'Yahtzee’s Dev Diary Series';
|
|
||||||
|
|
||||||
public function collectData(){
|
|
||||||
$html = getSimpleHTMLDOM($this->getURI());
|
|
||||||
|
|
||||||
foreach($html->find('blockquote.wp-embedded-content a') as $element) {
|
|
||||||
$item = array();
|
|
||||||
|
|
||||||
$item['title'] = $element->innertext;
|
|
||||||
$item['uri'] = $element->href;
|
|
||||||
|
|
||||||
$this->items[] = $item;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in a new issue