Page MenuHomeDevCentral

Update analysis for Rue 89
Closed, ResolvedPublic

Description

Rue89 URLs changed with the acquisition by Le Nouvel Observateur.

So the following code isn't up to date:

//Gets date
// http://www.rue89.com/2011/02/26/
$yyyy = substr($this->url, 21, 4);
$mm   = substr($this->url, 26, 2);
$dd   = substr($this->url, 29, 2);
$this->unixtime = mktime(0, 0, 0, $mm, $dd, $yyyy);
$this->date = strftime(LONG_DATE_FORMAT, $this->unixtime);

New one should be something like:

$dateUrlFragment = "/2011/02/26";
list($this->yyyy, $this->mm, $this->dd) = explode('/', $dateURLFragment);

Revisions and Commits

Event Timeline

dereckson claimed this task.
dereckson raised the priority of this task from to Normal.
dereckson updated the task description. (Show Details)
dereckson added a project: Nasqueron Tools.
dereckson added a subscriber: dereckson.