mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 12:48:24 +01:00
Keep FB scraper up-to-date with changes.
This commit is contained in:
parent
c7be6a57e8
commit
3a241727f8
@ -4016,7 +4016,7 @@ class eResponse
|
||||
protected $_meta_name_only = array('keywords', 'viewport', 'robots'); // Keep FB happy.
|
||||
protected $_meta_property_only = array( // Keep FB happy.
|
||||
'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_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');
|
||||
e107::meta('og:url',$url);
|
||||
e107::meta('og:updated_time', strtotime('10 minutes ago'));
|
||||
|
||||
e107::meta('article:section',$news['category_name']);
|
||||
e107::meta('article:modified_time', date('c', $news['news_datestamp']));
|
||||
|
Loading…
x
Reference in New Issue
Block a user