Quote:
Originally Posted by Ekips
I'm still trying to stumble my way through a custom script to fetch the news from the sun website, I've sorted it so it changes the web page into the print page and leaves out the slideshows but it fetches all sorts of rubbish after the story including all the 'connect to us' stuff
How would I just get the headline and the main body of the article?
Here's the source code from a basic printpage from the sun.co.uk
What tags do I need to keep and what ones should I drop?
Thanks.
|
Give us the recipe you're using that's causing trouble. I see you have one above, but you said there it wasn't retrieving, but in this post, it's retrieving, but leaving junk. The code from the site is hard to work with. Just post your best recipe with the problem you're having and I'll take a look.