summaryrefslogtreecommitdiff
path: root/designsponge.com.txt
diff options
context:
space:
mode:
authorFiveFilters.org <fivefilters@fivefilters.org>2014-09-27 23:09:49 +0200
committerFiveFilters.org <fivefilters@fivefilters.org>2014-09-27 23:09:49 +0200
commit6bb477185de00872dc55e4db10239f861f5c8fca (patch)
tree7abce5950ebca016ae2ed19c1f2e0386df797a08 /designsponge.com.txt
parentb8fdabc746f2e764ac3cd9c5f14c0982cbcea72d (diff)
parentb9f018614edc65ccc581da1efb02acbd6f372a30 (diff)
downloadftr-site-config-6bb477185de00872dc55e4db10239f861f5c8fca.tar.gz
ftr-site-config-6bb477185de00872dc55e4db10239f861f5c8fca.zip
Merge pull request #48 from zinnober/contributions
Three new templates.
Diffstat (limited to 'designsponge.com.txt')
-rw-r--r--designsponge.com.txt31
1 files changed, 31 insertions, 0 deletions
diff --git a/designsponge.com.txt b/designsponge.com.txt
new file mode 100644
index 0000000..2cd2f1f
--- /dev/null
+++ b/designsponge.com.txt
@@ -0,0 +1,31 @@
+# Author: zinnober
+
+tidy: no
+prune: no
+
+# Set title
+title: //header/h1
+
+# Set author
+author: //a[rel='author']
+
+# Content is here
+body: //article
+
+# Tidy up before article
+strip: //header
+
+# Tidy up article
+strip: //div[contains(@id, 'gallery-')]
+replace_string(<a rel="attachment): <p rel="attachment
+
+
+# Tidy up after article
+strip: //div[@class='sm']
+strip_id_or_class: related
+strip_id_or_class: comments
+strip: //footer
+
+# Try it yourself
+test_url: http://www.designsponge.com/2010/06/seattle-design-guide.html
+test_url: http://www.designsponge.com/2012/04/sneak-peek-liz-cook.html