Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F56960387
leparisien.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
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
Fri, Nov 13, 19:39 (1 d, 15 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4254953
Default Alt Text
leparisien.php (606 B)
Attached To
Mode
rSTG Source templates generator
Attached
Detach File
Event Timeline
Log In to Comment