]>
Commit | Line | Data |
---|---|---|
4e067cea NL |
1 | # doesn't look like selecting an attribute value works? |
2 | # author: //meta[@id="authorName"]@value | |
3 | ||
4 | author: substring-after(//li[@id="article-hdr-meta-author"]/text(), "By ") | |
5 | date: //abbr[@id="article-time"] | |
6 | title: //div[@id="article-hdr"]/h1 | |
7 | body: //div[@class="articleText"] | |
8 | ||
9 | # strip miscellaneous teasers & etc | |
ac4d1142 NL |
10 | strip: //div[@class="removeformobile"] |
11 | test_url: http://www.nfl.com/news/story/09000d5d82388707/article/close-shave-chiefs-haley-perseveres-through-rough-start?module=HP11_content_stream |