1 # Description: Fix XPaths to include ALL chapters on 'view_full_work' pages.
2 # Include: work meta, summary, chapter information, and notes which Instapaper strips out on default.
3 # Exclude: header, footer, navigation, comments.
4 # Notes: User is a newbie with XPaths.
6 title: //h2[@class='title']
7 author: //h3[@class='byline']
8 author: //a[@class='login author']
10 strip_id_or_class:header
11 strip_id_or_class:navigation
12 strip_id_or_class:feedback
13 strip_id_or_class:kudos
14 strip_id_or_class:add_comment_placeholder
15 strip_id_or_class:add_comment
16 strip_id_or_class:globalize
17 strip_id_or_class:footer
19 single_page_link: //div[@id='main']//a[contains(@href, 'view_adult=true')]
21 test_url: http://archiveofourown.org/works/229402?view_full_work=true
22 test_url: http://archiveofourown.org/works/750111/chapters/1399929