mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 11:50:30 +02:00
Keep FB scraper up-to-date with changes.
This commit is contained in:
@@ -4016,7 +4016,7 @@ class eResponse
|
|||||||
protected $_meta_name_only = array('keywords', 'viewport', 'robots'); // Keep FB happy.
|
protected $_meta_name_only = array('keywords', 'viewport', 'robots'); // Keep FB happy.
|
||||||
protected $_meta_property_only = array( // Keep FB happy.
|
protected $_meta_property_only = array( // Keep FB happy.
|
||||||
'article:section', 'article:tag', 'article:modified_time',
|
'article:section', 'article:tag', 'article:modified_time',
|
||||||
'og:description', 'og:image', 'og:title',
|
'og:description', 'og:image', 'og:title', 'og:updated_time',
|
||||||
);
|
);
|
||||||
protected $_meta = array();
|
protected $_meta = array();
|
||||||
protected $_meta_robot_types = array('noindex'=>'NoIndex', 'nofollow'=>'NoFollow','noarchive'=>'NoArchive','noimageindex'=>'NoImageIndex' );
|
protected $_meta_robot_types = array('noindex'=>'NoIndex', 'nofollow'=>'NoFollow','noarchive'=>'NoArchive','noimageindex'=>'NoImageIndex' );
|
||||||
|
@@ -703,6 +703,7 @@ class news_front
|
|||||||
|
|
||||||
$url = e107::getUrl()->create('news/view/item', $news,'full=1');
|
$url = e107::getUrl()->create('news/view/item', $news,'full=1');
|
||||||
e107::meta('og:url',$url);
|
e107::meta('og:url',$url);
|
||||||
|
e107::meta('og:updated_time', strtotime('10 minutes ago'));
|
||||||
|
|
||||||
e107::meta('article:section',$news['category_name']);
|
e107::meta('article:section',$news['category_name']);
|
||||||
e107::meta('article:modified_time', date('c', $news['news_datestamp']));
|
e107::meta('article:modified_time', date('c', $news['news_datestamp']));
|
||||||
|
Reference in New Issue
Block a user