Well, it's nice to know that in all my years of hacking around with stuff like this that I can still have a huge "oh crap" moment. I got the INDEX and INDEX2 mixed around - well, I didn't realize that I still needed the original INDEX to generate the URL of the specific articles... oops.
This will work better - and I got rid of the max of 5 articles that I put in there for testing. Assuming no other breaking bugs (ha!) I think it makes sense to loop through all of the issues in that "latest" row... just in case a situation comes up like yesterday where they put the cover on that page before they put a TOC in the actual issue itself. This way you should be guaranteed of getting a full issue when the recipe runs.
Thanks for posting one that worked so I could find that stupid bug instead of just giving up and blaming it on clickability!
|