mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-04-23 15:06:53 +00:00
25 lines
647 B
PHP
25 lines
647 B
PHP
<?php
|
|
class KoreusBridge extends FeedExpander
|
|
{
|
|
const MAINTAINER = "pit-fgfjiudghdf";
|
|
const NAME = "Koreus";
|
|
const URI = "http://www.koreus.com/";
|
|
const DESCRIPTION = "Returns the newest posts from Koreus (full text)";
|
|
|
|
protected function parseItem($item)
|
|
{
|
|
$item = parent::parseItem($item);
|
|
|
|
$html = getSimpleHTMLDOMCached($item['uri']);
|
|
$text = $html->find('p.itemText', 0)->innertext;
|
|
$item['content'] = utf8_encode($text);
|
|
|
|
return $item;
|
|
}
|
|
|
|
public function collectData()
|
|
{
|
|
$this->collectExpandableDatas('http://feeds.feedburner.com/Koreus-articles');
|
|
}
|
|
}
|