|07-15-2011, 12:31 AM||#1|
Join Date: Jun 2011
Recipe for "Revista Piaui" (a brazilian magazine)
Today I am posting a recipe to a brazilian magazine named "Revista Piaui". This is a first version. There are some problems not handled yet:
1 - The sort order of articles are based in the date of publication at the feed, not in the magazine's "table of contents".
2 - There are some articles that need a subscriber code. Without that code, there are only a introduction for articles.
3 - There are some links in the feed with content "only on the site". That could be someway removed.
4 - The first article shows, in fact, the list of magazine's contents. But it could be usefull because it has also the cover.
|07-15-2011, 12:12 PM||#3|
Join Date: Apr 2011
Couple of quick comments:
1. I've added
masthead_url = 'http://revistapiaui.estadao.com.br/assets/modules/website/images/logo-piaui.png'
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:
<div class="img_article"> <img src="/assets/media/images/artigos/1373/AH1309873890x5711.jpg" width="660" alt="" /> </div>
|Thread Tools||Search this Thread|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Request: recipe for google new "Think Quarterly" magazine||gloomygod||Recipes||0||03-24-2011 09:08 AM|
|New Recipe for Revista El Cultural(Spain)||jefferson_frantz||Recipes||0||10-08-2010 11:18 PM|
|Article on Plastic Logic in german magazine "Der Spiegel"||Manichean||News||1||09-18-2008 07:48 AM|