# Description: Fix XPaths to include ALL chapters on 'view_full_work' pages.
# Include: work meta, summary, chapter information, and notes which Instapaper strips out on default.
# Exclude: header, footer, navigation, comments.
# Notes: User is a newbie with XPaths.

body: //div[@id="workskin"]

prune: no

title: //h2[@class='title']
author: //h3[@class='byline']
author: //a[@class='login author']

strip_id_or_class:header
strip_id_or_class:navigation
strip_id_or_class:feedback
strip_id_or_class:kudos
strip_id_or_class:add_comment_placeholder
strip_id_or_class:add_comment
strip_id_or_class:globalize
strip_id_or_class:footer

single_page_link: //div[@id='main']//a[contains(@href, 'view_adult=true')]

test_url: https://archiveofourown.org/works/229402?view_full_work=true
test_url: https://archiveofourown.org/works/750111/chapters/1399929
