From e070b9b511aea783d9709acd014e759aaaf5f7e1 Mon Sep 17 00:00:00 2001 From: Jason Ghent Date: Sat, 30 Nov 2013 12:08:17 -0500 Subject: Added stackoverflow parsing. --- inc/3rdparty/site_config/custom/stackoverflow.com.txt | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 inc/3rdparty/site_config/custom/stackoverflow.com.txt (limited to 'inc/3rdparty/site_config') diff --git a/inc/3rdparty/site_config/custom/stackoverflow.com.txt b/inc/3rdparty/site_config/custom/stackoverflow.com.txt new file mode 100755 index 00000000..d2eb984d --- /dev/null +++ b/inc/3rdparty/site_config/custom/stackoverflow.com.txt @@ -0,0 +1,4 @@ +title: //title +body: //div[@id='question']//div[contains(@class,'post-text')] | //div[@id='answers-header']//h2 | //div[contains(@class,'accepted-answer')]//div[contains(@class,'post-text')] + +test_url: http://stackoverflow.com/questions/20302422/calling-a-function-from-a-javascript-object -- cgit v1.2.3 From 2ab37d6205d3e4f7bfacf702de6755a924931751 Mon Sep 17 00:00:00 2001 From: Jason Ghent Date: Sat, 30 Nov 2013 13:00:24 -0500 Subject: Addition of stackexchange parser. --- inc/3rdparty/site_config/custom/stackexchange.com.txt | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 inc/3rdparty/site_config/custom/stackexchange.com.txt (limited to 'inc/3rdparty/site_config') diff --git a/inc/3rdparty/site_config/custom/stackexchange.com.txt b/inc/3rdparty/site_config/custom/stackexchange.com.txt new file mode 100755 index 00000000..c9d44b1d --- /dev/null +++ b/inc/3rdparty/site_config/custom/stackexchange.com.txt @@ -0,0 +1,4 @@ +title: //title +body: //div[@id='question']//div[contains(@class,'post-text')] | //div[@id='answers-header']//h2 | //div[contains(@class,'accepted-answer')]//div[contains(@class,'post-text')] + +test_url: http://cstheory.stackexchange.com/questions/14811/what-is-the-enlightenment-im-supposed-to-attain-after-studying-finite-automata/14818#14818 -- cgit v1.2.3