mirror of
https://github.com/wallabag/wallabag.git
synced 2024-12-05 07:16:29 +00:00
17 lines
985 B
Text
Executable file
17 lines
985 B
Text
Executable file
# include the lead graphic in the body, if available
|
|
body: //div[contains(concat(' ', normalize-space(@id), ' '), ' lead_graphic ')] | //div[contains(concat(' ', normalize-space(@itemprop), ' '), ' articleBody ')]
|
|
title: //h1[contains(concat(' ', normalize-space(@itemprop), ' '), ' headline ')]
|
|
date: //time[contains(concat(' ', normalize-space(@itemprop), ' '), ' datePublished ')]
|
|
|
|
strip_id_or_class: photo_credit
|
|
strip_id_or_class: photo_caption
|
|
strip_id_or_class: inline_gallery
|
|
# pull quote, often inside a blockquote element
|
|
strip_id_or_class: pq
|
|
strip_id_or_class: credit
|
|
strip_id_or_class: figcaption
|
|
strip_id_or_class: related_item
|
|
|
|
test_url: http://www.businessweek.com/magazine/buyback-insurance-a-good-deal-for-retailers-07282011.html
|
|
test_url: http://www.businessweek.com/articles/2012-06-06/american-pain-the-largest-u-dot-s-dot-pill-mills-rise-and-fall
|
|
test_url: http://www.businessweek.com/articles/2014-07-09/american-apparel-dov-charneys-sleazy-struggle-for-control
|