Google Reader API HTTP Response parsing (Objective C)

Posted by JustinXXVII on Stack Overflow See other posts from Stack Overflow or by JustinXXVII
Published on 2010-05-07T13:22:07Z Indexed on 2010/05/07 13:38 UTC
Read the original article Hit count: 764

Using the API, trying to get items in a specific feed returns this:

{“direction”:”ltr”,”id”:”feed/http://arstechnica.com/index.rssx”,”title”:”Ars Technica”,”description”:”The Art of Technology”,”self”:[{"href":"http://www.google.com/reader/api/0/stream/contents/feed/http://arstechnica.com/index.rssx?ot\u003d1273193172856169\u0026r\u003dn\u0026xt\u003duser/-/state/com.google/read\u0026n\u003d4\u0026ck\u003d1273193873\u0026client\u003diPadReader"}],”alternate”:[{"href":"http://arstechnica.com/index.php","type":"text/html"}],”updated”:1273193873,”items”:[]}

They look like key/value pairs but it’s plain text with UTF8 String encoding and won’t encode into a dictionary. I’m using Objective-C and I’m not sure where to go from here. So far I’ve been able to parse the XML response for unread items, but parsing the plain-text doesn’t look feasible. What is your practice?

© Stack Overflow or respective owner

Related posts about google-reader

  • Google Reader Alternative

    as seen on Super User - Search for 'Super User'
    I currently use Google Reader for all my feeds and am looking for an alternative. My only requirement is that the service store a copy of the text of the feed just like Google does. If the feed site is inaccessible to any computer I am at as long as the reader site is available I can see the feed… >>> More

  • Save searches in Google Reader

    as seen on Super User - Search for 'Super User'
    Ok, I’m trying to find a way to search my rss feeds in Google Reader every day for certain phrases. If any of the phrases are found, I want to be notified. I thought Google Alerts would do this no problem, but it does not. Does anybody know of any services or any other way of doing this? >>> More

  • Trimming article length in Google Reader

    as seen on Super User - Search for 'Super User'
    I'm considering switching to Google Reader from Safari's RSS reader. One feature that I would absolutely miss from Safari is its Article Length slider it gives you for each feed, so you can choose to show more or less content. Is there any way to achieve this in Google Reader's Expanded view? PS I… >>> More

  • Trimming articles' lengths in Google Reader

    as seen on Super User - Search for 'Super User'
    I'm considering switching to Google Reader from Safari's RSS reader. One feature that I would absolutely miss from Safari is its Article Length slider it gives you for each feed, so you can choose to show more or less content. Is there any way to achieve this in Google Reader's Expanded view? PS I… >>> More

  • Google Reader Play – Reading redefined

    as seen on Tech Dreams - Search for 'Tech Dreams'
    “Google Reader Play” is the new Web browsing feature launched by Google on Wednesday which allows users to browse and explore the content in Google reader  like a TV rather than the hierarchical tree view.  Google reader finds and displays the coolest things on the net using the same “Recommended… >>> More

Related posts about objective-c