mirror of
https://github.com/wallabag/wallabag.git
synced 2024-12-04 23:06:27 +00:00
17 lines
No EOL
729 B
Text
Executable file
17 lines
No EOL
729 B
Text
Executable file
# Tested on:
|
|
# http://theeuropean-magazine.com/352-dyson-george/353-evolution-and-innovation
|
|
# http://theeuropean-magazine.com/522-casertano-stefano/919-morsi-and-the-future-of-egypt
|
|
|
|
title://h2[@class='article-title']
|
|
author:substring-before(substring-after(//p[@class='article-meta'], 'by'), '—')
|
|
date:substring-after(//p[@class='article-meta'], '—')
|
|
body://div[@class='article']
|
|
|
|
wrap_in(strong)://p[@class='article-teaser']
|
|
move_into(//div[@class='article-head'])://li/img
|
|
|
|
strip://h2[@class='article-title']
|
|
strip://p[@class='article-meta']
|
|
strip://div[@class='copyright']
|
|
strip://div[@class='opinions-of-readers']
|
|
test_url: http://theeuropean-magazine.com/522-casertano-stefano/919-morsi-and-the-future-of-egypt |