Windows Phone Starter Kit for WordPress (WP8)

This starter kit helps you turn a WordPress blog into a Windows Phone application quickly and easily. By uploading a pre-written WordPress plugin and changing one line of configuration file, your Windows Phone application is able to connect to and read from your WordPress blog. A

C# (901.4 KB)
4.6 Star
6,738 times
Add to favorites
E-mail Twitter Digg Facebook
Sign in to ask a question

  • change app name
    5 Posts | Last post October 17, 2011
    • This may seem like a silly question for most, but I have no coding experience. How do I change the name of the app? I was able to find and change where it said Chris Koenig , but the name of the app is still wordpress starter do I change that?
    • Looks like I need to update the instructions and do a little more code cleanup.  There are a couple of resources in the App.xaml document that can be customized for your application. Go in there and change the string resource named "BlogTitle", "PanoramaBackgroundImage" and "CopyrightMessage" to further customize the display of the panorama page.
    • I did all that. I changed the blog title so your name isn't there, and just made new images and named them the same thing so that they come up. But the actual application name when it shows up in the emulator is still Wordpress starter kit, or something to that effect, where do I change that?
    • okay, figured out how to change the name, If I wanted to add in the advertising bit, where in the code would I put it? mainpage.xml?
    • Okay, figured out the ad thing too. Now just to figure out how to make a button go to my twitter profile...and add a page that my twitter feed shows on.
  • any update on
    2 Posts | Last post October 13, 2011
    • I have a blog where I can't upload plugins, I see that you are working on a new version that will work with this type, any progress?
    • We are looking into changing the backend to not require a plugin, but there are bits of data exposed in the app that can't currently be retrieved without a custom feed. Stay tuned...
  • Error on metadata for assembly 'WordPressStarterKit'
    3 Posts | Last post September 23, 2011
    • I get the following error:
      Unable to load the metadata for assembly 'WordPressStarterKit'. This assembly may have been downloaded from the web.  See
      I went through the project, right clicked on every file and click the unlock button under the properties.  Any help is appreciated.
    • you only have to do it for "C#\packages\SilverlightToolkitWP.4.2011.8.17\lib\sl3-wp\Microsoft.Phone.Controls.Toolkit.dll"
      maybe you forgot that, and try to rebuild the solution.
    • Thanks for the reply.everything was fine, all I had to do is rebuild the solution.
  • Images in WordPress Posts?
    2 Posts | Last post September 21, 2011
    • Will this application display images that are in the WordPress posts? Does the app (or the OS) allow the user a way to download these images to their phone?
    • I just added a post to my sample site to make sure, but yes, images can show up (I presume so long as the client can find them).  I'm betting they'll have to be absolute URLs and not relative URLs, and it's not exactly the best viewing experience right now, but it does seem to work. Should I change this to just show the abstract instead of the full content of the post, or just leave out the images, or leave it alone?  Enter your suggestion on the GitHub issues list if you have a preference - the URL is http://github.c​om/ChrisKoenig/​Windows-Phone-S​tarter-Kit-for-​WordPress.
  • Demonstrate best practice, not bad techniques
    3 Posts | Last post September 20, 2011
    • Code from Microsoft should be demonstrating best practice, not bad techniques.
      Do not use NetworkInterface.GetIsNetworkAvailable() in the ctor of the MainPage. It can take up to 20 seconds or more to return, causing the app to be unresponsive in the UI thread for a very long time.  Any method call that can take a long time should be handed off to a worker thread.  In the case of web requests, just issue the web request and handle the response gracefully.  No need to check for a network connection first and the long delay that can cause.
      Do not throw an exception to exit a Silverlight app.  Microsoft have stressed extensively that is not how apps should behave on the phone.  Peter Torr has blogged about this several times, and on the AppHub forums we're trying to get devs to do the right thing.  It undermines these efforts when Microsoft code does the wrong thing.
      It doesn't exit by pressing Back beyond the first page.  That's a cert fail.
      Other bugs: It doesn't show apostrophes in the content of a blog post.
    • Thanks for the feedback. These kits are still a work in progress, written by members of our developer community, and we'll definitely work with them to make these changes, among others, to improve the code.
    • Sorry for the missteps there - I was able to make some updates this afternoon and have uploaded a new version.  I really appreciate you providing this valuable feedback - any chance I could get you to enter future issues over on our GitHub project site? The address is Thanks again for the great feedback and helping us make this starter kit even better!
  • XDocument.Load problem + an idea
    2 Posts | Last post September 20, 2011
    • I seem to be getting the “XDocument xdoc = XDocument.Load(str);” problem the same as the others below, wondering what could be done to get around that.
      I know it’s going off on a little bit of a tangent, but the one thing I truly want relating to WordPress & Windows Phone is push notifications. I know that to get PNs you require some kind of web service which sends updates to Microsoft’s push notification service which in turn sends it to our devices. If people can write plugins which update twitter, facebook and other networks whenever we post a new article on our blogs, is it too much of a crazy idea to have something similar for push notifications?
      Just an idea thats been going round my head a lot, thought I would throw it out there.
    • Push notifications is an awesome feature, but we don't have an easy way (yet) for you to have the ability to subscribe to notifications from a WordPress blog.  Great idea - I'll enter it on our GitHub site as a feature request...
  • Non supported exception
    3 Posts | Last post September 20, 2011
    • I am having the same problem with "XDocument xdoc = XDocument.Load(str);", anyone got any ideas how to get around it?  I tried it on another WP blog and its fine but the main one I am trying to get working just keeps throwing up that error.  Thanks.
    • I am having the same issue. Not really know what is the solutions for it!
    • Seems like a lot of people are running into this issue.  Did you guys update the URL to point to your blog, and did you install the WordPress plugin?  We're going to make some updates soon to support the MetaWebLog API to remove the dependency on the plugin, but we haven't started building out that part yet...
  • Workaround for [x] sites?
    2 Posts | Last post September 20, 2011
    • Hi,
      Is there a way to use your this on blogs hosted on the site itself? Because we can't upload any plugins there as far as I know.
      Keep coming with these nice aps by the way!
    • We're already working on a new version that will support the MetaWebLog API for those that can't install plugins. We went back and forth on this API when building the system initially but it didn't support all the features we needed. I think we've found some ways around those challenges, so thanks for the feedback!
  • what line needs changing?
    2 Posts | Last post September 20, 2011
    • Pardon me for asking this naive question as I am not as tech aware as most people here are. Could you tell me which is the line to Update the siteURL parameter?
      Thanks in advance. 
    • PauravS
      Near the top of the this file (after unzipping): "MainPage.xaml.cs" you will see the following - 
              //Enter your WordPress URL below
              public string siteURL = xxxxxxxxxx  is where you replace the site (Chris'Blog Address) with your sites address.
      The "//Enter your WordPress URL below" bit is the very first section in green font after the opening green (c) Copyright disclaimer.
  • How easy to recode the App to work as a Tile on the Win8 Dev Build?
    1 Posts | Last post September 20, 2011
    • Hi Chris.
      I have grabbed this to have a look (its a great idea).  My question is, in one of the keynotes at Build a demo showed only a minor (I think even single line of code) that had to be changed to turn a WP7 app into a Win8 App.  Can the code here be modified easily to make this happen?
      Sheeds @WP_DownUnder
31 - 40 of 43 Items