Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F32065413
archiveslesoir.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
632 B
Referenced Files
None
Subscribers
None
archiveslesoir.php
View Options
<?php
require
'lesoir.php'
;
/**
* Represents a page from the http://archives.lesoir.be/ site.
*/
class
ArchivesLeSoirPage
extends
LeSoirPage
{
/**
* Analyses the page and extracts metadata
*/
function
analyse
(
$skipSpecificProcessing
=
false
)
{
parent
::
analyse
(
true
);
$authors
=
$this
->
between
(
'<p class="st_signature">'
,
'</p>'
);
$date
=
trim
(
$this
->
between
(
'<p class="st_date">'
,
'</p>'
));
$this
->
processAuthors
(
$authors
);
$this
->
processDate
(
$date
);
}
function
get_title
()
{
return
$this
->
between
(
'<h3 class="story_title main">'
,
'</h3>'
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, Jun 8, 09:17 (15 h, 37 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3775982
Default Alt Text
archiveslesoir.php (632 B)
Attached To
Mode
rSTG Source templates generator
Attached
Detach File
Event Timeline
Log In to Comment