-
Notifications
You must be signed in to change notification settings - Fork 259
/
.wordpress.com.txt
27 lines (23 loc) · 1.03 KB
/
.wordpress.com.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# try to target content block within div#content
body: //div[@id="content"]//div[contains(@class, 'entry-content') or contains(@class, 'entrytext') or @class='main' or @class='entry']
# if that fails, get div#content
body: //div[@id='content']
title: //meta[@property='og:title']/@content
date: //div[@id='content']//span[contains(@class, 'entry-date')]
date: //div[contains(@class, 'entry-meta')]//time[@pubdate or @pubDate]
author: //div[contains(@class, 'entry-meta')]//a[@rel='author']
prune: no
strip: //nav
strip: //header
strip: //*[@id='comments' or @id='respond']
strip: //div[contains(@class, 'comments')]
strip_id_or_class: sharedaddy
strip_id_or_class: wpadvert
strip_id_or_class: commentlist
strip_id_or_class: sociable
strip_id_or_class: related_post
strip_id_or_class: wp-socializer
strip_id_or_class: addtoany
strip: //div[contains(concat(' ',normalize-space(@class),' '),' navigation ')]
#strip: //iframe
test_url: https://elisehahn.wordpress.com/2013/09/22/looking-back-to-move-forward-navigating-race-and-racism-in-neoliberal-terrain/