aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/3rdparty/site_config/standard/brookings.edu.txt
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2014-07-13 10:15:40 +0200
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2014-07-13 10:15:40 +0200
commit4e067ceabd705201a16b4c92cf4b23f3b990326c (patch)
tree939f3a8e5ff3ab9ee414a57a895d3e78e1d46ce3 /inc/3rdparty/site_config/standard/brookings.edu.txt
parent58dbe103889148def78b0fc8744d3f94c56a1561 (diff)
downloadwallabag-4e067ceabd705201a16b4c92cf4b23f3b990326c.tar.gz
wallabag-4e067ceabd705201a16b4c92cf4b23f3b990326c.tar.zst
wallabag-4e067ceabd705201a16b4c92cf4b23f3b990326c.zip
updated specific configuration for parsing
Diffstat (limited to 'inc/3rdparty/site_config/standard/brookings.edu.txt')
-rwxr-xr-x[-rw-r--r--]inc/3rdparty/site_config/standard/brookings.edu.txt22
1 files changed, 11 insertions, 11 deletions
diff --git a/inc/3rdparty/site_config/standard/brookings.edu.txt b/inc/3rdparty/site_config/standard/brookings.edu.txt
index 9f4fc4e3..17a47605 100644..100755
--- a/inc/3rdparty/site_config/standard/brookings.edu.txt
+++ b/inc/3rdparty/site_config/standard/brookings.edu.txt
@@ -1,13 +1,13 @@
1title: //div[@id='contentheader']/h1 1title: //div[@id='contentheader']/h1
2author: //p[@class='attribution']/span[@class='author']/* 2author: //p[@class='attribution']/span[@class='author']/*
3# Is there a way to pull multiple authors? My XPath here is just grabbing the first 3# Is there a way to pull multiple authors? My XPath here is just grabbing the first
4 4
5date: /html/head/meta[@name="date"]/@content 5date: /html/head/meta[@name="date"]/@content
6body: //div[@class='main-content'] 6body: //div[@class='main-content']
7 7
8strip: //p[@class='byline'] 8strip: //p[@class='byline']
9strip: //div[@class='img-gallery'] 9strip: //div[@class='img-gallery']
10strip: //div[@class='callout'] 10strip: //div[@class='callout']
11strip: //div[@class='add-your-view'] 11strip: //div[@class='add-your-view']
12convert_double_br_tags: yes 12convert_double_br_tags: yes
13test_url: http://www.brookings.edu/opinions/2011/1018_cyberattack_libya_goldsmith.aspx \ No newline at end of file 13test_url: http://www.brookings.edu/opinions/2011/1018_cyberattack_libya_goldsmith.aspx \ No newline at end of file