Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F24682715
lesechos.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
497 B
Referenced Files
None
Subscribers
None
lesechos.php
View Options
<?php
/**
* Represents a page from the http://www.lesechos.fr/ site.
*/
class
LesEchosPage
extends
Page
{
/**
* Analyses the page and extracts metadata
*/
function
analyse
()
{
parent
::
analyse
();
// From content
$this
->
author
=
self
::
between
(
'<span itemprop="name">'
,
'</span>'
);
// From metatags
$this
->
dateFromDateParse
(
$this
->
meta_tags
[
'article:published_time'
]);
// Static
$this
->
site
=
"[[Les Échos]]"
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, Mar 7, 01:49 (1 h, 14 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3498567
Default Alt Text
lesechos.php (497 B)
Attached To
Mode
rSTG Source templates generator
Attached
Detach File
Event Timeline
Log In to Comment