Page MenuHomeDevCentral

D730.id1830.diff
No OneTemporary

D730.id1830.diff

diff --git a/pages/huffingtonpostfrance.php b/pages/huffingtonpostfrance.php
new file mode 100644
--- /dev/null
+++ b/pages/huffingtonpostfrance.php
@@ -0,0 +1,18 @@
+<?php
+
+/**
+ * Represents a page from the http://www.huffingtonpost.fr/ site.
+ */
+class HuffingtonPostFrancePage extends Page {
+ /**
+ * Analyses the page and extracts metadata
+ */
+ function analyse () {
+ parent::analyse();
+
+ $this->site = "[[Le Huffington Post]]";
+
+ $this->author = self::between('<a class="author-card__details__name">', '</a>');
+ $this->extractYYYYMMDDDateFromURL();
+ }
+}
diff --git a/pages/index.dat b/pages/index.dat
--- a/pages/index.dat
+++ b/pages/index.dat
@@ -5,6 +5,7 @@
http://www.erudit.org/ Erudit
http://www.footofeminin.fr/ FootOFeminin
http://www.formula1.com/ Formula1
+http://www.huffingtonpost.fr/ HuffingtonPostFrance
http://www.jstor.org/ JSTOR
http://www.lalibre.be/ LaLibreBelgique
http://www.latimes.com/ LosAngelesTimes

File Metadata

Mime Type
text/plain
Expires
Thu, Nov 28, 03:30 (21 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2268088
Default Alt Text
D730.id1830.diff (997 B)

Event Timeline