]>
Commit | Line | Data |
---|---|---|
4e067cea NL |
1 | title://h1 |
2 | ||
3 | # my section divs seem to interfere with the Instapaper parser, so I ditch 'em | |
4 | dissolve://div[contains(@class, 'section')] | |
5 | ||
6 | #these don't seem to be necessary, but just in case | |
7 | strip_id_or_class:'masthead' | |
8 | strip_id_or_class:'footer' | |
9 | ||
10 | #again, Instapaper seems to understand where my content is, but just in case | |
11 | body://div[@id='content'] | |
12 | ||
13 | # in general, I want the Instapaper view to look like my print CSS, so I remove things specified for the screen or non-printing | |
14 | strip_id_or_class:'screen-only' | |
15 | strip_id_or_class:'no-print' | |
16 | ||
17 | #other misc removals and simplifications | |
18 | strip_id_or_class:'popup' | |
19 | strip_id_or_class:'ZoomSpin' | |
20 | ||
21 | #I have a lot of content in sidebars and "meta" asides that can work inline just fine, but has to be distinguished somehow with some minimal formatting, so I put them in blockquotes | |
22 | wrap_in(blockquote)://div[contains(@class, 'sidebar')] | |
23 | wrap_in(blockquote)://div[contains(@class, 'meta')] | |
ac4d1142 NL |
24 | wrap_in(blockquote)://p[contains(@class, 'meta')] |
25 | test_url: http://saveyourself.ca/tutorials/low-back-pain.php |