Comments (4)
The full feed contents must be downloaded for the XML document to be valid and the parsing to begin. However you are able to stop the parsing operation after the first item has been parsed (i.e. calling the -stopParsing the first time -feedParser:didParseFeedItem: is called). This will prevent the parser from parsing of the rest of the document. Hope this helps.
from mwfeedparser.
The parsing doesnt take much time. its the downloading. Can I do parallel downloading? Or can I just download new articles (currently I m downloading a big feed every hour but usually 95% of the feed is old news ie. i have already downloaded and parsed them) Is then a way to just download articles that have NOT been downloaded before?
from mwfeedparser.
Unfortunately I'm not aware of any easy way of doing this. I'm sure it's possible, however it's out of the scope of this project.
If you were to successfully merge previously downloaded data and new feed items, you could fork this project and pass the XML parser your own NSData object containing the new merged document.
Best of luck!
from mwfeedparser.
I dont want to merge previously downloaded data and new feed items. Previously downloaded data has already been parsed. I dont want to parse it again. If a user refreshes, I want to download articles that have been recently published. Since you said you need to download the entire feed before you need to parse it, it sounds redundant since the app will have to parse articles it has parsed before.
from mwfeedparser.
Related Issues (20)
- Why Weird Licence
- Enclosures does not contain all media content HOT 3
- Retrieving <wfw:commentRss> and <slash:comments>
- Can`t call delegate functions
- iOS 9 SSL Issues HOT 3
- How To parse Image (media:content) HOT 1
- How display image for different RSSfedd's Key. like (media:content , image, thumbnail)
- Problem with & HOT 1
- Atom parsing: MWFeedItem 'link' is null HOT 1
- Search with keyword.
- Impliment search option.
- Problem (and solution) handling 32bit unicode entities
- Current code is not working HOT 5
- exc_bad_access when dismissing MWFeedParser delegate
- create app with wordpress
- Support for IOS10?
- Error Domain=MWFeedParser Code=2 "A server with the specified hostname could not be found." UserInfo={NSLocalizedDescription=A server with the specified hostname could not be found.}
- Error parsing img tag (and possibly dates)
- Crash On iOS 8 / Xcode 6 - Beta 6
- Using MWFeedParser for parsing only HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mwfeedparser.