From cbba2d911da7b4dc444be4e9a8569dcc5690ba85 Mon Sep 17 00:00:00 2001 From: Jeremy Benoist Date: Thu, 31 Dec 2015 18:13:20 +0100 Subject: Backport site_config changes from wallabag v1 Fix https://github.com/wallabag/wallabag/issues/1414 --- sportschau.de.txt | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100755 sportschau.de.txt (limited to 'sportschau.de.txt') diff --git a/sportschau.de.txt b/sportschau.de.txt new file mode 100755 index 0000000..1e58b52 --- /dev/null +++ b/sportschau.de.txt @@ -0,0 +1,22 @@ +title://div[@id='ardContent']/h1 + +author://p[@id='ardAutor'] +author://span[@id='ardQuelle'] +author:string('sportschau.de') + +date:substring-after(//span[@id='ardStand'], 'Stand: ') + +body://div[@id='ardContent'] + +strip://div[@id='ardContent']/h1 +strip://p[@id='ardAutor'] +strip: //div[@class='embeddedPlayer_clipinfo'] +strip: //div[@class='ardMehrZumThemaRechts'] +strip: //*[contains(@class, 'inv')] + +strip: //p[@id='ardAbbinder'] +strip: //div[@class='socialBookmarks'] +strip: //div[@id='ardContentEnd'] +strip: //div[@id='ardDisclaimer'] +strip: //div[@id='ardRechteSpalte'] +test_url: http://www.sportschau.de/sp/fussball/news201203/17/analyse_leverkusen_gladbach.jsp \ No newline at end of file -- cgit v1.3.1