From 6b45046e3a693c0c0c5f1807f0f07d6e2372037b Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Wed, 8 Jul 2015 09:42:11 +0200 Subject: another siteconfig file --- inc/3rdparty/site_config/standard/gokulkrishh.github.io.txt | 6 ++++++ inc/3rdparty/site_config/standard/reddit.com.txt | 6 ++++-- 2 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 inc/3rdparty/site_config/standard/gokulkrishh.github.io.txt (limited to 'inc/3rdparty/site_config') diff --git a/inc/3rdparty/site_config/standard/gokulkrishh.github.io.txt b/inc/3rdparty/site_config/standard/gokulkrishh.github.io.txt new file mode 100644 index 00000000..b395fa9e --- /dev/null +++ b/inc/3rdparty/site_config/standard/gokulkrishh.github.io.txt @@ -0,0 +1,6 @@ +# Generated by FiveFilters.org's web-based selection tool +# Place this file inside your site_config/custom/ folder +# Source: http://siteconfig.fivefilters.org/grab.php?url=https%3A%2F%2Fgokulkrishh.github.io%2FJavascript-Guidelines%2F + +body: //section[contains(concat(' ',normalize-space(@class),' '),' main-content ')] +test_url: https://gokulkrishh.github.io/Javascript-Guidelines/ diff --git a/inc/3rdparty/site_config/standard/reddit.com.txt b/inc/3rdparty/site_config/standard/reddit.com.txt index ba342c7c..c3f2d3e5 100755 --- a/inc/3rdparty/site_config/standard/reddit.com.txt +++ b/inc/3rdparty/site_config/standard/reddit.com.txt @@ -7,7 +7,9 @@ author: //p[@class="tagline"]/a # this doesn't work for some reason...? date: //p[@class="tagline"]//@datetime -body: (//div[contains(@class, 'noncollapsed')]//div[contains(@class, 'usertext-body')])[1] +#body: (//div[contains(@class, 'noncollapsed')]//div[contains(@class, 'usertext-body')])[1] + +body: //div[contains(concat(' ',normalize-space(@class),' '),' usertext-body ') and (contains(concat(' ',normalize-space(@class),' '),' may-blank-within ')) and (contains(concat(' ',normalize-space(@class),' '),' md-container '))]//div[contains(concat(' ',normalize-space(@class),' '),' md ')] strip_id_or_class: tagline strip_id_or_class: unvotable-message @@ -18,4 +20,4 @@ single_page_link: //p[@class="title"]/a[contains(@href, 'http://')] test_url: http://www.reddit.com/r/truegaming/comments/wfe7r/i_wrote_about_the_problems_i_honestly_feel_that/ test_url: http://www.reddit.com/r/worldnews/comments/1as37r/twelve_north_korean_soldiers_attempting_to_defect/ -test_url: http://www.reddit.com/r/WritingPrompts/comments/2786lw/wp_in_a_world_where_puns_are_illegal_one_man/chybk8e \ No newline at end of file +test_url: http://www.reddit.com/r/WritingPrompts/comments/2786lw/wp_in_a_world_where_puns_are_illegal_one_man/chybk8e -- cgit v1.2.3