X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=inc%2F3rdparty%2Fsite_config%2Fstandard%2Fnfl.com.txt;fp=inc%2F3rdparty%2Fsite_config%2Fstandard%2Fnfl.com.txt;h=70f924732b4310f854dbef62605efc4115bca3a9;hb=ac4d114214d820b20e18518a2dbc809337e39043;hp=0000000000000000000000000000000000000000;hpb=d5501950e2470d52f6bf5954d2179010cdee0475;p=github%2Fwallabag%2Fwallabag.git diff --git a/inc/3rdparty/site_config/standard/nfl.com.txt b/inc/3rdparty/site_config/standard/nfl.com.txt new file mode 100644 index 00000000..70f92473 --- /dev/null +++ b/inc/3rdparty/site_config/standard/nfl.com.txt @@ -0,0 +1,11 @@ +# doesn't look like selecting an attribute value works? +# author: //meta[@id="authorName"]@value + +author: substring-after(//li[@id="article-hdr-meta-author"]/text(), "By ") +date: //abbr[@id="article-time"] +title: //div[@id="article-hdr"]/h1 +body: //div[@class="articleText"] + +# strip miscellaneous teasers & etc +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