Page MenuHomeDevCentral

D725.id1819.diff
No OneTemporary

D725.id1819.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
Sat, Nov 23, 08:31 (17 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2256013
Default Alt Text
D725.id1819.diff (915 B)

Event Timeline