Quote:
Originally Posted by kidblue
I'm extremely interested -
|
Reading the Advanced Recipe page will clue you in to what Tony did, and how he made the internal browser click on the print link. I have to say, I'm not sure why he chose to do it that way. I haven't checked to see if the links are truly obfuscated, or if there was some reason why just stripping the article page was more difficult than going to the print page.
Based on what I read here, it looks like Tony had some trouble when he told the internal browser to click on a link to the print version, and there was no such link?
Another approach might have been to use print_version, build a soup of the article page, extract the desired print link and return that, but if it's not found, do something else. Each recipe writer has different preferences, and unless you really look closely at the article pages, it's hard to know why they chose to do what they did.