I took the liberty of adapting my Windows Phone starting template to become a Windows Phone RSS reader app template for Windows Phone 7 and Windows Phone 8. At the bottom of this post, you can download the Dutch or English version of this template, which can be easily adapted to display an RSS feed of your liking. As with the starting template, feel free to use/re-use/modify to your liking and let me know if you have feedback, suggestions for improvement or find any bugs.
The RSS template contains the following main features:
- Displaying a list of articles from the RSS feed
- Refreshing the list of articles by tapping on the refresh button on the app bar
- Navigating to and displaying the actual article in a details page
- Sharing the article by tapping on the share button on the app bar
- Displaying an about page with a button to review the app and e-mail the author
- Showing a review notification (once) after the app is launched 10 times
Customizing the app
Customizing the app is quite simple:
- Open up the solution and find the Resources\Configuration.resx file in the Common project
- Change the FeedTitle and FeedUrl values to match your desired RSS
That’s it! After you change these two things, you can launch the app and see your app in all it’s glory. Of course we’ll want to change the app’s metadata so it’ll display the correct app name, version info, e-mail address and graphical assets, so that’s what we’ll do next.
Customizing the app metadata
The first thing we want is to change the app name that’s displayed on top of each page. Open up the AssemblyInfo.cs file in both the WP71 and WP8 projects under the Properties folder and change the following values to represent your app’s name and copyright info:
[assembly: AssemblyTitle("MyMultiOSRSSApp.WP71/WP8")] [assembly: AssemblyCopyright("Copyright © 2013")]
Optionally, you can also modify the following values to change the app version number. Important here is to make sure that the app version for the WP8 project needs to be higher than the app version for the WP71 project (e.g. 1.0.7.* for WP71 and 1.0.8.* for WP8):
[assembly: AssemblyVersion("1.0.7/8.*")] [assembly: AssemblyFileVersion("1.0.7/8.*")]
Now, when we launch the app, the correct app name is displayed and the copyright info on the about page is more accurate. Next, open up the WMAppManifest.xml file in the same Properties directory for both WP71 and WP8 projects and change the following info:
- Display Name
- Tile Title
This is the app title that will be displayed in the app list
This is the app title that will be displayed on the pinned tile on the Start screen
Lastly, we’ll need to change some of the text in the app’s implementation to display the right text and contact info. For this, open up the AppResources.resx file in the Commong project under the Resources folder and change the following fields:
- Optionally modify the Contact, ErrorMessage and Review values to personalize your app
The e-mail address where users of your app can contact you
Modify this value to include your own app’s name, instead of MyMultiOSRSSApp
Modify this value to include a hash-tag you want to include in share messages (or remove the hash-tag)
After this, launch the app and verify all the textual info now matches your entered value and none of the default texts show up anymore.
Now all that’s left is changing the app’s icon and tile images and our Multi OS RSS reader app is ready to use and share in the Windows Phone Store!