diff --git a/index.php b/index.php index c5a36e7..8e1c5bb 100644 --- a/index.php +++ b/index.php @@ -13,15 +13,40 @@ queryToObject($query); + $ogFbTitle = html_entity_decode($retObj[0]["titolo"], ENT_COMPAT | ENT_HTML401, 'ISO-8859-1'); + $ogFbTitle = $ogFbTitle . " di " . html_entity_decode($retObj[0]["autore"], ENT_COMPAT | ENT_HTML401, 'ISO-8859-1'); + $ogFbDescription = substr(html_entity_decode($retObj[0]["procedimento"], ENT_COMPAT | ENT_HTML401, 'ISO-8859-1'), 0, 30); + } ?>