diff options
| author | zinnober <cinnabarit@mailbox.org> | 2014-09-27 13:33:10 +0200 |
|---|---|---|
| committer | zinnober <cinnabarit@mailbox.org> | 2014-09-27 13:33:10 +0200 |
| commit | b9f018614edc65ccc581da1efb02acbd6f372a30 (patch) | |
| tree | c6736a3a56fdda93682457c88eda55066fda42b5 | |
| parent | f5412e437528233bc9a941224d891a5ea9b8b3b1 (diff) | |
| download | ftr-site-config-b9f018614edc65ccc581da1efb02acbd6f372a30.tar.gz ftr-site-config-b9f018614edc65ccc581da1efb02acbd6f372a30.zip | |
Three new templates.
| -rw-r--r-- | canonrumors.com.txt | 28 | ||||
| -rw-r--r-- | designsponge.com.txt | 31 | ||||
| -rw-r--r-- | thisiscolossal.com.txt | 25 |
3 files changed, 84 insertions, 0 deletions
diff --git a/canonrumors.com.txt b/canonrumors.com.txt new file mode 100644 index 0000000..c22cf4f --- /dev/null +++ b/canonrumors.com.txt @@ -0,0 +1,28 @@ +# Author: zinnober + +tidy: no +prune: no + +# Set title +title: //h2 + +date: //li[@class='time'] + +# Set author +author: //a[contains(@rel, 'author')] + +# Content is here +body: //div[@id='content'] + +# Tidy up before article +strip: //div[@class='meta'] + +# Tidy up after article +strip_id_or_class: nr_related_placeholder +strip_id_or_class: twitter-share-button +strip_id_or_class: afterpost +strip_id_or_class: tags + +# Try it yourself +test_url: http://www.canonrumors.com/2014/09/chuck-westfall-talks-canon-eos-7d-mark-ii/ +test_url: http://www.canonrumors.com/2014/09/canon-cinema-eos-captures-space-in-4k-for-new-imax-3d-film/ 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 diff --git a/thisiscolossal.com.txt b/thisiscolossal.com.txt new file mode 100644 index 0000000..ab16ce1 --- /dev/null +++ b/thisiscolossal.com.txt @@ -0,0 +1,25 @@ +# Author: zinnober + +tidy: no +prune: no + +# Set author +author: //a[contains(@rel, 'author')] + +# Content is here +body: //article + +# Tidy up before article +strip: //header + +# Get rid of doubled images +strip: //img[contains(@class, '-hidden')] + +# Tidy up after article +strip_id_or_class: social-list +strip_id_or_class: meta-info +strip: //footer + +# Try it yourself +test_url: http://www.thisiscolossal.com/2014/09/chicago-in-the-fog-by-michael-salisbury/ +test_url: http://www.thisiscolossal.com/2014/09/bird-portraits-ruffling-with-personality-by-leila-jeffreys/ |
