hope someone can help. I appreciate there are a few questions that are similar on here, but not specific enough for me.
I'm teaching myself iOS, so decided to write a simple RSS reader app from a Wordpress site. All is working fine, but now I want to try and store the page within iOS to read when offline. Thought it would be a good way to learn how to encode and store data.
Reading the XML nodes and storing title, description, etc is all fine, that works. The issue I've got is when there's an image embedded in the feed. If I read and store the 'content:encoded' XML info, then view that in a webView that works fine, unless I'm offline when everything will work except for the image, as that's just a HTML reference.
I guess I want to
a) identify the image URL, then remove it from the content:encoded b) download and store in my array, associated with the post c) then read the image back out again.
Or something with a different approach, but similar effect.
If there was a way of adding a new XML 'featuredimage' node or similar, this would be relatively straightforward I think, but I can't see how to do that.
Would be very grateful for any ideas/pointers on this one, many thanks.