diff options
| author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2015-12-31 18:13:20 +0100 |
|---|---|---|
| committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2015-12-31 18:13:20 +0100 |
| commit | cbba2d911da7b4dc444be4e9a8569dcc5690ba85 (patch) | |
| tree | 25ae329c4c2b43f7fef07a10d945f7084d9441a9 /thedaily.com.txt | |
| parent | 7e2e4967a3885cd0c45469ecf6c0547f8c3ab722 (diff) | |
| download | ftr-site-config-cbba2d911da7b4dc444be4e9a8569dcc5690ba85.tar.gz ftr-site-config-cbba2d911da7b4dc444be4e9a8569dcc5690ba85.zip | |
Backport site_config changes from wallabag v1
Fix https://github.com/wallabag/wallabag/issues/1414
Diffstat (limited to 'thedaily.com.txt')
| -rwxr-xr-x | thedaily.com.txt | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/thedaily.com.txt b/thedaily.com.txt new file mode 100755 index 0000000..e255e6a --- /dev/null +++ b/thedaily.com.txt @@ -0,0 +1,24 @@ +#keep all body text +prune: no + +#title, body, metadata +title: //div[@class='story_header']/h1 +body: //div[@id='content'] +author: substring-after(//span[@class='byline'], "by ") +author: substring-after(//span[@class='byline'], "By ") +author: //span[@class='byline'] +date: //span[@class='date'] + +#formatting +convert_double_br_tags: yes +dissolve: //div[@class='slides_full']/ul/li + +# cleanup +strip: //a[@id='story_note'] +strip: //br +strip: //div[@class='intro'] +strip: //div[@class='share-block'] +strip: //div[@class='sidebar-social'] +strip: //div[@class='top-stories'] +strip: //div[@class='prevnext'] +test_url: http://www.thedaily.com/page/2012/01/09/010912-news-college-costs-1-5/
\ No newline at end of file |
