summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFiveFilters.org <fivefilters@fivefilters.org>2013-04-11 13:13:03 +0200
committerFiveFilters.org <fivefilters@fivefilters.org>2013-04-11 13:13:03 +0200
commit0987b9b0e3e6f2a46c27c3da99624a0d1d5e20ab (patch)
treed051aff96f3f938320a51f72a86e201d9d1e0dd3
parent17aa55af2274d200e6c6898cf030a043473b36ab (diff)
downloadftr-site-config-0987b9b0e3e6f2a46c27c3da99624a0d1d5e20ab.tar.gz
ftr-site-config-0987b9b0e3e6f2a46c27c3da99624a0d1d5e20ab.zip
updated elderscrollsonoline.com to fix date issue
-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