From 52bdc39948775fa7874cec09587364df6837759d Mon Sep 17 00:00:00 2001 From: Paul de Rosanbo Date: Fri, 23 Oct 2015 16:38:37 +0200 Subject: [PATCH] Fix url for par vendu, remove variable to fix the unread status of items some rss clients (ex: liferea) --- bridges/ParuVenduImmoBridge.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bridges/ParuVenduImmoBridge.php b/bridges/ParuVenduImmoBridge.php index 88068f9..e145350 100644 --- a/bridges/ParuVenduImmoBridge.php +++ b/bridges/ParuVenduImmoBridge.php @@ -61,8 +61,10 @@ class ParuVenduImmoBridge extends BridgeAbstract $price = $element->find('span.price')[0]->innertext; + list($href) = explode('#', $element->href); + $item = new \Item(); - $item->uri = $this->getURI().$element->href; + $item->uri = $this->getURI().$href; $item->title = $element->title; $item->content = $img.$desc.$price; $this->items[] = $item;