Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3762760
D998.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D998.diff
View Options
diff --git a/pages/index.dat b/pages/index.dat
--- a/pages/index.dat
+++ b/pages/index.dat
@@ -26,4 +26,5 @@
http://www.tandfonline.com TaylorAndFrancis
http://www.theguardian.com TheGuardian
https://www.theguardian.com TheGuardian
+https://www.wired.com/ Wired
http://www.worldcat.org/ WorldCat
diff --git a/pages/wired.php b/pages/wired.php
new file mode 100644
--- /dev/null
+++ b/pages/wired.php
@@ -0,0 +1,25 @@
+<?php
+
+/**
+ * Represents a page from the https://www.wired.com/ site.
+ */
+class WiredPage extends Page {
+ /**
+ * Analyses the page and extracts metadata
+ */
+ function analyse () {
+ parent::analyse();
+
+ // Hardcoded known info
+ $this->site = "[[Wired (magazine)|Wired]]";
+
+ // Gets date
+ $this->yyyy = substr($this->meta_tags['parsely-pub-date'], 0, 4);
+ $this->mm = substr($this->meta_tags['parsely-pub-date'], 5, 2);
+ $this->dd = substr($this->meta_tags['parsely-pub-date'], 8, 2);
+
+ // Gets author
+ $this->author = $this->meta_tags['parsely-author'];
+
+ }
+}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Nov 22, 14:50 (15 h, 27 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2256267
Default Alt Text
D998.diff (1 KB)
Attached To
Mode
D998: Analyze Wired
Attached
Detach File
Event Timeline
Log In to Comment