Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F49508567
leparisien.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
606 B
Referenced Files
None
Subscribers
None
leparisien.php
View Options
<?php
/**
* Represents a page from the http://www.leparisien.fr/ site.
*/
class
LeParisienPage
extends
Page
{
/**
* Analyses the page and extracts metadata
*/
function
analyse
()
{
parent
::
analyse
();
// Hardcoded known info
$this
->
site
=
"[[Le Parisien]]"
;
// From metadata
$this
->
dateFromDateParse
(
$this
->
meta_tags
[
'article:published_time'
]);
$author
=
$this
->
meta_tags
[
'creator'
];
if
(
$author
===
"Le Parisien"
)
{
$this
->
skipAuthor
=
true
;
}
else
{
$this
->
author
=
$author
;
}
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, Sep 14, 16:24 (13 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4074514
Default Alt Text
leparisien.php (606 B)
Attached To
Mode
rSTG Source templates generator
Attached
Detach File
Event Timeline
Log In to Comment