summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--elderscrollsonline.com.txt15
1 files changed, 14 insertions, 1 deletions
diff --git a/elderscrollsonline.com.txt b/elderscrollsonline.com.txt
index e7a1cec..fa3892c 100644
--- a/elderscrollsonline.com.txt
+++ b/elderscrollsonline.com.txt
@@ -1,8 +1,21 @@
-# date below won't work as strtotime doesn't' understand that format (03.28.2013)
date: //time
title: //h1[contains(@class, "alpha")]
body: //article[contains(@class, "news-post")]
+# fix dates - dates as they are won't work as strtotime doesn't understand format (03.28.2013)
+replace_string(<time class="gamma">01.): <time class="gamma">January.
+replace_string(<time class="gamma">02.): <time class="gamma">February.
+replace_string(<time class="gamma">03.): <time class="gamma">March.
+replace_string(<time class="gamma">04.): <time class="gamma">April.
+replace_string(<time class="gamma">05.): <time class="gamma">May.
+replace_string(<time class="gamma">06.): <time class="gamma">June.
+replace_string(<time class="gamma">07.): <time class="gamma">July.
+replace_string(<time class="gamma">08.): <time class="gamma">August.
+replace_string(<time class="gamma">09.): <time class="gamma">September.
+replace_string(<time class="gamma">10.): <time class="gamma">October.
+replace_string(<time class="gamma">11.): <time class="gamma">November.
+replace_string(<time class="gamma">12.): <time class="gamma">December.
+
prune: no
test_url: http://elderscrollsonline.com/en/rss