[YahtzeeDevDiaryBridge] Remove bridge (#2580)

Website has rss feeds. https://www.escapistmagazine.com/category/yahtzees-dev-diary/feed/
This commit is contained in:
Joseph 2022-04-02 19:11:34 +00:00 committed by GitHub
parent fb0e7ede89
commit 42788cd3ee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 = 'Yahtzees 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;
}
}
}