summaryrefslogtreecommitdiff
path: root/domusweb.it.txt
diff options
context:
space:
mode:
authorFiveFilters.org <fivefilters@fivefilters.org>2013-02-27 23:43:10 +0100
committerFiveFilters.org <fivefilters@fivefilters.org>2013-02-27 23:43:10 +0100
commit9a69161c8646f63b4d9fa17c6ac3ab922d625859 (patch)
tree62a446347e1279f00383fdd7f9637cfd58a50879 /domusweb.it.txt
downloadftr-site-config-9a69161c8646f63b4d9fa17c6ac3ab922d625859.tar.gz
ftr-site-config-9a69161c8646f63b4d9fa17c6ac3ab922d625859.zip
Initial commit
Diffstat (limited to 'domusweb.it.txt')
-rw-r--r--domusweb.it.txt21
1 files changed, 21 insertions, 0 deletions
diff --git a/domusweb.it.txt b/domusweb.it.txt
new file mode 100644
index 0000000..20566ee
--- /dev/null
+++ b/domusweb.it.txt
@@ -0,0 +1,21 @@
+# TODO: clean up the extra junk at the end of articles
+
+# general text formatting
+prune: no
+convert_double_br_tags:yes
+
+# where to find the basic metadata
+author://a[@class='articleauthor']
+date://a[starts-with(@href,'/en/search/published/')]
+title:substring-before(//h2[@class='title'],'&mdash;')
+body://div[@id='maincontainer']
+
+dissolve://div[starts-with(@id,'commentableblock')]
+
+# clean up the crap
+strip://div[contains(@class,'domusnetwork')]
+strip://div[contains(@class,'relative_wrapper')]
+
+strip://div[contains(@class,'captionsubimage')]/img[contains(@class,'arrow')]
+wrap_in(em): //div[contains(@class,'captionsubimage')]/span
+test_url: http://www.domusweb.it/en/design/in-praise-of-lost-time/ \ No newline at end of file