]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - inc/3rdparty/site_config/standard/nfl.com.txt
[add] new specific configuration files
[github/wallabag/wallabag.git] / inc / 3rdparty / site_config / standard / nfl.com.txt
diff --git a/inc/3rdparty/site_config/standard/nfl.com.txt b/inc/3rdparty/site_config/standard/nfl.com.txt
new file mode 100644 (file)
index 0000000..70f9247
--- /dev/null
@@ -0,0 +1,11 @@
+# doesn't look like selecting an attribute value works?\r
+# author: //meta[@id="authorName"]@value\r
+\r
+author: substring-after(//li[@id="article-hdr-meta-author"]/text(), "By ")\r
+date: //abbr[@id="article-time"]\r
+title: //div[@id="article-hdr"]/h1\r
+body: //div[@class="articleText"]\r
+\r
+# strip miscellaneous teasers & etc\r
+strip: //div[@class="removeformobile"]
+test_url: http://www.nfl.com/news/story/09000d5d82388707/article/close-shave-chiefs-haley-perseveres-through-rough-start?module=HP11_content_stream
\ No newline at end of file