mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-05 02:24:35 +02:00
style: Fix coding styles
This commit is contained in:
parent
d8f5aa3c79
commit
ff83410534
26 changed files with 109 additions and 114 deletions
|
@ -22,11 +22,11 @@ class CopieDoubleBridge extends BridgeAbstract {
|
|||
$pos = strpos($title, '<a');
|
||||
$title = substr($title, 0, $pos);
|
||||
$item['title'] = $title;
|
||||
} elseif(strpos($element->innertext, "/images/suivant.gif") === false){
|
||||
} elseif(strpos($element->innertext, '/images/suivant.gif') === false){
|
||||
$a = $element->find('a', 0);
|
||||
$item['uri'] = self::URI . $a->href;
|
||||
$content = str_replace('src="/', 'src="/' . self::URI,$element->find("td", 0)->innertext);
|
||||
$content = str_replace('href="/', 'href="' . self::URI,$content);
|
||||
$content = str_replace('src="/', 'src="/' . self::URI, $element->find("td", 0)->innertext);
|
||||
$content = str_replace('href="/', 'href="' . self::URI, $content);
|
||||
$item['content'] = $content;
|
||||
$this->items[] = $item;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue