Merge pull request #85 from pitchoule/patch-4

Update ScoopItBridge
This commit is contained in:
Mitsu 2014-07-23 12:06:08 +02:00
commit 4f61ac06af

View file

@ -23,7 +23,7 @@ class ScoopItBridge extends BridgeAbstract{
foreach($html->find('div.post-view') as $element) { foreach($html->find('div.post-view') as $element) {
$item = new Item(); $item = new Item();
$item->uri = $element->find('a', 0)->href; $item->uri = $element->find('a', 0)->href;
$item->title = $element->find('div.tCustomization_post_title',0)->innertext; $item->title = $element->find('div.tCustomization_post_title',0)->plaintext;
$item->content = $element->find('div.tCustomization_post_description', 0)->plaintext; $item->content = $element->find('div.tCustomization_post_description', 0)->plaintext;
$this->items[] = $item; $this->items[] = $item;
} }