Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Windows Phone 7 Silverlight Cookbook

You're reading from   Windows Phone 7 Silverlight Cookbook All the recipes you need to start creating apps and making money.

Arrow left icon
Product type Paperback
Published in Aug 2011
Publisher Packt
ISBN-13 9781849691161
Length 304 pages
Edition 1st Edition
Languages
Arrow right icon
Authors (2):
Arrow left icon
Jonathan Marbutt Jonathan Marbutt
Author Profile Icon Jonathan Marbutt
Jonathan Marbutt
Robb Schiefer Robb Schiefer
Author Profile Icon Robb Schiefer
Robb Schiefer
Arrow right icon
View More author details
Toc

Table of Contents (18) Chapters Close

Building a simple RSS reader


One of the more popular services out there, RSS is used on many blogs and other websites. This format is very standardized and can be used to create some great news reader type applications. In this example, we will create a very basic news reader application that can pull the new feed off the developer.windowsphone.com site.

Getting ready

To get started, we are going to create another basic Windows Phone Application called RSSReader. There will be several pieces to this application including a model and a ViewModel. Let's start by adding folders for both Models and ViewModels.

How to do it...

Now that we have our basic file structure set up, let's add our model for our articles:

  1. 1. This will be used to just give structure to the XML that is coming in from the RSS feed. Here is our model below:

    using System;
    using System.Collections.Generic;
    namespace RSSReader.Models
    {
    public class Article
    {
    public string Title { get; set; }
    public IEnumerable<string> Tags ...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image