![]() |
#1 |
Member
![]() Posts: 15
Karma: 14
Join Date: Jun 2011
Location: Brazil
Device: Kindle
|
![]()
Hi buddies!
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. Spoiler:
|
![]() |
![]() |
![]() |
#2 |
Member
![]() Posts: 15
Karma: 10
Join Date: Apr 2011
Device: Kindle
|
Muito Obrigado, Bortolotto!
That suits my needs, but also provides me a good starting point to learn how to manipulate recipes. I will try to improve it and post here. thanks |
![]() |
![]() |
![]() |
#3 |
Member
![]() Posts: 15
Karma: 10
Join Date: Apr 2011
Device: Kindle
|
Couple of quick comments:
1. I've added Code:
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: Code:
<div class="img_article"> <img src="/assets/media/images/artigos/1373/AH1309873890x5711.jpg" width="660" alt="" /> </div> |
![]() |
![]() |
![]() |
#4 |
Enthusiast
![]() Posts: 31
Karma: 12
Join Date: Jul 2011
Location: São Paulo, Brasil/Brazil
Device: Kindle 3 3G
|
Thank you both for the work
![]() |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Request: recipe for google new "Think Quarterly" magazine | gloomygod | Recipes | 0 | 03-24-2011 08:08 AM |
New Recipe for Revista El Cultural(Spain) | jefferson_frantz | Recipes | 0 | 10-08-2010 10:18 PM |
Article on Plastic Logic in german magazine "Der Spiegel" | Manichean | News | 1 | 09-18-2008 06:48 AM |