Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 07-14-2011, 10:07 PM   #1 (permalink)
Registered Member
 
Join Date: Apr 2010
Posts: 105
daveMac is on a distinguished road
Default Blog Archive App

Hi Guys. I have a wordpress blog that's sort of a quote of the day type of a deal and I am looking to make a simple app that automatically downloads the blog content (think RSS—kind of). I want my readers to be able to save their favorite posts and I need to be able to show access to all archives (about 440 posts to date). I also need it to send a push notification when a new post is detected. Anyway, I have been looking at RSS feeds, but it looks like I can only show the last ten.

As far as iPhone programming experience, I'm by no means a noobie. However, I have mostly worked on game projects and I don't have very much experience with the internet side of programming (downloading, parsing, etc.).

Any ideas would be appreciated. I just need to be pointed in the right direction.
daveMac is offline   Reply With Quote
Old 07-15-2011, 04:10 AM   #2 (permalink)
Nuisance Developer
 
Join Date: Jul 2009
Location: Italy
Posts: 4,691
dany_dev is on a distinguished road
Default

the idea is to have an output in xml or json, so that you can download and parse. For Download you can use ASIHTTPRequest or NSURLConnection, for parsing you can use NSXMLParser or JSON Framework.....
__________________
dany_dev is offline   Reply With Quote
Old 07-15-2011, 05:43 AM   #3 (permalink)
Registered Member
 
Join Date: Apr 2011
Posts: 136
Allah is on a distinguished road
Default

For push notifications you need to look at APNS
Allah is offline   Reply With Quote
Old 07-15-2011, 05:47 AM   #4 (permalink)
Registered Member
 
Join Date: Apr 2010
Posts: 105
daveMac is on a distinguished road
Default

Quote:
Originally Posted by dany_dev View Post
the idea is to have an output in xml or json, so that you can download and parse. For Download you can use ASIHTTPRequest or NSURLConnection, for parsing you can use NSXMLParser or JSON Framework.....
So any ideas on how I could get my wordpress blog to output in xml or json?
daveMac is offline   Reply With Quote
Old 07-15-2011, 06:59 AM   #5 (permalink)
Nuisance Developer
 
Join Date: Jul 2009
Location: Italy
Posts: 4,691
dany_dev is on a distinguished road
Default

wordpress should have rss (subset of xml) enabled for default.....

so
Code:
http://www.yourBlog.com/feed/rss/
should do the trick
__________________
dany_dev is offline   Reply With Quote
Old 07-15-2011, 07:10 AM   #6 (permalink)
Registered Member
 
Join Date: Apr 2010
Posts: 105
daveMac is on a distinguished road
Default

Quote:
Originally Posted by dany_dev View Post
wordpress should have rss (subset of xml) enabled for default.....

so
Code:
http://www.yourBlog.com/feed/rss/
should do the trick
What about the issue of Wordpress' RSS feed only showing the last 10 posts. How do I see all of the posts?
daveMac is offline   Reply With Quote
Old 07-15-2011, 07:18 AM   #7 (permalink)
Nuisance Developer
 
Join Date: Jul 2009
Location: Italy
Posts: 4,691
dany_dev is on a distinguished road
Default

You should be able to edit that in Settings/Readings directly on wordpress.....
__________________
dany_dev is offline   Reply With Quote
Old 07-15-2011, 09:47 PM   #8 (permalink)
Registered Member
 
Join Date: Apr 2010
Posts: 105
daveMac is on a distinguished road
Default

Is it possible to detect when new posts have been made on my wordpress blog, while the iPhone is running in the background? Another words, I want a push notification to come through when I post something new on the blog.
daveMac is offline   Reply With Quote
Old 07-16-2011, 02:18 AM   #9 (permalink)
Nuisance Developer
 
Join Date: Jul 2009
Location: Italy
Posts: 4,691
dany_dev is on a distinguished road
Default

this is something to manage server-side, read the documentation....
Local and Push Notification Programming Guide
__________________
dany_dev is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 364
9 members and 355 guests
apatsufas, chemistry, Kirkout, leostc, lzwasyc, MarkC, Sami Gh, SamorodovAlex, VinceYuan
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,664
Threads: 94,120
Posts: 402,898
Top Poster: BrianSlick (7,990)
Welcome to our newest member, Leslie80
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 02:39 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0