Objective-C Library for RSS feed parsing? - objective-c

I'm looking for an Objective-C library for an iOS app that will parse and display articles form an RSS feed.
Specifically,m I'm looking to make an app for a news website. The framework should be able to work with various RSS XML structures if possible. (Well, two different news sites. One uses Wordpress-generated RSS and one does not.)

MWFeedParser is another interesting library to look into.

How about https://github.com/touchcode/TouchRSS?

My drop-in solution (deals with Wordpress' RSS 2.0 and the Atom 1.0 format as well): http://github.com/H2CO3/RSSKit

You could use Apples NSXMLParser Class. Or you could use the C-based libXML2.

This library is about as old as this question: https://github.com/NextfazeSD/WordPressSyncer. It syncs WordPress blogs from the server, saving data locally in a core data database.

Related

How to get and parse JSON using objective C?

Is it possible to get and parse JSON using objective C, then manipulate it within the cocoa framework for the iphone/pad? I'm specifically looking to do this for a couple of public APIs out there.
See here: how to do json parsing in iphone
Basically, you should look into the TouchJSON library (with CJSONDeserializer and CJSONSerializer).
Used Json-framework on some previous projects, worked really well.
EDIT: I read your post a bit too fast. I've used it on a Mac app before but not targeting the iphone/ipad. I think it should work but have no background to it. Maybe someone else can confirm?
It's not only possible, it's dirt simple if you use one of the many existing open source projects dedicated to this task. I recommend trying yajl-objc, which offers a streaming parser, but json-framework is a good one too. They're very similar.
I'd stay away from TouchJSON, since it gave me trouble a while back with special characters (line breaks) in strings.
However, I'll join the choir recommending json-framework. Since I switched to that from TouchJSON everything's been running smoothly.
Regarding how to integrate the API in your project, they're equally simple to include and use.
As a side note, I'm just now testing out JSONKit, since it's supposed to be much faster than both TouchJSON and json-framework. However, I can't vouch for its stability yet. The reviews of it are good, though.
If you're developing an application that is only iOS 5.0 or later, you can use NSJSONSerialization.

iPhone app server communication XML or JSON?

Which method is easier and more efficient? XML or Json
Where can I find a tutorial and code samples for each?
I recently learned how to use JSON on the iPhone and it was very easy.
Here's a framework:
http://code.google.com/p/json-framework/
General JSON info can be found here:
http://www.json.org/

How do you read/write/update m4u and mp3 file meta data using cocoa/objective c?

Are there some particular library files available on OS/X that are relevant, I am just not sure where to start.
You'd probably want to use the QuickTime for that. There is some sample code that does this. However, it's not the nicest way to access metadata. The newer QTKit Framework somehow still requires you to fall back to the C-based APIs. There is another example from Apple embedding meta data writing into a Objective-C method. This might be the best starting point for you.

RSS reader in VB 2008?

Are there any built in libraries/classes in VB 2008 to help to create an RSS reader?
Are there any tutorials online that would help?
Please provide links when answering the second part of the question.
System.ServiceModel.Syndication contains a bunch of classes for creating and consuming RSS and Atom feeds.
Edit: I've never used these classes, so I can't give any examples from my own code. However, a quick search turned up some examples that seem pretty good. Sorry they're not in VB, but the important parts (using the Syndication classes) are mostly the same in both languages.
Daniel Cazzulino
dotnetslackers
Darren Johnstone
Not exactly built in.
RSS documents are XML documents; you do have XmlDocument or can XML serialize a class to create that RSS feed.
Creating an Online RSS News Aggregator with ASP.NET
RSS in .NET Made Easy with XML Serialization

Testing RSS feeds

I am looking to test an RSS Feed I have created and I am looking for some good RSS Feed applications to test with.
Don't just try a bunch and see if it works -validate it. Let me google those for you:
W3C RSS validator
Experimental Online RSS 1.0 Validator
Firefox should work well enough for basic testing. You could also try using Google reader.
It would be worth testing the feed in Safari.
Also, if you're using Mac OS X, here are some good applications to test it in:
NetNewsWire
Apple Mail (comes with OS X)
NewsFire
Times
However, if it is a valid feed, you should be OK.
Steve
Don't forget Outlook. Large market share and its own quirks.
Circa 2009, one great answer was the python library and website at http://www.feedvalidator.org/. It was supposed to be very picky and have lots of tests.
The code still exists at https://github.com/rubys/feedvalidator but hasn’t gotten much attention since circa 2008. It could be a good starting point for a newly-updated library. All the tests could make that easier;
there’s a py3 branch with a bit of progress on it.
Google Reader
Feed Demon
RSS Reader applications -
Greatnews
Online RSS reader - Google Reader
Also, some useful FF add-ons for such:
Simple RSS reader
RSS Validator
Sage
Beatnik