]>
Commit | Line | Data |
---|---|---|
ac4d1142 NL |
1 | title://h1\r |
2 | \r | |
3 | # my section divs seem to interfere with the Instapaper parser, so I ditch 'em\r | |
4 | dissolve://div[contains(@class, 'section')]\r | |
5 | \r | |
6 | #these don't seem to be necessary, but just in case\r | |
7 | strip_id_or_class:'masthead'\r | |
8 | strip_id_or_class:'footer'\r | |
9 | \r | |
10 | #again, Instapaper seems to understand where my content is, but just in case\r | |
11 | body://div[@id='content']\r | |
12 | \r | |
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\r | |
14 | strip_id_or_class:'screen-only'\r | |
15 | strip_id_or_class:'no-print'\r | |
16 | \r | |
17 | #other misc removals and simplifications\r | |
18 | strip_id_or_class:'popup'\r | |
19 | strip_id_or_class:'ZoomSpin'\r | |
20 | \r | |
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\r | |
22 | wrap_in(blockquote)://div[contains(@class, 'sidebar')]\r | |
23 | wrap_in(blockquote)://div[contains(@class, 'meta')]\r | |
24 | wrap_in(blockquote)://p[contains(@class, 'meta')] | |
25 | test_url: http://saveyourself.ca/tutorials/low-back-pain.php |