diff options
| author | FiveFilters.org <fivefilters@fivefilters.org> | 2014-08-24 15:59:05 +0200 |
|---|---|---|
| committer | FiveFilters.org <fivefilters@fivefilters.org> | 2014-08-24 15:59:05 +0200 |
| commit | 4a211158d6844b1f6d121a0d0f76323eebd6a15c (patch) | |
| tree | 5ae6828cc218b3ff61660a961082443af13ef808 | |
| parent | e0fad87825769c66017bc3bf3c9ba937e2bda5c2 (diff) | |
| download | ftr-site-config-4a211158d6844b1f6d121a0d0f76323eebd6a15c.tar.gz ftr-site-config-4a211158d6844b1f6d121a0d0f76323eebd6a15c.zip | |
bbc.com
| -rw-r--r-- | bbc.com.txt | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/bbc.com.txt b/bbc.com.txt new file mode 100644 index 0000000..93a3604 --- /dev/null +++ b/bbc.com.txt @@ -0,0 +1,51 @@ +body: //div[@class="story-body"] +# for video entries +body: //div[contains(@class, "videoInStory") or @id="meta-information"] +title: //h1[@class="story-header"] +date: //span[@class="story-date"]/span[@class='date'] +# for sport site +date: //meta[@name='DCTERMS.created']/@content +author: //div[@id='headline']//span[@class='byline-name'] + +# recipes, e.g. http://www.bbc.co.uk/food/recipes/mymincepies_71055 +body: //div[contains(@class, 'hrecipe')]//div[@id='subcolumn-1'] + +#strip: //div[@class="story-feature narrow"] +#strip: //div[@class="story-feature wide"] +#strip: //div[@class="story-feature dslideshow-enclosure"] +strip: //div[contains(@class, "story-feature") and not(contains(@class, 'full-width'))] +strip: //span[@class="story-date"] +#strip: //div[@class="caption body-narrow-width"] +strip: //div[@class="warning"]//p +strip: //div[@id='page-bookmark-links-head'] +strip: //object +strip: //div[contains(@class, "bbccom_advert_placeholder")] +strip: //div[contains(@class, "embedded-hyper")] +strip: //div[contains(@class, 'market-data')] +strip: //a[contains(@class, 'hidden')] +strip: //div[contains(@class, 'hypertabs')] +strip: //div[contains(@class, 'related')] +strip: //form[@id='comment-form'] +strip: //div[contains(@class, 'comment-introduction')] +strip: //div[contains(@class, 'share-tools')] +strip: //div[@id='also-related-links'] + +strip_id_or_class: share-help +strip_id_or_class: comments_module + +replace_string(<noscript>): <div> +replace_string(</noscript>): </div> + +tidy: no +prune: no + +dissolve: //h2 +test_url: http://www.bbc.com/sport/0/football/28918021 +test_url: http://www.bbc.com/sport/0/football/23224017 +test_url: http://www.bbc.com/news/business-15060862 +# news feed +test_url: http://feeds.bbci.co.uk/news/rss.xml +# sports feed +test_url: http://feeds.bbci.co.uk/sport/0/football/rss.xml?edition=int +# video entry +test_url: http://www.bbc.com/news/world-asia-22056933
\ No newline at end of file |
