Page MenuHomeDevCentral

leparisien.php
No OneTemporary

leparisien.php

<?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

Mime Type
text/x-php
Expires
Sat, Nov 14, 00:15 (4 d, 49 m ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4254953
Default Alt Text
leparisien.php (606 B)

Event Timeline