From 9a69161c8646f63b4d9fa17c6ac3ab922d625859 Mon Sep 17 00:00:00 2001 From: "FiveFilters.org" Date: Wed, 27 Feb 2013 23:43:10 +0100 Subject: Initial commit --- saveyourself.ca.txt | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 saveyourself.ca.txt (limited to 'saveyourself.ca.txt') diff --git a/saveyourself.ca.txt b/saveyourself.ca.txt new file mode 100644 index 0000000..5a5605d --- /dev/null +++ b/saveyourself.ca.txt @@ -0,0 +1,25 @@ +title://h1 + +# my section divs seem to interfere with the Instapaper parser, so I ditch 'em +dissolve://div[contains(@class, 'section')] + +#these don't seem to be necessary, but just in case +strip_id_or_class:'masthead' +strip_id_or_class:'footer' + +#again, Instapaper seems to understand where my content is, but just in case +body://div[@id='content'] + +# in general, I want the Instapaper view to look like my print CSS, so I remove things specified for the screen or non-printing +strip_id_or_class:'screen-only' +strip_id_or_class:'no-print' + +#other misc removals and simplifications +strip_id_or_class:'popup' +strip_id_or_class:'ZoomSpin' + +#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 +wrap_in(blockquote)://div[contains(@class, 'sidebar')] +wrap_in(blockquote)://div[contains(@class, 'meta')] +wrap_in(blockquote)://p[contains(@class, 'meta')] +test_url: http://saveyourself.ca/tutorials/low-back-pain.php \ No newline at end of file -- cgit v1.3.1