mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-01 14:49:15 +00:00
16 lines
No EOL
559 B
Text
Executable file
16 lines
No EOL
559 B
Text
Executable file
body: //div[@class="entry-content"]
|
|
|
|
# Remove text ‘Tweet’
|
|
strip: //div[@class="entry-content"]/div[last()]
|
|
|
|
title: h1[@class="entry-title"]
|
|
|
|
# If the Instapaper text parser worked with HTML5 tags, we would use:
|
|
date: //time[@class="entry-date"]
|
|
|
|
# But since it does not, use this more complicated rule:
|
|
date: //div[@class="entry-meta"]/a[@rel="bookmark"]
|
|
|
|
# Unfortunately, the following rule is overridden by the automatically found author.
|
|
author: ("Benoit Maison")
|
|
test_url: http://www.benoitmaison.org/2011/12/06/why-siri-had-to-start-in-beta/ |