wallabag/inc/3rdparty/site_config/standard/cnn.com.txt

23 lines
1.1 KiB
Text
Raw Normal View History

body: //div[@id='cnnContentContainer']//div[contains(@class, 'cnn_strycntntlft')]
title: //div[@class="cnn_storyarea"]/h1
author: //div[@class="cnnByline"]/strong
date: substring-after(//div[@class="cnn_strytmstmp"], 'Sun')
date: substring-after(//div[@class="cnn_strytmstmp"], 'Mon')
date: substring-after(//div[@class="cnn_strytmstmp"], 'Tue')
date: substring-after(//div[@class="cnn_strytmstmp"], 'Wed')
date: substring-after(//div[@class="cnn_strytmstmp"], 'Thu')
date: substring-after(//div[@class="cnn_strytmstmp"], 'Fri')
date: substring-after(//div[@class="cnn_strytmstmp"], 'Sat')
strip: //div[@class="cnn_storyarea"]/h1
strip_id_or_class: cnnByline
strip_id_or_class: cnn_strytmstmp
strip_id_or_class: cnn_strycaptiontxt
strip_id_or_class: cnn_strybtntoolsbttm
strip_id_or_class: cnn_strybtntools
strip_id_or_class: cnn_strybtmcntnt
strip_id_or_class: sharebar
#strip_id_or_class: cnn_containerwht
strip_id_or_class: cnn_stryathrtmp
replace_string(<a name="em0"></a>): <!-- a name -->
test_url: http://www.cnn.com/2012/05/13/us/new-york-police-policy/index.html?eref=rss_topstories
test_url: http://rss.cnn.com/rss/edition.rss