Page MenuHomeDevCentral

D725.id.diff
No OneTemporary

D725.id.diff

diff --git a/pages/index.dat b/pages/index.dat
--- a/pages/index.dat
+++ b/pages/index.dat
@@ -7,6 +7,7 @@
http://www.formula1.com/ Formula1
http://www.jstor.org/ JSTOR
http://www.lalibre.be/ LaLibreBelgique
+http://www.latimes.com/ LosAngelesTimes
http://www.lefigaro.fr/ LeFigaro
http://www.lemonde.fr/ LeMonde
http://www.leparisien.fr/ LeParisien
diff --git a/pages/losangelestimes.php b/pages/losangelestimes.php
new file mode 100644
--- /dev/null
+++ b/pages/losangelestimes.php
@@ -0,0 +1,18 @@
+<?php
+
+/**
+ * Represents a page from the http://www.latimes.com/ site.
+ */
+class LosAngelesTimesPage extends Page {
+ /**
+ * Analyses the page and extracts metadata
+ */
+ function analyse () {
+ parent::analyse();
+
+ $this->site = '[[Los Angeles Times]]';
+ $this->antiAdBlocker = true;
+
+ $this->author = self::between('<span itemprop="author">', '</span');
+ }
+}

File Metadata

Mime Type
text/plain
Expires
Fri, Nov 22, 08:33 (5 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2255854
Default Alt Text
D725.id.diff (929 B)

Event Timeline