Blog

Many of you may have used and experienced the benefits of Windows Live Writer, and it's a fantastic blogging tool, second to none in my opinion, and as soon as the rumours of the Windows Live brand being killed off started circulating, I've been worried that I'm going to be left using something different that… well that I won't enjoy using as much.

I'm not going to go on about if, when or why Windows Live Writer will be binned… others have done that enough… but instead I wanted to write about alternatives. Over the last few weeks there have been a few exciting developments. Office 2013 Preview was made available to the public, and it's an excellent release. Pretty stable, and a nice enhanced UI. The whole interface seems to have a more fluid and responsive feel to it, which is great.

Whilst I was using Microsoft Word as part of Office 2013, I thought I'd see just how useful it is as an alternative to Windows Live Writer, and to my pleasant surprise, it's actually a viable alternative, though some of the best things of Windows Live Writer are still missing.

Word 2013 pretty much has the same editing facilities as any other blogging tool in that you can connect to your MetaWeblog, you can write a blog post, and you can upload, and for doing as much, it feels nice. The interface is very clean, and distraction free, which (in my opinion) is essential for any blogging tool.

What it doesn't do, however, is allow you to edit in-place. This was one of my favourite features of Windows Live Writer… you can (through the application) download a preview of your blog, and it's styles, then view your blog post in its surrounding as you're editing, which gives you a great feel for the content that you're writing. Many would no doubt argue that writing a blog post shouldn't worry about the style, but when you're determining the size of the images that you're using, it's really useful to see the size of the page.

Anyway, we thought we'd give it a full and fair trial, and as a good test, this particular blog post has been written using Microsoft Word 2013 Preview.

If you'd like to give this a try for yourself, you can download the Microsoft Office 2013 Customer Preview from:
http://www.microsoft.com/office/preview/en?WT.mc_id=MSCOM_EN_US_HP_FEATUREHOME_131L1ENUS21367

Step-by-step instructions to configure Word 2013 are below…

Firstly, create a new blog post, you can do this by clicking File > New… and from the templates, simply search for 'Blog post'. If you've created a blog post before using Word, it should appear as a template you've used recently.

When you create your blog post, before being able to write anything, you'll be asked to setup your blog account. If you don't opt to do this now, you can configure your account by choosing 'Manage Accounts' from the 'Blog Post' ribbon.

If you do choose to create your account, you'll first be asked for the provider of your blog. As this post is about Kentico, we'll be targeting our settings for MetaWebLog API, so we need to choose 'Other' as the type:


After clicking next, you'll be asked to select the API, which you'll find contains an option for MetaWebLog, as well as the URL, Username and Password. If you've ever used Windows Live Writer, then all of this will seem fairly familiar, as these are the same settings that you will have entered when setting it up. If, however, you haven't ever configured Windows Live Writer, you'll need to enter the following settings:

Blog Post URL: http://<application path>/CMSModules/Blogs/CMSPages/MetaWeblog.ashx
User Name: Your CMS Desk Editor's Username
Password: Your CMS Desk Editor's Password

Clicking OK, and Word 2013 will head off to the MetaWebLog API on your Kentico site, and query a list of blogs that you have setup.

You'll first be prompted as to whether you want to allow your details to be passed to your selected provider:

When prompted, choose which one you want to setup:



Once you've selected your blog, choose OK and Word will be configured. If everything works as expected, you'll get a successful message, and your first blog post will be ready to write:

Posted: 04/08/2012 23:24:01 by Kurt Farrar | with 0 comments


Yesterday was a long day to London, up at 4.00am for a 6.00am train with Dan Harris to London. A slight delay on the train, and we arrived to start at the Windows Phone Camp hosted by Lost Boys International.

WOW! What a place to work, the building had a very industrial theme to it, with art on the walls but the most noticeable bit was the fridges of beer, water and coca cola with a sign above them “Welcome to to LBi, help yourself”. What a great start to the day.

After registering and being lead downstairs there was even more insight into the good life that some of our counterparts at LBi enjoy, the break-out area was filled with pool tables, ping-pong tables couches, coffee tables, and a bar, complimented with more industrial meets 60’s diner decor. How do these guys manage to go home?

The first session was an introduction from Microsoft UK evangelist, Mike Ormond. Of all of the sessions in the day, I must say, I found this to be the most useful. It explained the overall design and development process. We were given some stencils and a design pack to help with designing our first Windows Phone apps. It was great to understand the differences between Pivot and Panorama views in Windows Phone apps, from my initial contact with the templates that come with Microsoft Expression Blend and Microsoft Visual Studio 2010, this was one of my key questions – they hadn’t immediately appeared all that different to each other – but now I find myself quite easily differentiating between parts of apps that are using each, and understanding why.

The rest of the day was then broken into lecture style sessions, and opportunity to use the break-out area. I attended the Silverlight Toolkit session. It helped me understand how to implement transitions between screens/elements during page transition, and fundamentally how to navigate between screens (which hadn’t leapt out to me when first picking up Windows Phone development – just goes to show it’s worth coming along to some sort of training session/boot camp like this).

At lunch time there was an exciting announcement for the Windows Phone Camp attendees that there’s a Nokia Lumia 800 for each of us so that we can test our apps if we can send the details of our apps over to them. Fantastic! Inspiration or what? I’ve had a number of ideas on my list for a couple of months now, since getting my own Windows Phone (see my other posts for my experience with that). Now was the time to get started on putting one together based on what I’ve learnt.

I took a break to get to work and met the excellent founders of WindowsPhoneGeek.com. Very friendly people, and not only did they direct me to an excellent repository of Windows Phone development news and advice (their website of course), but after finding what I’d look for in a repository of useful tools, showed me what they have to offer on their website. It sounds like it fits my requirements of a great free software component repository – free (truly), and includes community rating so I get a good understanding of whether the component is the correct one to use.

Within the hour I’d made fantastic progress on my first Windows Phone application development, an app to monitor/manage the status of MyDigitalMedia’s Kentico customer’s websites. This is a common requirement, and this functionality is normally available via the Kentico CMS built in Site Manager, but that doesn’t render very well for mobile use, which is when I usually get most of my calls from my customers. That 5.00pm call after I’ve left the office, saying they can’t get to their website. And usually, my answer is, I’ll check in the next 30 minutes when I can fire up my laptop, connect the mobile broadband and get onto the site manager. What better way to quickly get an answer for my customer than to check the app… whilst they’re on hold! That’s customer service if you ask me.

My experience, being a .NET developer, I’m currently working with WPF & Silverlight, WCF, WF, WinForms, WebForms, Windows Services and Web Services, so I have a fairly wide set of skills… picking up Windows Phone Development has actually been really quite easy.

I don’t think if I’d dumped myself in the deep end with WPF and Silverlight over the last 12 months, getting to grips with XAML I’d have found it as easy to adopt as I have, and my recent change in behaviour to using Microsoft Expression for UI exclusively and Visual Studio 2010 for code exclusively has certainly made my application creation progress so quickly. Infact, within just 3 hours I had the Windows Phone components of my application complete. I’ve only got to develop/finish the web service now that will read the status information from Kentico, and update as necessary.

Back to the day, I attended an excellent session hosted by Pete Vickers of Appa Mundi, on how to get your app into shape for submission to the Marketplace, including a full walkthrough of both testing your applications, the tools that you can use to test your apps yourself, and the extensive testing that Microsoft will carry out to certify your application before publication to the Marketplace as well as the actual submission process. A both useful, and well presented session by Pete, to finish off the day.

Back out onto the streets, we had a few hours to see the Tower Bridge in the snow before heading back on the train, by which point we were all very knackered and struggling to keep our eyes open I think.

A very worthwhile day, and I’m now all excited about my first app development.

I remember about a year ago someone asking me why I bother developing websites, and end-to-end business solutions… they told me that phone apps are the easiest way to make money at the moment.

Whilst I still disagree with them, I can see opportunity to make some money out of developing Windows Phone apps for the marketplace, but the main thing is I enjoy developing the full end-to-end solution for our customers. Providing them with a full answer to their business problems, rather than just a small piece of the jigsaw. I see developing apps for the Windows Phone platform fitting into this, and providing me with more ways to deliver the solutions that my customers demand in more ways than ever.

Posted: 05/02/2012 13:33:58 by Kurt Farrar | with 1 comments


OK, so I’ve had my Windows Phone 7.5 for 50 days now and although I got bored of blogging about it after a fortnight, I don’t think that reflects badly on the phone… how much can anyone REALLY write about a phone?

Anyway, it’s fair to say that I’ve not had any particularly bad experiences with my Windows Phone, and I’m still very pleased with the device.

Since my last post about my Windows Phone, I’ve found some great features, and found some disappointment with the manufacturer, but that’s not Microsoft’s fault.

So anyway the highs, I discovered a number of useful apps like Cardmobili. and Xbox Companion which lets me control my Xbox 360 from my handset. I’m more involved in what’s going on with my family on social networks on a daily basis, and I’m more on top of my e-mails than ever.

Tonight, I found some nice features that I felt worth blogging about. Recently my wife was involved in an RTA in our car (not her fault, and she wasn’t injured) but whilst the car’s at the body shop being repaired, they’ve given us a hire car… a ‘10 reg Megane with loads of extras.

I was pleased to see the compatibility with my Dell Venue Pro. A real bonus for business users/regular travellers. From pairing (which was easy). It offered to sync my phone book, and even share the pictures on my device. I found that it instantly knows when it’s connected to the bluetooth, and when I receive a text message it announces it over the car’s handsfree system, and allows me to voice command it to read it outloud, and even reply by voice. This is amazing.

As you might expect it allows me to play Spotify over bluetooth, via the car speakers too which makes for great music and no dodgy signal as you move between broadcasting regions.

The best part of all this, is that “it just works” – and anyone who knows me will know that I like systems (software, hardware, or both) that “just work” without requiring any technical knowledge or any great deal of work from the user. My Windows Phone and the in car sat nav/audio system in the Renault Megane fit nicely into this category.

Has anyone had this level of experience with other platforms? Voice command text messaging and everything? I know BlackBerry has ‘an app for that’ but does anything else have this functionality built in?

Posted: 31/01/2012 21:01:54 by Kurt Farrar | with 1 comments


This week we’re creating our first Facebook application for one of our clients.

It sounds fairly reasonable to want to include the latest posts from your wall from your Facebook page on your own website, and until recently, that was something that was fairly easy to do as walls and pages had the option to “Get updates via RSS” which would give you an RSS feed that you can subscribe to.

That changed when Facebook introduced the Graph API and they have seemingly been phasing out the RSS feed since to the point that when you click the link on a page where it’s been disabled you’ll get a message instead saying that the service has been disabled.

This seems to make sense, as the Graph API is much more privacy conscious and this therefore prevents people’s wall posts if they’re not friends with sufficient rights, but just seems a pain for pages, which in my opinion are meant to be public.

Anyway, we’ve struggled through the process of creating our app, specifically with C# and ASP.NET to do something seemingly simple, so I thought it worth sharing for others, how you can do this here so that everyone else can benefit too. There are plenty of guides on how to access Facebook using PHP, Ruby, Python, and pretty much everything

Firstly, you need to include Facebook C# SDK in your project, if you’re using NuGet you can search ‘Facebook’ and you’ll find it quite easily, or run:

PM> Install-Package Facebook -Version 5.4.1.0

Otherwise it’s available on codeplex here:
facebooksdk.codeplex.com

OK, once you’ve got it installed, and (I recommend) before you start writing any code there’s a few things that you need to do (and I think this information is what I’ve struggled the most to find – maybe it’s just me).

Disclaimer: What I’ve done here may not be the correct approach, but it works, and seems the easiest for me to understand and implement. Some other approaches require users to authenticate with facebook first which is not the desired result.

 

Create a new app

Visit:

http://developer.facebook.com/apps

This is the area for developers that allows you to manage any apps that you’ve created. You need to create a new one, this will give you some API keys etc. but ultimately allow you to create an “access_token”. This is the magic code that you need to be able to read wall posts.

Create access token

Once you’ve created your new application, you’ll need to navigate to the Graph API Explorer. There are a number of ways to reach this, the first is a ‘Useful link’ that appears when you’re editing your applications settings on the previous page, or you can find it from the developer tools. Both of these links seem buried away to me, so here’s a quick link for you:

https://developers.facebook.com/tools/explorer

When you visit the page, you’ll see a test harness that lets you see the results when you can various parts of the Graph API. We’ll make proper use of this in a little while, but firstly, change the application from the drop down list in the top right hand corner to the one you just created.

You’ll notice that Access Token is blank (or if you’ve had problems previously, it may have a value which doesn’t have the right permissions).

Click the button to “Get Access Token”. You’ll see a dialog appear of which you need to select the following permissions:

From “User Data Permissions”:

  • user_status
    This allows your application, using the access token, to read from yours and other people’s walls as if it were you, so it can access all walls that you have access to.

From “Extended Permissions”:

  • offline_access
    This allows your application to continue working even after you have logged out. In an early attempt of these, we got everything working without this permission, then after signing out of facebook and coming back to our code, we found that the access_token had expired.

Click “Get access token” and you’ll see the access token text box populated with your access token.

You’re supposedly able to do this from the Facebook C# SDK, but I couldn’t see any examples that didn’t involve user authentication in your website to do this, so I’ll say there’s an area for improvement here. Once you have the instructions above, I think this is quite quick and easy to do manually without the need to write code, so that’s my advice.

This approach allows the application that you’ve created to run as ‘you’, with access to ‘your’ wall. If you’re conscious about anyone that isn’t a friend potentially seeing the contents of your personal wall, you may want to create a new facebook account, exclusively for this purpose. In principle, as long as the user that you’re logged in as, when you generate the access token, can read from the wall that you want to display posts from, then you’ll be able to read them from your application.

Put the access token somewhere for reference, your web.config for example, and then we’re ready to start writing some code.

Graph API

The Graph API, allows you t o do anything you want/need with Facebook via a structured URL. the response containing a JSON object(s).

You can use the Graph API Explorer to try various commands and view the output, in the context of your application and the permissions that you defined when you generated your access token.

You can find a comprehensive listing of methods that you can call in the Graph API documentation on the Facebook Developer portal.

For the purpose of reading wall posts, we’re going to use the format  /{user_or_id}/feed. For example, the path for mydigitalmedia’s wall on our page would be /mydigitalmediaonline/feed.

You can try entering that path into the Graph API Explorer to view the results.

Extract posts

To extract the posts for a particular wall, you can use the following few lines of code:

Facebook.Web.FacebookWebClient client = new Facebook.Web.FacebookWebClient(ConfigurationManager.AppSettings["app_token"].ToString());

//Get wall posts
var result = (IDictionary<string, object>)client.Get(ConfigurationManager.AppSettings["page_id"].ToString() + "/feed");

var posts = result.Values.First();

If you’ve not used NuGet to include Facebook in your project, you’ll need to add a reference to the Facebook.dll as well.

The above will populate posts with a dictionary of posts, each consisting of a JSON string. From here, you simply need to parse the text however you like. I’m not going to blog about this here, as I think it’s a different topic (which I may cover separately another time), but some tips may be to use a JSONSerialiser to deserialise the script into objects, which is included through the Facebook SDK, though you can also use a javascript serialiser to do the same thing, as ultimately, JSON is javascript

Hopefully this post will be some help to others, and can save you the time it’s taken me in research finding how to access Facebook and the use the Graph API from C# and ASP.NET.

If you have any comments, or suggestions on how to do this better, please share them below for everyone’s benefit.

Posted: 16/01/2012 14:23:22 by Kurt Farrar | with 1 comments


Messenger problems

I've had a problem since I first setup my Windows Phone 7.5 that I couldn't get Messenger to connect, which also meant Facebook chat wouldn't work. Although I didn't have this feature, particularly built into the messages hub, on any of the other platforms I'd used, I still wanted to get it to work. 

Frustratingly, all of the help online from other people babbles on about "add your facebook account to your windows live account through live.com" - Yes, my account is already linked, but I can't sign into messenger, nevermind facebook. You shouldn't have to have a facebook account linked to sign into Windows Live Messenger.

Further more, I couldn't sign into Windows Live Web Messenger! Taking Windows Phone 7.5 out of the equation, this had to be an account problem, not a problem with the phone.

I posted onto the Windows Live Messenger support forums, but didn't get an answer. So after a few days now, was determined to fix this myself. Others had warned me that signing in with the same account that I use for Office 365 as my Windows Live account would cause problems, I hadn't done that... so that's that ruled out. 

I investigated my account and noticed that I had my Windows Live ID linked to another, that other ID could sign into Web Messenger fine, so I wondered if that may have been the problem. Some sort of hand-off thing, my account designating my linked account as the messenger account or something? So I removed the link between the accounts. Still no good. 

Eventually decided to see if I can sign in with the desktop client (I hadn't tried that so far as I normally don't use Windows Live Messenger). When I signed in, it said my account had been updated and needed further action, with a link to a webpage of further information. 

Basically, since we setup Office 365, the Lync Onine portion claimed my domain name. So any Windows Live Passports ending @mydigitalmedia.co.uk could no longer use Windows Live Messenger. The only option if I wanted a Windows Live account, retaining my links to Facebook, Twitter, LinkedIn and so on, as well as the calendar and contacts that I've built up over the years... was to change my Windows Live ID... sounds easy enough right? Well, yes... it was easy to change the ID on my account... but it was when I came back to my Windows Phone 7.5 that the difficulty started. 

Windows Phone detected that my account had changed and that I needed to do something, but id didn't give me the option to modify the account. Not a problem I thought, I'll remove the account, and re-add it. Not so simple! Turns out, the only way to remove the primary Windows Live account is a complete factory reset. 

Yes, my e-mails, contacts and calendar are all in the cloud so lets do this. A couple of taps and a few seconds later and I'm back to a clean phone. A few seconds more and my accounts are back on, but throughout there's no option to restore apps that I had previously installed. I had to remember which apps I had installed. Fortunately, installing apps is quick and fairly painless. 

So a reboot and re-setup later (roughly 1/2 hour) I'm back up and running, AND I have Windows Live Messenger working AND Facebook Chat. I've made use of the Windows Live Messenger to have a chat with my dad who lives in the next town. Making me more accessible, and making it easier for me to engage with friends and family. 

I think that the mssenger feature is fantastic, but I think that Microsoft have to make it easier to change the Windows Live ID on the phone without requiring a factory reset. I would imagine the thinking behind this was that if someone buys apps against ID 'a' then removes that account and adds ID 'b' then user 'b' isn't necessarily licensed to use the apps that they've bought. What I don't get though is that each Windows Live ID has a unique ID behind the scenes which is independent of your e-mail address/username. Why can't the phone keep a handle on that instead, and allow, or even automatically update, the e-mail address/username on the phone?

I think Apple win points here from the end-user's perspective. Apple allow multiple Apple IDs to be used with each device, and it checks the licensing when there are updates available. You can only get the updates if you sign in with the account that you purchased the app with. Furthermore, Apple allow you to change your Apple ID's e-mail address, password and everything without any real problem. If you bought using user1@mydigitalmedia.co.uk but later changed it to user.1@mydigitalmedia.co.uk (not a new account, but a change to the e-mail/username on the same account) then it'll allow you to sign out with the old e-mail address, sign in with the new, and continue to receive the updates for the apps that you've previously bought. 

Don't get me wrong, I've had problems with Apple's IDs in the past, but not related to this, and I think that what theirs allows you to do in this instance is better. A little frustrating that I can't have both a Windows Live Messenger and Microsoft Lync user from the same domain at the same time (my scenario was kurt@mydigitalmedia.co.uk - Windows Live Messenger and kurt.farrar@mydigitalmedia.co.uk - Microsoft Lync). 

OK, I've posted this a little late, so there'll be another blog post later today to make up for it! :)
Posted: 17/12/2011 09:58:33 by Kurt Farrar | with 0 comments


MyDigitalMedia's online blog covering topics from technology and the internet, to marketing and ways to run your business more efficiently.

Our blog is lead by whatever our current experiences and projects happen to be, but if you have any particular subjects that you'd like to see here, please get in touch blog@mydigitalmedia.co.uk

Our online blog covers a wide range of subjects including:
  • Internet
  • Web design
  • Web development
  • Latest devices
  • Online services
  • Technology trends
  • Brand
  • Marketing
  • Photography
  • Business automation
  • Cutting overheads
If there is anything in particular that you'd like to see on our blog, please get in touch blog@mydigitalmedia.co.uk

Recent posts

BidSketch - A Review

An overall smarter way to generate your proposals consistently, quickly and easily.  Gives even the simplest proposal a polished and professional look and feel. Requires no technical knowledge whatsoever suiting Business Development Managers in any industry including non-IT businesses. Read our review of BidSketch.com. 



Google AdWords and Ad Performance
One of our client's asked us this week all about how they can achieve a better position within the sponsored search results for Google AdWords. We put together some rather lengthy advice and then...

Blogging to Kentico website using Word 2013 preview
Many of you may have used and experienced the benefits of Windows Live Writer, and it's a fantastic blogging tool, second to none in my opinion, and as soon as the rumours of the Windows Live brand...

Promote for £4? What’s this all about?
This week, we’ve had a number of our customers that rely heavily on Facebook for the promotion of their business as part of their marketing strategy contact us asking what the ‘Promote’ option that...

The value of effective marketing
Whilst reading the Metro on my daily commute this morning I was reading how Disney's latest film to hit the cinema (John Carter) is set to be the biggest flop of the year, with the estimated loss...

Syndication

RSS
MyDigitalMedia are a small business IT consultancy specialising in web design, and web development creating high quality bespoke web solutions, and establishing our client's brands online, without a hefty price tag. Based in Widnes, Cheshire we cover all surround areas including St. Helens, Liverpool, Warrington, and Runcorn and have a number of national clients from throughout North Wales, and as far as Plymouth. Thanks to the internet, and online conferencing, we're never too far away. View our portfolio to view examples or projects that we have undertaken to date.