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
(16)
6,737 times
Add to favorites
3/6/2014
E-mail Twitter del.icio.us Digg Facebook
Sign in to ask a question


  • Displaying Images and and emedded video
    1 Posts | Last post April 14, 2013
    • Hello
      
      I'm working on an app for my blog, and I've got the plugin, and the app itself working but my posts don't seem to display images or embedded YouTube video.
      
      Is there any way to fix this?
  • Wordpress Plugin "Bug"
    1 Posts | Last post December 19, 2012
    • Hello,
      
      with Wordpress 3.5 there is a little Bug in the plugin. Please fix this soon!
      Or post the solution. I cant find the solution
      
      Here is the description of the problem:
      http://make.wordpress.org/core/2012/12/12/php-warning-missing-argument-2-for-wpdb-prepare/
      
      Thank you!
  • Save feed items to local storage
    4 Posts | Last post December 13, 2012
    • I've been wanting to give my users the function to 'favorite' certain rss items. The content of these items should then be saved to the local storage so users can access the content without a network connection. How can I save all the content including html formatting per item? Can I still use the web browser control to show this? 
    • The kit does not do this out of the box, but could be easily extended to do this. You'd have to track which ones are favorites, like you mention, and indicate them in the list when retrieving the items.  You'll have to create a button to save the favorite off but also remove from favorites if it's already in the list. You could still use the web browser control to show the data - there is a NavigateString() method that allows you to pass HTML into the browser instead of a URL. Just make sure the HTML is formatted the way you want to, send it in via NavigateString() and you should be good to go.
    • Thanks. I'm currently using isolated storage to save the html and the web browser to navigate to the local file, it works great.
      
      I was wondering how to change the namespace? It's currently named wordpressstarterkit but when I rename (refactor) the app doesn't start anymore. What's the problem?
    • Also, even though I can load html files out of my isolated storage files, i'd like to save pages immediately while loading them, and then, when there's no network connection, I'd like to show a list of pages that have been saved instead of the rss list. How do I do this? I've tried just using a new list, adding the names to it and then tried to show them in another listbox, but this didn't seem to work. Do I need to use the iblogreader.cs and RSSFeedItem.cs for this? 
      
  • Background & colors
    4 Posts | Last post December 02, 2012
    • I have a different background than the default 'wp_wordpress_bg_trans', but when I open a feed item i still get a light blue background. setting its value to transparent doesn't seem to work, only a different color.
      
      Is there any way to have a transparent background for the feed items? (WebBrowserBackgroundColor)
      
      Thanks for the starter kit.
      
    • The way the post is displayed is using a web browser control. The foreground and background colors are set inside app.xaml under the Application.Resources node.  Look for two settings: WebBrowserForegroundColor and WebBrowserBackgroundColor.  Change those to match the values you want and you're good to go. 
    • Thanks for the reply,
      
      I understand that these values are what specifies the back and foreground colors as said in my initial post. My problem is that i want it to be transparant, or null, but a web browser control always uses a background, which I don't want cause it ruins the feel of theme and layout of the main app itself. So I do not want any background color. Even if I put transparent as color it just turns out white. 
      
      Any solutions?
    • Unfortunately, no - not with the web browser control anyway. You could replace it with a text block control, but you'd lose the html formatting.
  • About windows 8 & windows phone 8
    2 Posts | Last post August 30, 2012
    • Will there be starter kits for phone 8, the tablet & the enterprise versions of windows 8?
    • I am not aware of any current plans to do something like this for WP8 or Win8, but I will see what I can do.
  • Can't this be done for blogs without plugin functionality?
    2 Posts | Last post August 16, 2012
    • Hi Chris,
      
      I have a blog hosted on Wordpress.com. I cannot upload plugins (as wordpress.com doesn't allow). So, I want to know any other way of using your code and making app for my blog. Thanks in advance.
    • Unfortunately, there is no way to do what this app needs to do without a plugin.  It is possible to build a reader application that only shows posts, but much of the other services are just not part of the default Wordpress install.
      
      Sorry!
  • visual studio doesn't have a AppConfig.cs file in the solution am I supposed to add it to the solution
    3 Posts | Last post August 09, 2012
    • And what about the other files, Like the Toolkit.Content, web broser helper, ect, etc.....
      Should I somhow add the WordPressStarterKit.sln as a solution or what, I feel so lost and the folks that ask the right questions seem to get no responses from you guys. these kits need step by step instructions for absolute dummies and you guys act like we are all programers or something. I've invested alot of money into this and this needs to work, period.
    • I'm sorry that the setup and customization instructions were confusing. 
      
      Visual Studio is *definitely* required for customization of the starter kit, as it's not intended to be a stand-alone ready-to-deploy application. Rather, the Starter Kits are code samples, targeted at software developers, that will require some level of customization in the Visual Studio development environment to get it running. Further customization such as theming, additional features, removing existing features, etc. would be at the developer's discretion to undertake. 
      
      These Starter Kits are not supported products, so I will do my best to try to help you debug any issues you run into using them, but it will require some level of coding to get them to a state where you can submit them to the Windows Phone Marketplace.
      
      Let me know if you run into issues customizing the Starter Kit, and I will do what I can to help.
    • Ok, I feel bad about what I said, but the instructions should say 
      
      1. Unzip the entire file then copy and paste The new (Windows Phone starter kit for WordPress) into your visual studio Projects and solutions folder. Doing this will add the starter kit to your solution files. 
      
      2. Follow the instructions in the description section of the download page.
      
      
      Sorry for the bad attitude chris, & thanks for the great work, I'm a huge windows phone fan and I believe in the soon to be discovered opportunities. 
      God Bless the Microsoft team for this & windows 8
  • One Line
    2 Posts | Last post August 08, 2012
    • Im all new to this so sorry if this is a stupid question :) but i'm using wordpress for all my websites and to make a app with it would be great so thanks in advance for this. My question is:
      
      "By uploading a pre-written WordPress plugin and changing one line of configuration file"
      
      Where can i find the one line that need to be changed ?
    • Good catch there - when we first released this starter kit, there was only one line of code that *needed* to change. Now there are more like a few.  I will work on getting the description updated, but for now, you should be able to follow the instructions in the description section of the download page.  The AppConfig.cs file referenced there is in the root directory.
  • Plugin support for Wordpress 3.3.2 and beyond
    3 Posts | Last post June 06, 2012
    • Just wondering if there was going to be updates to the plugin to support 3.3.2 and future releases, I tried to install the plugin on a 3.3.2 blog and get the following (in wordpress):
      
      The plugin generated 2 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.
      
      Which I believe is the reason I was getting the following error message:
      
      Unexpected XML declaration. The XML declaration must be the first node in the document, and no white space characters are allowed to appear before it. Line 2, position 3.
      
      
      I tested an earlier version of this code with an older version of my blog when the latest wordpress version was supported and it worked just fine. (well, with the exception of something to do with categories, it was a while ago and isn't really relevant now :) )
    • Try using the latest version of the plugin from the Git repository at https://github.com/ChrisKoenig/Windows-Phone-Starter-Kit-for-WordPress/blob/master/WordPressPlugin/wp7.php and see if that works for you.  Perhaps I didn't update the Zip file when I published the latest version of the code to Code Gallery...
    • Thanks. I thought I had already done this, instead I re-installed everything and then manually copied over the contents of the wp7.php file.  This appeared to work, also, i think the issue came about from a conflict with another plugin to modify the feed to include images. 
      Cheers for the reply!
  • more posts in the feed
    2 Posts | Last post April 24, 2012
    • Hi, 
      
      Is it possible to have more posts in the feed? like 25? 
      I changed the Wordpress plugin, but the app still only shows 10 posts. 
    • Might want to check in the code that fetches the posts. We might have throttled it there in addition to the plugin...
11 - 20 of 43 Items