From 4e067ceabd705201a16b4c92cf4b23f3b990326c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Sun, 13 Jul 2014 10:15:40 +0200 Subject: updated specific configuration for parsing --- .../site_config/standard/plus.google.com.txt | 32 +++++++++++----------- 1 file changed, 16 insertions(+), 16 deletions(-) mode change 100644 => 100755 inc/3rdparty/site_config/standard/plus.google.com.txt (limited to 'inc/3rdparty/site_config/standard/plus.google.com.txt') diff --git a/inc/3rdparty/site_config/standard/plus.google.com.txt b/inc/3rdparty/site_config/standard/plus.google.com.txt old mode 100644 new mode 100755 index 50a5dbf5..4a7ea126 --- a/inc/3rdparty/site_config/standard/plus.google.com.txt +++ b/inc/3rdparty/site_config/standard/plus.google.com.txt @@ -1,17 +1,17 @@ -body: //div[@id='contentPane']//div[@class='vg'] -body: //div[@id='contentPane'] - -# Grab the author by finding the first profile pic, then backing up a node and getting the title of tag which will be the author hopefully. Sorry can't test this due to parser errors, thanks google :( - -author: //div[@id='contentPane']//img[contains(@alt, 'profile photo')][1]/../@title - - -strip: //*[@title="People who +1'd this"]/../.. -strip: //*[contains(@class, 'a-b-f-i-Hg-Uf')] -strip: //*[@role='menu'] -strip: //img[contains(@alt, 'profile photo')] -strip: //*[@class='a-f-i-Ad'] - -tidy: no - +body: //div[@id='contentPane']//div[@class='vg'] +body: //div[@id='contentPane'] + +# Grab the author by finding the first profile pic, then backing up a node and getting the title of tag which will be the author hopefully. Sorry can't test this due to parser errors, thanks google :( + +author: //div[@id='contentPane']//img[contains(@alt, 'profile photo')][1]/../@title + + +strip: //*[@title="People who +1'd this"]/../.. +strip: //*[contains(@class, 'a-b-f-i-Hg-Uf')] +strip: //*[@role='menu'] +strip: //img[contains(@alt, 'profile photo')] +strip: //*[@class='a-f-i-Ad'] + +tidy: no + test_url: http://plus.google.com/u/0/117840649766034848455/posts/FddaP6jeCqp \ No newline at end of file -- cgit v1.2.3