summaryrefslogtreecommitdiff
path: root/forsvaret.no.txt
diff options
context:
space:
mode:
Diffstat (limited to 'forsvaret.no.txt')
-rw-r--r--forsvaret.no.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/forsvaret.no.txt b/forsvaret.no.txt
new file mode 100644
index 0000000..c1bd2ba
--- /dev/null
+++ b/forsvaret.no.txt
@@ -0,0 +1,9 @@
+title: //div[@class="articleHeader"]/h1
+author: //p[@class="byline"]
+date: //p[contains(@class,"publishedDate")]/span
+# remove the right menu
+strip: //div[contains(@class,"aside")]
+# remove some SharePoint webpart label junk
+strip: //div[@id="ctl00_PlaceHolderMain_ArticleLeadField_label"]
+strip: //div[@id="ctl00_PlaceHolderMain_PublishingPageContentField_label"]
+test_url: http://forsvaret.no/aktuelt/publisert/nyheter/Sider/F5-fly-til-Skedsmo.aspx \ No newline at end of file