From 4e067ceabd705201a16b4c92cf4b23f3b990326c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Sun, 13 Jul 2014 10:15:40 +0200 Subject: updated specific configuration for parsing --- .../site_config/standard/saveyourself.ca.txt | 46 +++++++++++----------- 1 file changed, 23 insertions(+), 23 deletions(-) mode change 100644 => 100755 inc/3rdparty/site_config/standard/saveyourself.ca.txt (limited to 'inc/3rdparty/site_config/standard/saveyourself.ca.txt') diff --git a/inc/3rdparty/site_config/standard/saveyourself.ca.txt b/inc/3rdparty/site_config/standard/saveyourself.ca.txt old mode 100644 new mode 100755 index 354f5911..5a5605d9 --- a/inc/3rdparty/site_config/standard/saveyourself.ca.txt +++ b/inc/3rdparty/site_config/standard/saveyourself.ca.txt @@ -1,25 +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')] +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.2.3