diff options
| author | Tom Taylor <tom@tomtaylor.co.uk> | 2014-07-03 09:17:49 +0100 |
|---|---|---|
| committer | Tom Taylor <tom@tomtaylor.co.uk> | 2014-07-03 09:19:00 +0100 |
| commit | 4265f5b7772e694a8fa0729377e52c0d9df022cd (patch) | |
| tree | d959d0e84dea91d3b4dda72493495b109d54e1c6 | |
| parent | e1ac60be5d4f92505eeab72d8b6b88068641b7f2 (diff) | |
| download | ftr-site-config-4265f5b7772e694a8fa0729377e52c0d9df022cd.tar.gz ftr-site-config-4265f5b7772e694a8fa0729377e52c0d9df022cd.zip | |
Fix lareviewofbooks.org.
| -rw-r--r-- | lareviewofbooks.org.txt | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/lareviewofbooks.org.txt b/lareviewofbooks.org.txt index 9f86452..25e3654 100644 --- a/lareviewofbooks.org.txt +++ b/lareviewofbooks.org.txt @@ -1,12 +1,12 @@ -#meta data -title:substring-after(title,'|') - -author:substring-before( substring-after(//meta[@name = 'description']/@content, normalize-space(substring-after(//title,'|'))),' respond ') -date://h5[@class = 'postDate'] +#metadata +title: substring-before(//title,' |') +author: //a[contains(@class,'person') and starts-with(@href, '/contributor')] #text -body://div[@class = 'articleBody'] +body: //div[contains(@class, 'article_body')] #clean up -strip://center -test_url: http://lareviewofbooks.org/post/14066007115/literary-transactions-and-their-vicissitudes
\ No newline at end of file +strip_id_or_class: recommended_section + +test_url: http://lareviewofbooks.org/review/american-politics-redeembale-robert-gates-hillary-clinton-two-memoirs-washington-dc +test_url: http://lareviewofbooks.org/interview/souvenirs-future |
