1 body: //div[@class="story-body"]
3 body: //div[contains(@class, "videoInStory") or @id="meta-information"]
4 title: //h1[@class="story-header"]
5 date: //span[@class="story-date"]/span[@class='date']
7 date: //meta[@name='DCTERMS.created']/@content
8 author: //div[@id='headline']//span[@class='byline-name']
10 # recipes, e.g. http://www.bbc.co.uk/food/recipes/mymincepies_71055
11 body: //div[contains(@class, 'hrecipe')]//div[@id='subcolumn-1']
13 #strip: //div[@class="story-feature narrow"]
14 #strip: //div[@class="story-feature wide"]
15 #strip: //div[@class="story-feature dslideshow-enclosure"]
16 strip: //div[contains(@class, "story-feature") and not(contains(@class, 'full-width'))]
17 strip: //span[@class="story-date"]
18 #strip: //div[@class="caption body-narrow-width"]
19 strip: //div[@class="warning"]//p
20 strip: //div[@id='page-bookmark-links-head']
22 strip: //div[contains(@class, "bbccom_advert_placeholder")]
23 strip: //div[contains(@class, "embedded-hyper")]
24 strip: //div[contains(@class, 'market-data')]
25 strip: //a[contains(@class, 'hidden')]
26 strip: //div[contains(@class, 'hypertabs')]
27 strip: //div[contains(@class, 'related')]
28 strip: //form[@id='comment-form']
29 strip: //div[contains(@class, 'comment-introduction')]
30 strip: //div[contains(@class, 'share-tools')]
31 strip: //div[@id='also-related-links']
33 find_string: http://ichef.bbci.co.uk/news/200/
34 replace_string: http://ichef.bbci.co.uk/news/624/
36 find_string: http://ichef.bbci.co.uk/news/304/
37 replace_string: http://ichef.bbci.co.uk/news/624/
39 strip_id_or_class: share-help
40 strip_id_or_class: comments_module
42 replace_string(<noscript>): <div>
43 replace_string(</noscript>): </div>
50 test_url: http://www.bbc.co.uk/sport/0/football/23224017
51 test_contains: Swansea City have completed the club-record signing
53 test_url: http://www.bbc.co.uk/news/business-15060862
54 test_contains: Europe's leaders are meeting again to try to solve
57 test_url: http://feeds.bbci.co.uk/news/rss.xml
59 test_url: http://feeds.bbci.co.uk/sport/0/football/rss.xml?edition=int
61 test_url: http://www.bbc.co.uk/news/world-asia-22056933