Couple of quick comments:
1. I've added
Code:
masthead_url = 'http://revistapiaui.estadao.com.br/assets/modules/website/images/logo-piaui.png'
So that it adds Piaui logo to the top of the articles (I think this is only useful for Kindle users).
2. Also, I've turned off the "reverse_article_order". There is a trade off here. If you revert the order, the first article shows you the cover and the index, which is nice... But if you keep the order as it is, all the subscription-only articles go to the end, keeping the free ones at the top, which is even more useful.
I am trying to figure out a way of:
(a) Change the order so that the last article becomes the first, but the rest of the order is inaltered ([1, 2, 3, ..., n-1, n] to become [n, 1, 2, 3, ..., n-1]).
(b) Get the cover. This is a bit of a challenge for me. The cover is exactly on link n, as I mentioned above. I have to:
I. find link n;
II. look for <div class="img_article">;
III. The cover will be in a location like the one below:
Code:
<div class="img_article">
<img src="/assets/media/images/artigos/1373/AH1309873890x5711.jpg" width="660" alt="" />
</div>
Cheers!