Skip to content
This repository

The RSS Reader Example Application demonstrates the use of RSS feed resources from the Internet, and concepts such as tombstoning and dynamically generating and modifying the user interface on the fly. It contains a rich UI with view navigation, search, lists and animations.

branch: master
README.md

RSS Reader

This example application demonstrates how to build a simple RSS reader for Windows Phone using Microsoft Silverlight.

While testing for compatibility with Windows Phone 8, it was found out that the previous implementation did not work after upgrading the project to Windows Phone 8.0. It seems that there is some kind of a bug in the Panorama control, causing problems if PanoramaItems are created dynamically using ItemsSource property. For example, the Panorama's SelectedIndex does not work while using ItemsSource and also, when navigating back to the panorama, it always resets back to the first PanoramaItem, not the one which was visible when navigating deeper.

For this reason, there are now four explicitly defined PanoramaItems in the main panorama (News, Leisure, Sports, and Tech), and there is a DataMember in RSSCache for retrieving contents for each of the four pages. Bug report has been filed to Microsoft regarding the issue.

This example application is hosted in GitHub: https://github.com/nokia-developer/rss-reader-wp

Developed with:

  • Microsoft Visual Studio 2010 Express for Windows Phone
  • Microsoft Visual Studio Express for Windows Phone 2012.

Compatible with:

  • Windows Phone 7
  • Windows Phone 8

Tested to work on:

  • Samsung Omnia 7
  • Nokia Lumia 820
  • Nokia Lumia 920

Instructions

Make sure you have the following installed:

  • Windows 8
  • Windows Phone SDK 8.0
  • NuGet Package Manager (https://nuget.org/), Visual Studio extension to install and update third-party libraries and tools in Visual Studio

To build and run the sample:

  • Open the SLN file
    • File > Open Project, select the file RSSReader.sln
  • Install Windows Phone Toolkit for the project.
    • Right click solution RSSReader in Solution Explorer -> select Manage NuGet Packages for Solution
    • Search for 'wptoolkit' and install the 'Windows Phone toolkit' package
  • Select the target, for example 'Emulator WVGA'.
  • Press F5 to build the project and run it on the Windows Phone Emulator.

To deploy the sample on Windows Phone device:

About the implementation

Important folders:

Folder Description
/ Contains the project file, the license information and this file (README.md)
RSSReader_WP7 Root folder for the WP7 implementation files.
RSSReader_WP8 Root folder for the WP8 implementation files.
RSSReader_WP7/Dependencies DLLs needed by the WP7 application.
RSSReader_WP7/Model Model implementation.
RSSReader_WP7/Properties WP7 Application property files.
RSSReader_WP7/Resources Graphic files.
RSSReader_WP7/Views Views of the application (panorama, pivot, pages).
RSSReader_WP8/Dependencies DLLs needed by the WP8 application.
RSSReader_WP8/Properties WP8 Application property files.

Important files:

File Description
FeedPivot.xaml.cs Class responsible for displaying available RSS feeds in a pivot.
RSSService.cs Class responsible for parsing RSS feeds and creating feed pages formatted as HTML.

Known issues

No known issues.

License

Copyright © 2011-2013 Nokia Corporation. All rights reserved.

Nokia, Nokia Developer, and HERE are trademarks and/or registered trademarks of
Nokia Corporation. Other product and company names mentioned herein may be
trademarks or trade names of their respective owners.

License
Subject to the conditions below, you may use, copy, modify and/or merge copies
of this software and associated content and documentation files (the “Software”)
to test, develop, publish, distribute, sub-license and/or sell new software
derived from or incorporating the Software, solely in connection with Nokia
devices. Some of the documentation, content and/or software maybe licensed under
open source software or other licenses. To the extent such documentation,
content and/or software are included, licenses and/or other terms and conditions
shall apply in addition and/or instead of this notice. The exact terms of the
licenses, disclaimers, acknowledgements and notices are reproduced in the
materials provided, or in other obvious locations. No other license to any other
intellectual property rights is granted herein.

This file, unmodified, shall be included with all copies or substantial portions
of the Software that are distributed in source code form.

The Software cannot constitute the primary value of any new software derived
from or incorporating the Software.

Any person dealing with the Software shall not misrepresent the source of the
Software.

Disclaimer
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE, QUALITY AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES (INCLUDING,
WITHOUT LIMITATION, DIRECT, SPECIAL, INDIRECT, PUNITIVE, CONSEQUENTIAL,
EXEMPLARY AND/ OR INCIDENTAL DAMAGES) OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Nokia Corporation retains the right to make changes to this document at any
time, without notice.

Version history

  • 1.3.0 Add support for 720p resolution and NuGet Package Restore.
  • 1.2.0 Changes in implementation to support upgrading the application to Windows Phone 8.0.
  • 1.1.0 Bug fixes and changes based on reviews; published on the Nokia Developer website.
  • 1.0.3 Support for Windows Phone OS version 7.1.
  • 1.0.2 Layout changes and bug fixes.
  • 1.0.1 Bug fixes.
  • 1.0.0 First version.
Something went wrong with that request. Please try again.