]>
Commit | Line | Data |
---|---|---|
1 | # Author's name, when present, has 'skrifar:' ('writes:') appended to it.\r | |
2 | # In case of multiple authors, this would be 'skrifa:', hence only 7 characters\r | |
3 | # are stripped off.\r | |
4 | author: substring(//div[@class='paragraph']/div[@class='meta'], 0, string-length(//div[@class='paragraph']/div[@class='meta']) - 7)\r | |
5 | \r | |
6 | date: //span[@class='date']\r | |
7 | title: //h1\r | |
8 | body: //div[@class='paragraph']\r | |
9 | \r | |
10 | # Strip out author string when present\r | |
11 | strip: //div[@class='paragraph']/div[@class='meta']\r | |
12 | \r | |
13 | convert_double_br_tags: yes | |
14 | test_url: http://visir.is/esb,-ipa,-bhm-og-bsrb/article/2012701319997 |