Ajout d'une URI par post

This commit is contained in:
teromene 2015-09-01 00:04:13 +02:00
parent 7680b065b5
commit 9dfa1d6f25

View file

@ -50,7 +50,7 @@ class FacebookBridge extends BridgeAbstract{
$date = 0;
}
$item->uri = 'https://facebook.com/'.urlencode($param['u']);
$item->uri = 'https://facebook.com'.$post->find("abbr")[0]->parent()->getAttribute("href");
$item->content = $content;
$item->title = $param['u']." | ".strip_tags($content);
$item->timestamp = $date;