From f3c93ca426a0379ad61ae0394cc7a2e6914c3925 Mon Sep 17 00:00:00 2001 From: Ankur Sinha Date: Sat, 18 Feb 2017 14:45:19 +0000 Subject: Config for pubmed (#263) * Config for pubmed * Add test link --- ncbi.nlm.nih.gov.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 ncbi.nlm.nih.gov.txt diff --git a/ncbi.nlm.nih.gov.txt b/ncbi.nlm.nih.gov.txt new file mode 100644 index 0000000..879dda4 --- /dev/null +++ b/ncbi.nlm.nih.gov.txt @@ -0,0 +1,10 @@ +title: //div[contains(concat(' ',normalize-space(@class),' '),' rprt ')]//h1 +author: //div[contains(concat(' ',normalize-space(@class),' '),' auths ')] +date: //div[contains(concat(' ',normalize-space(@class),' '),' cit ')] +body: //div[contains(concat(' ',normalize-space(@class),' '),' abstr ')] +body: //div[contains(concat(' ',normalize-space(@class),' '),' icons ')] +strip: //div[@id='footer'] +strip: //div[contains(concat(' ',normalize-space(@class),' '),' header ')] +prune: yes +test_link: https://www.ncbi.nlm.nih.gov/pubmed/10356353?access_num=10356353&link_type=MED&dopt=Abstract + -- cgit v1.3.1