[bridges] Rename 'parseRSSItem' to 'parseItem'

This commit is contained in:
logmanoriginal 2016-09-04 13:26:40 +02:00
parent 39788485ea
commit 878db6f96e
5 changed files with 5 additions and 5 deletions

View file

@ -13,7 +13,7 @@ class AcrimedBridge extends RssExpander{
}
protected function parseRSSItem($newsItem) {
protected function parseItem($newsItem) {
$hs = new HTMLSanitizer();

View file

@ -42,7 +42,7 @@ class FeedExpanderExampleBridge extends RssExpander {
}
}
protected function parseRSSItem($newsItem) {
protected function parseItem($newsItem) {
switch($this->getInput('version')){
case 'rss_0_9_1':
return $this->parseRSS_0_9_1_Item($newsItem);

View file

@ -11,7 +11,7 @@ class FreenewsBridge extends RssExpander {
parent::collectExpandableDatas(FREENEWS_RSS);
}
protected function parseRSSItem($newsItem) {
protected function parseItem($newsItem) {
$item = array();
$item['title'] = trim($newsItem->title);
$this->debugMessage("item has for title \"".$item['title']."\"");

View file

@ -11,7 +11,7 @@ class Les400CulsBridge extends RssExpander{
$this->collectExpandableDatas(self::URI.'feeds/');
}
protected function parseRSSItem($newsItem) {
protected function parseItem($newsItem) {
$item = array();
$item['title'] = trim((string) $newsItem->title);
$this->debugMessage("browsing item ".var_export($newsItem, true));

View file

@ -10,7 +10,7 @@ class TheOatmealBridge extends RssExpander{
$this->collectExpandableDatas('http://feeds.feedburner.com/oatmealfeed');
}
protected function parseRSSItem($newsItem) {
protected function parseItem($newsItem) {
$item = $this->parseRSS_1_0_Item($newsItem);
$articlePage = $this->get_cached($item['uri']);