From 9a69161c8646f63b4d9fa17c6ac3ab922d625859 Mon Sep 17 00:00:00 2001 From: "FiveFilters.org" Date: Wed, 27 Feb 2013 23:43:10 +0100 Subject: Initial commit --- codinghorror.com.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 codinghorror.com.txt (limited to 'codinghorror.com.txt') diff --git a/codinghorror.com.txt b/codinghorror.com.txt new file mode 100644 index 0000000..adf6e5a --- /dev/null +++ b/codinghorror.com.txt @@ -0,0 +1,15 @@ +body: //div[@class='blogbody'] +strip: //h3[@class='title'] +date: //h2[@class='date'] +#Should Atwood just be a literal? +author: substring-before( substring-after(//div[@class='posted'], 'y'), 'V') + +# tim.kingman@... 2011-07-26 +# Prune:no to retain all-link ULs that are part of the body content like +# http://www.codinghorror.com/blog/2011/07/building-a-pc-part-vii-rebooting.html +# Then explicitly strip the "Posted By" and prev/next links that Prune:yes would have removed. + +prune: no +strip: //div[@class='posted']/following-sibling::* +strip: //div[@class='posted'] +test_url: http://www.codinghorror.com/blog/2011/07/building-a-pc-part-vii-rebooting.html \ No newline at end of file -- cgit v1.3.1