diff options
| author | timgws <tim@timg.ws> | 2013-05-29 10:42:09 +1000 |
|---|---|---|
| committer | timgws <tim@timg.ws> | 2013-05-29 10:42:09 +1000 |
| commit | 3e8bf367fc25e4aaea48751f3454ec63c63270de (patch) | |
| tree | 50cf3de2bd22103bbe1a3e509f587c9d9cb4239b /mashable.com.txt | |
| parent | d7f33afb4159932270d43de163257dcf8df438d3 (diff) | |
| download | ftr-site-config-3e8bf367fc25e4aaea48751f3454ec63c63270de.tar.gz ftr-site-config-3e8bf367fc25e4aaea48751f3454ec63c63270de.zip | |
Update mashable.com.txt
Add the author & date of the mashable article. Make sure that the primary image is provided as part of the article.
Diffstat (limited to 'mashable.com.txt')
| -rw-r--r-- | mashable.com.txt | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/mashable.com.txt b/mashable.com.txt index 2c5a14a..b6efb6c 100644 --- a/mashable.com.txt +++ b/mashable.com.txt @@ -1,4 +1,11 @@ -title: //header[@class='entry-title']/h1 -body: //div[@class='description'] +title: //h1[@class='title'] +author: substring-after(//span[@class='author_name'], 'By ') +date: //time + +body: //article strip: //div[@class='ytm-gallery-box'] -test_url: http://mashable.com/2011/12/05/india-wants-google-and-facebook-to-censor-user-content/
\ No newline at end of file +strip: //div[contains(@class, 'adsense')] +strip: //aside[contains(@class, 'social')] +strip_id_or_class: article-topics + +test_url: http://mashable.com/2013/05/24/myspace-architects-rebuilding-a-brand/ |
