summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mashable.com.txt13
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/