1
0
mirror of https://github.com/moparisthebest/wallabag synced 2024-12-21 14:58:55 -05:00
wallabag/vendor/full-text-rss/site_config/standard/.blogs.nytimes.com.txt

17 lines
769 B
Plaintext
Raw Normal View History

2013-12-10 10:19:15 -05:00
body: //div[@class='entry-content']
title: //h1[@class='entry-title']
# Two author lines because krugman.blogs.nytimes.com is a special case
author: substring-after(//div[@class="box module nocontent"]/h4, "About ")
author: //address/a
date: //meta[@name="PUD"]/@content
date: //*[@class='date']
#Removes related content but cleans up article text
strip: //ul[@class='toolsList wrap']
strip_id_or_class:inlineModule
strip_id_or_class:module
strip_id_or_class:toolsListContainer
prune: no
test_url: http://opinionator.blogs.nytimes.com/2011/02/03/lost-and-gone-forever/
test_url: http://krugman.blogs.nytimes.com/2012/09/12/a-vote-of-confidence/
test_url: http://bits.blogs.nytimes.com/2012/01/16/wikipedia-plans-to-go-dark-on-wednesday-to-protest-sopa/