1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-01-29 20:08:14 +01:00

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;