Tuesday, 20 October 2009

Importing That Google Reader Atom File To Wordpress

Ok so in my previous post I told you how to get your blog posts back if for whatever reason you deleted your blog. In that post if you went the Google Reader route you ended up with a ATOM/XML file.

Sadly Wordpress in both forms (Wordpress.com and Wordpress.org) will not read this ATOM file. But it is possible to get it into a format that can be read by them.

Firstly you are going to have to visit a couple of places on the web and download a couple of things.

The first thing you need to do is download the atom2rss.xsl (from Atom conversion tools). Store that in the same directory that your ATOM file is stored. Next you need to visit the Microsoft site to download msxsl.exe (get from here), and also save this in the same place as the other files.

Now you will have to open a command prompt up and change to the directory where you have all the files stored.

From the command prompt type the following:

msxlr.exe –o OUTPUTFILENAME.RSS ATOMFILENAME atom2rss.xsl

where OUTUTFILENAME.RSS is the name of the new file we want to create

and ATOMFILENAME is the name of our ATOM file containing all our blog posts.

If all has gone to plan then we should have sitting in the directory a file with a .rss file extension.

Now if you have a self hosted Wordpress blog, all you have to do is login, go to the Dashboard. Go to Tools, Import, click on RSS locate the .rss file created and that’s it. You should now have all your old posts loaded back into the blog.

For a Wordpress.com blog you need to do some extra steps. Sadly for whatever reason Wordpress.com does not allow you to import an RSS file. See nothing is ever easy.

Firstly you are going to have to install Wordpress locally! Now don’t worry that sounds harder than it actually is. Especially if you follow the steps detailed in this excellent blog post HERE.

Once you have XAMPP up and running with Wordpress, log in, go to the Dashboard, go to Tools and Import. Yes this sounds awfully like what the self hosted lot have just done, and it is. So I won’t continue with the steps just read what they had to do.

Now with all the posts sitting there locally on your pc, go to Tools, Export and export your blog posts out as wxr file to your hard drive.

Now log in to your Wordpress.com blog, go to the Tools section and Import and select Import Wordpress blog and follow the prompts.

That’s it, you have you lost posts back up.

Phew!!!

Wednesday, 14 October 2009

Getting Your Deleted Blog Back

Ok for whatever reason your blog has been deleted. It then dawns on you that you don’t have a back up to fall back on. Don’t worry all is not lost.

Using Google Reader

Hopefully you are subscribing to your own RSS feed in Google Reader, and that you are posting the complete post to your RSS feed and not a summary. If you are doing both then getting your content back is going to be really quick and minimum effort.

Google Reader doesn’t just allow you to read RSS feeds that you subscribe to, it also caches the feed and archives it. That’s why when you scroll down when reading the feed you can read all the previous posts of that feed.

It’s this caching and archiving that we are going to be making use of now to get our deleted blog posts back.

In an web browser enter the following URL in the address bar:

http://www.google.com/reader/atom/feed/FEED_URL?r=n&n=NUM_ITEMS

Replace the FEED_URL with the feeds address, and replace NUM_ITEMS with the number of posts you want to retrieve.

Here is an example that retrieves the last 100 posts from my Outdoors Blog Whitespider1066.com:

http://www.google.com/reader/atom/feed/http%3A%2F%2Fwhitespider1066.com%2F%3Ffeed%3Drss2?hl=en?r=n&n=100

What is returned is an ATOM/XML file that you can save to your local hard disk. This file can then be imported into your blogging software and thus restoring your lost blog posts.

Using Google Cache

Ok the above Google Reader way was the easy option if you met the conditions I mentioned at the start of it. The remaining ways require effort. This particular way is also useful if you have any static pages you want to recover as well.

Hopefully you haven’t banned Google from crawling your blog. Which means that Google has indexed your blog. So what we need to do is find out what Google has indexed. We do this with the following command in the Google Search box:

site:NAME_OF_BLOG

for example:

site:whitespider1066.com

gcachescreenshotYou then get a list of entries that Google has indexed. Below each entry found is a link to a cached version of that entry (see screen grab left). Click this and it takes you to that cached copy of the post.

If there are images on the page, you can right click and “save as” these if you don’t have a back up of them already.

Next you need to view the source code of the cached page that you are viewing. Select the code that starts with the title, and finishes with the close paragraph tag. Copy this, and then paste into a text file.gcachesrcshot

Repeat this process of viewing the cached copy, viewing page source and cutting and pasting for each of the posts/pages you want to recover.

I’m assuming a Wordpress blog from this point on. Log into your Wordpress blog, and go to the Write Post screen. Copy and paste from the text file the title of the post, then switch from “visual” mode to “code”. Then paste in the rest of the  post, starting with the paragraph tag that opens the post and the stopping with the end paragraph tag that the post finishes with. The benefit of doing it this way is that it keeps any links and images intact without having to redo them.

Finally the timestamp can be set in Wordpress using the Post Timestamp option to that of the original post. That can be found between the title and and the post content that we have cut and pasted.

Now you have to repeat this for each post. See how much more effort this is to just getting the RSS feed cache from Google Reader. I bet you wished you had posted the full post now.

Warrick

warrickscr

I’ve not used this option, but it is a third way that seems to automate the process of getting the copies of your blog/website from the stored caches from several sources. Having not used it I can’t say how easy it is either in getting the data back up either. But having said that it’s worth checking out when your back is against the wall.

Here is the link to Warrick.

Of course all of the above does not replace doing regular backups of your blog.

Friday, 2 October 2009

The Little Photo Lab On Your Phone

I wrote the following post for my blog whitespider1066.com but thought it may be of interest and totally suitable for the readers of here as well. I’ll apologise for those that read both for duplicating the post.Oh there is a difference for some reason WLW and blogger don’t like me posting images! SO I have had to remove the screen shots that I was able to post over on whitespider1066.com.

Roger in the comments on the post “The Best Camera” asked me what iPhone apps I used to generate the photo that I posted. I thought that this would be easier to answer with a blog post than with a comment. Well I wanted to break up the OTS coverage, and to post a couple of screen shots from the iPhone. Any ol’ excuse to be geeky really.

The iPhone I have is the 3G which has a 2 mega pixel camera, unlike the 3GS which has a 3 mega pixel camera that also shoots video. The other difference is that the camera on the 3GS also has an auto focus, plus you can also select the area to focus on by touching the point on the screen. So those with the 3GS should be getting better results than I can with my 3G.

The iPhone has some great apps to allow you to manipulate photos while away from your pc/Mac. Which makes it really useful when out on the hills or doing a multi-day hike to live blog and attach images to the post.

After taking the photo using the camera on my iPhone I then load the photo into Photogene. Photogene costs £1.79 from the App Store, but is a very handy power packed tool. For starters it allows you to crop and straighten a photo. Plus enhance photos with multiple colour adjustment options and a sharpen filter. You can also add effects like text balloons, frames or special filters.

So using Photogene I cropped the photo, used the auto colour correct, and applied a frame to the picture (in this case the sticky tape on the corners).

The resulting picture I saved and loaded in to Collage Lite. Collage Lite is the  free limited version of Collage. Lite versions are the way you get to try before you buy in the iPhone App Store world. In Collage Lite the limitations are that you are limited to four photos and that you don’t get the crop functionality. At the moment the Lite meets my needs, but the full blown version is only 59p so like a lot of iPhone apps not going to break the bank. So using Collage Lite I assembled the photos to make the simple collage that you saw.

As I commented on the blog posting I just thought that it would be a fun way to present the photos that I had taken on the iPhone. We need to have fun sometimes.

So there you have the two apps that I used for the picture I posted. However I have a couple of other apps that I use as well. The first app is Pano. This app allows you to take panoramic photos using the iPhone and costs £1.79 on the App Store.

So as you can see on this post I have screen shots of the iPhone. How did I do them and get them on my netbook so I can use them in this post?

To take a screen shot on the iPhone quickly press and release the Sleep/Wake and Home buttons at the same time. A white flash of the screen lets you know the screenshot was taken, you will also hear an audible queue as well. The screenshot just taken is then added to the Camera Roll on your iPhone. Simple and very handy.

I then had to get this onto my netbook. Sadly my netbook does not have iTunes on it, and I only sync my iPhone with my Macbook anyway. So how to transfer files? Dropbox that’s how. Dropbox gives you 2GB of free online storage, and they have just released a free iPhone app. So with a small install of the Dropbox software on my netbook and creating a free account I was able to sync the photos quickly across from the iPhone to the netbook to be used in this post.

CropForFree is a free app that allows you to crop an image. It is a new one that I have recently downloaded to have a  look at. But with cropping already in Photogene and in Collage (if I buy full version) unless this adds something really special I can see this one being deleted from my iPhone. But still a handy one to know about if you want to crop without splashing out any cash.

Another app I have just downloaded is NoiseBlaster at 59p. It’s by the same author as Photogene, so it has a good pedigree. As the author describes it “NoiseBlaster implements an advanced algorithm, specifically designed to remove the noise created by the iPhone camera”.

So I hope that answered your question, and I haven’t bored you.

Sunday, 27 September 2009

Lilly Allen, File Sharing And My Thoughts

In the last week or so Lilly Allen has caused a bit of a stir on line with her “blog”. Well calling it a bit of a stir is an under statement, more like a shit storm. I can’t link to what she wrote, because she has taken the offending postings down. However I did get a chance to read them before they were removed. Basically Lilly came out in support of the Labour Governments plan to remove repeat file sharers from the web.

Since the shit storm, Lilly has backed down a little or in her words “had a rethink” and is now in favour of not disconnecting them but cutting the amount of band width down that they can use.

See I can understand Labour coming up with their blinkered bought view. Lets face it they have taken the music industries money. And yes we can argue that Lilly has also.

But there is a difference.

Lilly stated that file sharing hurt artists and stops new talent being discovered. I disagree, the music industry has been exploiting musicians and ripping off the public for decades. Which they were able to get away with while they were the gatekeepers to what we got to see and hear.

But the music industry got caught napping. The internet came along, and as it has in so many other industries it has removed the gatekeeper. For the music fan the internet has been a positive thing. It has forced down the price of owning music, from cd’s to being able to get individual tracks as downloads.

Yes there is still lots of music that gets downloaded for free. But it is incorrect to assume that these are lost sales. Very often these are people that would never of bought the record anyway

For years now musicians have made their money from touring and merchandise, and not record sales. The only people profiting from the record sales are the record companies.

Musicians need to get fans to come along to the concerts and buy merchandise. How do they do that? Have as many people listen to their music as possible. With the logic being “oh I like that group I’ll go and see them play live”. The only thing that I can see that will get in the way of this is if the artist/musicians involved get a rep for miming to their songs when playing live. That is unforgivable. Plus will put fans off from going to see them live.

Maybe Lilly could answer the question from all the money that the RIAA has gotten in the fines awarded by the courts in the US, how much of that has actually made it back to the artists?

Despite what Lilly has said the internet has made it easier for new artists. It has enabled them to build a fan base, and get their music out to the public easier. It has also enabled established acts to connect with their fans in a more direct way. In fact it has removed the barrier of entry for the artists of getting their music out there.

Now I can see why there were personal attacks on Lilly from the online community. They felt that Lilly was attacking them. Which in a way I think she was. But that doesn’t justify the personal attacks. I think you can debate/discuss the issues and the points raised without getting personal. If you make it personal then how can you ever hope to change a persons mind with your reasoned argument? That person won’t be listening to what you have to say.

I feel sorry for Lilly. I don’t think she realised how much her fans, and the public feel about this subject. If Lilly reads this which I doubt she ever will, I would like to invite her up North to discuss this subject on camera over a cuppa while out with my dogs. I think it would make a great vidcast. One day, one of these celebs will accept the invite and then I’m done for as I won’t be prepared.

Wednesday, 16 September 2009

Some Great Free Stuff From Microsoft

Wow I bet that title shocked folks. Yep Microsoft do some great stuff, and it is free as well!

Windows Live Writer (WLW) – I had to start with this it for me is the best bit of blogging software out there at the moment. So good in fact that on my Macbook I have VMWare Fusion running an XP virtual machine so I can use WLW on my Macbook. It really is worth the effort. There are also some nice free plugins that can be installed that expand it’s functionality.

Windows Live Photos (WLP) – You can install this at the same time as you install WLW, which I do recommend. There is one feature here that I find very useful indeed, and that is the ability to stitch photos together to make a panorama (details here). You can see the results I got from a panorama I did with it here.

Live Mesh – 5GB of online storage for your files. Runs on Windows (naturally), Macs (although there is a Snow Leopard incompatibility at the moment), the web and other mobile devices (no iPhone client yet). So 5GB of synced stored files, and the ability to access the desk top of the computer as well. So when you are away from your desk or office your able to get easy access to them and the apps that access them.

Office Live – Want another 5GB of storage just for your office documents? Want to collaborate on them as well? Then this great M$ freebie is just for you.

Sky Drive – 25GB of online storage! Yep a massive 25GB of free online storage. ‘nuff said really.

Of course with the above there may be file size restrictions. But if you are using these to back up photos, documents and the odd mp3, then this shouldn’t be a problem.

So using three free Microsoft services I make that 35GB of free online storage. Not bad if you ask me. Plus don’t forget when Office 10 comes out there will be a free online version of that to include in this list. It won’t be the full version naturally, but hopefully be more functional than Google Docs. I think that Google Docs will have some pretty stiff competition.

Friday, 11 September 2009

Yet Another “Social Media” Phone

Yet again another new phone that is aimed as a “social media” phone. This time it’s a Google Android phone from Motorola. I hate it when the phone company or network provider try to sell a new phone trying to ride on the back of “social media”. I’ve ranted about this previously about Nokia.

What they are trying to pass off as a “unique selling point” isn’t really. Any “smart phone” that can have apps installed on it can be a “social media” phone. The Google Android G1 phone is a “social media” phone, as is the Blackberry and the iPhone along with the Palm Pre. They all have Twitter and Facebook apps, plus other apps to hook up to other social networks. Also the majority of these apps are free and pretty good as well. In fact I prefer accessing Facebook from my iPhone to using the website (yes the apps can be that good).

I suppose to a general population that is none the wiser then this “unique selling point” may get them the odd extra sale. For those in the know we just aren’t fooled by this sales/marketing snow job.

Friday, 28 August 2009

My Top iPhone Apps

I've not posted anything on here for awhile. Well I've not had much to say on tech, so why bore you with senseless rambles? So I thought I would do this post about the apps on my iPhone that I am currently using the most at the moment.

TweetDeck (itunes link) (FREE)

TweetDeck is a very very popular multi-platform Twitter client for the desk top, which has been replicated on the iPhone. The initial version was a bit unstable, but that was soon fixed. The nice thing about this app is that it syncs the columns from the desktop version with this mobile version. There are a couple of features I would like to see in this that would make it my primary Twitter app and allow me to remove Tweetie. The first of those is the ability to see the current trending topics, and the second is the nearby feature. A tweet and walk mode would be handy as well.

Wordpress (itunes link) (FREE)

If you have a Wordpress blog then this is the app on the iPhone that you need. It supports multiple Wordpress blogs, allows you to not just do posts, but pages and comments as well. Only thing I would like to see added to this app is a bit more control over the images in the posts, ie not just having them put at the end of the post but allowed to have them within the text and have the text flow round them. But other wise this is a very very good blogging app.

Tomtom (itunes link) (GBP 59.99 for UK & Ireland)

Shown at the Apple event where they showed off version 3 of the iPhone OS. I along with many others have been waiting for this to come out. For me in the last couple of weeks even more so (well since my Tomtom was stolen from my car). There are a couple of features that are missing from the dedicated Tomtom device, which I hope they will add soon, such as allowing speed camera updates, along with map updates as well. There are other features I want added back in. Plus there is a difference in the routes the iPhone version comes up with compared to the Tomtom 920t I had. For instance the 920 when driving to my Nans would take me from the A1 to Wisbech via the A17. Where as the iPhone version takes me via the A47 and Peterborough. Even with these differences and missing features I still like this app a LOT.

AroundMe (itunes link) (FREE)

I love apps like this that are location based (and they will only get better with the augmented reality stuff that is becoming available on the 3GS). This one will tell you the location of places like Banks/ATM, bars, coffee shops,gas stations etc based on your current location. It will even give you directions as well.

SitOrSquat (itunes link) (FREE)

Another location based iPhone app this time one that tells you were the nearest public toilet is. Which when in a strange town/city is a very very handy thing to know.

Facebook (itunes link) (FREE)

The version 2 had a great interface that I preferred to actually using the web site itself. However the app has just got even better with version 3. If you are on Facebook and don't have this on the iPhone then what are you doing?

Google Mobile App (itunes link) (FREE)

Voice search and links to the Google Apps. A very very cool and handy app to have. It's great showing off the iPhone using the voice search.

Skype (itunes link) (FREE)

If you are a Skype user then you need this. Can only be used over wifi (as if O2 would allow us to make free calls over 3G), but still very useful to have.

Shazam (itunes link) (FREE)

Oh I love this app. It identifies music from a short snippet, great when you are watching a tv program or film and think wow what is that tune. How did we manage before this app came out?

Tube Delux (itunes link) (GBP 0.59)

I got this for my infrequent visits to London. Very handy to have, status updates, trip planner, departure info, even push notifications.

Sky News (itunes link) (FREE)

An app that links to Sky News. Even allows you to watch video of the news. Nice interface, does as it says on the can really. I like this one a lot as well.

Sky+ (itunes link) (FREE)

Once setup you won't have to miss another program on tv again. Select the program you want to record and your Sky+ box is programmed instantly to record it. It would be nice if the tv schedules pre-loaded at the start of each week so it was a bit faster, and that when setting something to record you could also set it up as a series link. But these are minor quibbles for what is still a great app. Also while I think about it, it would be nice if you could set it up so that it will search the schedules for you to tell you when there is stuff that maybe of interest on. A good app that could with a couple of features added be amazing.

Sky Sports Live Football Score Centre (itunes link) (FREE)

Now the season has started this is a must for football fans.

AirVideo (itunes link) (GBP 1.79)

With a free pc/Mac server software you are able to stream video from your pc/Mac over your network to your iPhone. Don't worry about the file format of the video not being iPhone compatible the server software converts on the fly!

TUAW (itunes link) (FREE)

I've just installed this as it has just become available. It's a very handy app for reading The Unofficial Apple Weblog.

I also play some games from time to time. The following are the ones I am finding myself going back to time and time again.

FlightControl (itunes link) (GBP 0.59)

I've just got into this one,and boy is it addictive. Cheap crack should never be this good!

FieldRunners (itunes link) (GBP 1.79)

A great tower defense clone, addictive. I start this and somehow an hour just disappears before I know it.

Bejeweled 2 (itunes link) (GBP 1.79)

King of the casual games, but still a classic that I enjoy.