summaryrefslogtreecommitdiff
path: root/pittnews.com.txt
diff options
context:
space:
mode:
Diffstat (limited to 'pittnews.com.txt')
-rwxr-xr-xpittnews.com.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/pittnews.com.txt b/pittnews.com.txt
new file mode 100755
index 0000000..c302526
--- /dev/null
+++ b/pittnews.com.txt
@@ -0,0 +1,8 @@
+title: //h2[@class='post-title']
+author: substring-before(substring-after(//h3[@class='post-byline'],'By:'),'/')
+date: substring-before(substring-after(//p[@class='post-details'],'Posted on '),'in')
+strip: //h2[@class='post-title']
+strip: //p[@class='post-details']
+strip: //h3[@class='post-byline']
+body: //div[@id='content']
+test_url: http://pittnews.com/newsstory/mens-basketball-pitt-recruit-robinson-to-bring-leadership/ \ No newline at end of file