summaryrefslogtreecommitdiff
path: root/dr.dk.txt
diff options
context:
space:
mode:
Diffstat (limited to 'dr.dk.txt')
-rw-r--r--dr.dk.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/dr.dk.txt b/dr.dk.txt
new file mode 100644
index 0000000..d8ec1ac
--- /dev/null
+++ b/dr.dk.txt
@@ -0,0 +1,9 @@
+title: //meta[@property='og:title']/@content
+author: //div[@class='articleFunctions']//a
+date: //meta[@name='pubdate']/@content
+
+# Can you strip elements from the body only? It is required here (`//div[@class='articleContent']/p` breaks for some reason)
+body: //div[@class='articleContent']
+
+tidy: no
+test_url: http://www.dr.dk/Nyheder/Udland/2011/10/24/150115.htm \ No newline at end of file