summaryrefslogtreecommitdiff
path: root/joelonsoftware.com.txt
diff options
context:
space:
mode:
authorFiveFilters.org <fivefilters@fivefilters.org>2013-02-27 23:43:10 +0100
committerFiveFilters.org <fivefilters@fivefilters.org>2013-02-27 23:43:10 +0100
commit9a69161c8646f63b4d9fa17c6ac3ab922d625859 (patch)
tree62a446347e1279f00383fdd7f9637cfd58a50879 /joelonsoftware.com.txt
downloadftr-site-config-9a69161c8646f63b4d9fa17c6ac3ab922d625859.tar.gz
ftr-site-config-9a69161c8646f63b4d9fa17c6ac3ab922d625859.zip
Initial commit
Diffstat (limited to 'joelonsoftware.com.txt')
-rw-r--r--joelonsoftware.com.txt21
1 files changed, 21 insertions, 0 deletions
diff --git a/joelonsoftware.com.txt b/joelonsoftware.com.txt
new file mode 100644
index 0000000..241a361
--- /dev/null
+++ b/joelonsoftware.com.txt
@@ -0,0 +1,21 @@
+# Works with old posts too, such as http://www.joelonsoftware.com/articles/fog0000000332.html
+
+author: substring-after(//div[@class="author"], 'by ')
+date: //div[@class="date"]
+
+## Clean stuff at top ##
+
+strip: //h1[1]
+strip: //h2[1]
+strip: //div[@class="date"]
+strip: //div[@class="author"]
+
+## Clean stuff at bottom ##
+
+strip: //blockquote[@class="textmessage"]
+strip: //div[@style="width:500px"]/p[last()]
+strip: //div[@style="width:500px"]/p[last()-1]
+strip: //div[@style="width:500px"]/h4[last()]
+strip: //div[@style="width:500px"]/h4[last()-1]
+strip: //div[@style="width:500px"]/div[last()]
+test_url: http://www.joelonsoftware.com/items/2011/09/15.html \ No newline at end of file