Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3767676
D736.id1848.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
D736.id1848.diff
View Options
diff --git a/pages/crunchyroll.php b/pages/crunchyroll.php
new file mode 100644
--- /dev/null
+++ b/pages/crunchyroll.php
@@ -0,0 +1,20 @@
+<?php
+
+/**
+ * Represents a page from the http://www.crunchyroll.com/ site.
+ */
+class CrunchyRollPage extends Page {
+ /**
+ * Analyses the page and extracts metadata
+ */
+ function analyse () {
+ parent::analyse();
+
+ $authorElement = self::between('<div class="byline">', '</div>');
+ $this->author = self::grab($authorElement, '">', '</a>');
+
+ $this->extractYYYYMMDDDateFromURL();
+
+ $this->site = "[[Crunchyroll]]";
+ }
+}
diff --git a/pages/index.dat b/pages/index.dat
--- a/pages/index.dat
+++ b/pages/index.dat
@@ -4,6 +4,7 @@
http://rue89.nouvelobs.com/ Rue89
http://www.animenewsnetwork.com/ AnimeNewsNetwork
http://www.chroniquesautomatiques.com/ LesChroniquesAutomatiques
+http://www.crunchyroll.com/ CrunchyRoll
http://www.erudit.org/ Erudit
http://www.footofeminin.fr/ FootOFeminin
http://www.formula1.com/ Formula1
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 24, 02:47 (19 h, 53 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2259002
Default Alt Text
D736.id1848.diff (1 KB)
Attached To
Mode
D736: Analyse Crunchyroll
Attached
Detach File
Event Timeline
Log In to Comment