RSS Reader and Podcast Template for sale

After much coercion, a member of our wonderful community talked me into licensing the full version of my RSS Reader/Podcast app that I had built for my son’s Music blog: the Animals Can Kill You (or tACKY).

http://itunes.apple.com/us/app/the-animals-can-kill-you/id455118802?mt=8

You can download it, it’s free, but he’s not been updating the blog, so it’s really a dead app for now, but you can download it and see it in action.

Any way, the code uses the following technology:

  1. Widget tabBar
  2. Widget buttons
  3. Widget tableView
  4. Backgrounding Audio
  5. Downloading and parsing RSS2.0 and Atom Feeds (Using my publicly available reader in the community code)
  6. Set up to be enabled as a news stand app (turnned off by default)
  7. Partially implemented Push Notifications. It will register the device and in theory respond to push notifications sent, but I never figured out what to do with them once I got them.
  8. native.showWebPopUp reading HTML from a local file.
  9. Writing content to a file.

and much much more.

This includes all assets to built tACKY and is heavily commented.

Several people on the community code posting have wanted the full project which I have been very reluctant to release, but since I’ve been talked into it, I offer it up here for you.

My license is simple: Take it, modify it for your use. Do not re-sell the template. Do not release an exact copy of mine.

$99.99 and you can get it here:

http://omnigeekmedia.com/templates/

Oh… It was compiled and tested with the latest daily build (845) but it should be fine with the latest stable build (840).

Enjoy
Rob
[import]uid: 19626 topic_id: 28407 reply_id: 328407[/import]

I’ve updated the webpage with better information about this template.

Comments, feedback and suggestions are much welcome.

Thanks
Rob [import]uid: 19626 topic_id: 28407 reply_id: 115075[/import]

One more update and you will probably like this one. It may be worth the price of admission!

It now looks at each RSS feed item and if there are enclosures that are JPEGs or PNGs, it can apply them as thumbnails in the tableView row.

It makes use of the display.loadRemoteImage() API call, so you will learn how to do that. It also demonstrates how to scale images to fit a given area.

[import]uid: 19626 topic_id: 28407 reply_id: 117233[/import]

Looks great Rob, I’m sure a lot of people will find that helpful!

Out of interest and if you don’t mind saying ( :smiley: ), do you search the RSS feed using string patterns to find the JPEGS links?

I’ll definitely be downloading this if anyone happens to ask me to make an RSS app of some kind :slight_smile: [import]uid: 69826 topic_id: 28407 reply_id: 118619[/import]

There are two parts to answer your question.

First, and you may not know this, but the RSS parser itself is something I put up in the community code for everyone to enjoy. The parser itself just looks at tags and captures the data. Images can be either in tags or tags (or other weird name-spaced tags… that I don’t support yet!).

When the rss parser returns a big table back to you, each item that has enclosures will have an array of enclosures. If there are media:thumbnail tags, there will be a thumbnail entry in the table. From the RSS parser’s perspective it doesn’t care if it’s a JPEG or PNG or some MP3 file.

Now fast forward to my for-pay template. That is a complete project that shows how to use the RSS parser end to end. From that perspective, I do need to know if I’m dealing with an image or not and I do use a basic IF test to check to see if the enclosure’s type an image type that I can support:

if items[i].enclosures[j].type == “image/jpeg” then …

It really doesn’t need to be anything fancy since the RSS feed gives me plenty of info. What it doesn’t give me is the image size in pixel dimensions, but a practically useless size in bytes. Thus you can’t use display.newImageRect() since you don’t know the width and height. But that’s okay, I just use display.newImage() and then do some scaling to make it fit for me one I’m able to get the height and width at that point…

[import]uid: 19626 topic_id: 28407 reply_id: 118667[/import]