diff options
| -rw-r--r-- | cbsnews.com.txt | 3 | ||||
| -rw-r--r-- | mashable.com.txt | 13 |
2 files changed, 12 insertions, 4 deletions
diff --git a/cbsnews.com.txt b/cbsnews.com.txt index 780bc15..04d2023 100644 --- a/cbsnews.com.txt +++ b/cbsnews.com.txt @@ -8,7 +8,8 @@ body: //div[@id='storyMediaBox'] | //div[contains(@class, 'storyText')] strip: //div[@class="scrollingArrows"] strip: //div[@class="timeLine"] strip: //dl[@class="storyBlogByline"] +strip: //span[@class='image-credit'] prune: no -test_url: http://www.cbsnews.com/8301-201_162-57366361/rescued-americans-dad-proud-of-the-u.s/
\ No newline at end of file +test_url: http://www.cbsnews.com/8301-201_162-57366361/rescued-americans-dad-proud-of-the-u.s/ 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/ |
