Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3930226
D397.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
997 B
Referenced Files
None
Subscribers
None
D397.diff
View Options
diff --git a/pages/index.dat b/pages/index.dat
--- a/pages/index.dat
+++ b/pages/index.dat
@@ -6,6 +6,7 @@
http://www.formula1.com/ Formula1
http://www.jstor.org/ JSTOR
http://www.lalibre.be/ LaLibreBelgique
+http://www.liberation.fr/ Liberation
http://www.lefigaro.fr/ LeFigaro
http://www.lemonde.fr/ LeMonde
http://www.lesoir.be/ LeSoir
diff --git a/pages/liberation.php b/pages/liberation.php
new file mode 100644
--- /dev/null
+++ b/pages/liberation.php
@@ -0,0 +1,17 @@
+<?php
+
+class LiberationPage extends Page {
+ function analyse () {
+ parent::analyse();
+
+ //Hardcoded known info
+ $this->site = "[[Libération (journal)|Libération]]";
+
+ //Gets date
+ // e.g. http://www.liberation.fr/france/2016/06/02/affiches...
+ $pos = strpos($this->url, "/20");
+ $this->yyyy = substr($this->url, $pos + 1, 4);
+ $this->mm = substr($this->url, $pos + 6, 2);
+ $this->dd = substr($this->url, $pos + 9, 2);
+ }
+}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Dec 23, 13:04 (18 h, 30 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2312230
Default Alt Text
D397.diff (997 B)
Attached To
Mode
D397: Page analysis for Libération
Attached
Detach File
Event Timeline
Log In to Comment