Setting Up Windows Live Writer for Easy Blogging [Wordpress Blog]

If you are a good blogger you don’t get bored writing a blog. However lack of essential tools for blogging can sometimes get make blogging boring. There are many tools that allow you to write a blog post locally and publish it to your Wordpress blog via XML-RPC service. XML-RPC is a service that remotely allows you to do things on your website using XML data feed. One such example is publishing a blog post. I would rather not go in detail about XMP-RPC.

There are many tools available for you to write blog posts on your PC. In this article I picked up Windows Live Writer because

  • It is Free (even many others are free like Zoundry Raven)
  • It is faster
  • It is more user friendly
  • It has got many third plugins
  • It has got theme support (where you can live preview your blog)
  • A free product from “Microsoft”. Lol yeah!

So first you need to download and install Microsoft Live Writer from here (and for those who love offline installers like me here is the link).

Lets begin installing. In the mean time, open the admin panel of your blog. Go to Options > Writing Settings

Make sure XML-RPC is checked which is under Remote Publishing. Save your settings.

xml-rpc

Now lets start with the Windows Live Writer. I hope it is already installed by now. There should be a window that would be asking you for which blog service do you use. Select “Other blog service” and click Next

live-1

Now add your blog writing your blogs URL followed by your admin username and password. Then click Next

live-2

The Windows Live Writer will not try to connect to your blog and validate your username and password to set up your blog.

live-3

You will be prompted to create a temporary post to detect the current theme for Live preview. In our case, I selected No.  Now you should see something like this

live-5

That brings this to an end. Windows Live Writer is now connected to your blog. Simply write a new post, click publish and see the magic.

Creating an AJAX Powered Pagination in Wordpress


ajax-pagination

Pagination on blogs is quite in common. But an AJAX powered pagination on a cool themed blog is the apple of my eye. In this tutorial we are going to see how to change your old styled pagination into an AJAX powered dynamic pagination.

In this tutorial I assume that you have basic knowlege of editing HTML, PHP and Javascript. I have used jQuery for handling ajax and the modified code for pagination from Lester Chan’s WP-Page Navi

The tutorial will consists of creating a basic pagination using PHP, jQuery and editing some template pages. Make sure you backup your ooriginal theme before trying this.If you arent able to follow the tutorial download the zip file at the containing the required files. (including css style).

Step 1

Firstly, open up the index.php and/or home.php if it exists. Wrap the div that holds all the posts with a div of id #ajaxcontent. And add <?php pagenavi(); ?> just before the end of the content div.
Will look something like this

<div id="ajaxcontent">
<div id="content">
<?php if (have_posts()):
   while (have_posts()):
      the_post(); ?>
.......
.
.
.
.
<?php endwhile;
endif; ?>
<?php pagenavi(); ?>
</div> <!-- end #content -->
</div>
<!-- end #ajaxcontent -->

Step 2

Create a new folder called plugins in your current template’s directory. Download the zip package containing all the files. Copy the pagenavi.php and pagenavi.css file into the plugins folder in your current template’s directory.

Step 3

Now just copy everything inside the #ajaxcontent wrapper(Make sure you dont include the ajaxcontent wrapper div too.) and create a new file called wp-ajax-post.php in your root directory and paste it there.

Step 4

Add this code on top of wp-ajax-post.php

<?php
require ('wp-blog-header.php');
query_posts('paged=' . $_GET['p']);
$paged = $_GET['p'];
?>

Step 5

The last thing to do is, open functions.php in your template directory and include the pagenavi.php plugin like this


<?php include("plugins/pagenavi.php"); ?>

So that was the tutorial, check out the working example/demo on the home page of my blog MyGeekpal

Download Ajax Pagination Files (174)

10+ Blogs for Wordpress Related Resources and News

Since most of us have our blogs hosted on wordpress. It is essential to keep our self updated with wordpress related news and resources. As a blogger you can’t afford to call a web designing company each time to need to make very simple modification to your blog in order to save a few tens or hundred bucks. So this time I have tried to collect most of the blogs and websites that not only provide you some cool theme but can also help you tweak your wordpress blog right from themes to plugins with essential resources. I ahve also tried to Here are the must haves.

Yoast (@yoast)

yoast

Yoast is a blog written by Joost de Valk. Joost de Valk is known as a Wordpress Guru and learn his cool SEO Tactics for wordpress. This blog can bring you the best from wordpress.

PlanetOzh (@Ozh)

ohz

Written by Ozh RICHARD, The guy who has written dozens of plugins of which most popular like Admin Drop Down Menu and contest winnin  g like Who Sees Ads. This guys has many resources and articles on his blog to check out.

WPCandy (@wpcandy)

wpcandy

Brings you best of wordpress themes, artivles, tutorials, etc.

WP Hacks (@wphacks)

wphacks

WP Hacks was the website that I used to visit when I was learning to create wordpress themes. The website brings great resources like theme hacks, plugin hacks, guides, tutorials for SEO and latest wordpress related news.

WpRecipes (@catswhocode)

wprecipes

Another website like WP Hacks but here I have seen some cool tweaks exclusinve on this website which aren’t found anywhere else.

WPZOOM (@WPZoom)

wpzoom

As the logo states, not the largest collection though but the colletion is great. All things at one place.

WPTavern (@wptavern)

wptavern

WPTavern brings you latest news directly related to wordpress, along with interviews, meetups, and a special area where you can ask any of your doubts to the professionals.

WPEngineer (@wpengineer)

wpengineer

I guess the name is quite self explaining, wide range of tutorials and resources for wordpress

WPCULT (@wpcult)

wpcult

Another wordpress tips, tricks, news and resources blog.

Wordpress Garage (@miriamschwab)

wordpressgarage

Tutorials and articles associate to wordpress.

Bonus Sites

FUN with Wordpress

wp-fun

WPInformer

wpinformer

Free Wordpress Theme – MGP Domizine

screenshotMGP Domizine is an excellent free wordpress theme.

The theme is incorporated with various features listed below

  • Syntax Highliter Integration
  • Carousel
  • Gravtar Support
  • Widgetized
  • Custom Theme Options
  • TweetMeMe Ready
  • Lightbox Integration
  • In Built Advertisement Support
  • Automatic Post Thumbnails
  • Wordpress 2.7 ready

DEMO

Click here to view

DOWNLOAD

Click here to download (69)

Free Wordpress Theme – MGP Simplistic

f41eo51Hey my readers, a new wordpress theme for you all this time. The design is very simple this time but I have tried to add as many features as possible to the theme like twitter integrations, custom options as usual, automatic thumbnails etc.

Do take time and write a comment about the theme below.

Syntax Highliter Integration

TweetMeMe Ready

Customizable Options

Lightbox Integration

Gravatar Ready

Twitter Follow Me Button

Automatic Post Thumbnails

Demo

Click here to view

Download

Download (630)

License

Keep the footer links intact

How to Backup and Synchronize your Wordpress Blog


This tutorial is based on the assumption that you already know the basics of Wordpress and FTP. If you need any kind of help with the tutorial, fell free to as me a question below in the comments
wp-backup-cds2I don’t trust web hosts. Yes I mean it I don’t trust any web hosts. I am not saying that web hosts aren’t reliable but when it comes for backup, I don’t trust any web host. No Godaddy, no media temple, no hostgator. First of all I don’t like hosting at godaddy and hostgator either. They have are far too many clients than they can tackle. The best host that I feel to host a wordpress blog is Wpwebhost and I have all my websites and wordpress blogs hosted there. They are the best hosting service for a budget price that I have found so far.

When it comes to backup, thought my host provides me regular backup like most of the pout there, but I still backup my blogs on my own and sync them up to date. I feel this very convenient to keep all my blogs synchronized on my local computer. It makes me feel secure to have everything updated on my local PC. So basically I keep my local backup by, synching my blogs after every 2-3 posts. The main reason for doing this is I don’t have to download those large big backup files generated by the server.

Things to have in your Inventory

Before starting up, these are the things that you may require

Firefox 3.0 – Yeah you need this if you don’t have

FireFTP – So you have firefox like everyone does huh! Grab this extension that we need to synchronize all the image files

WP-DB-Backup – This plugin will help you get the fresh copy of your updated wordpress database

Lets get started – How to backup the Database

We’ll start off with the downloading the database as this is a one step method, next we’ll move on to synchronizing files. Activate the downloaded plugin. Click on DB backups in the sidebar under the posts.

wp-sync-tutorial-1

You get to see something like this, Select all the tables that you want to add in the database and click on backup button

wp-sync-tutorial-2

You will now get a link to your backup file. The backup is created somewhere in wp-contents folder. Simply download that file. You now have the backup of your database.

wp-sync-tutorial-3

The next big thing – How to backup and sync files

This is what is somewhat lengthy process but easier though.Let us first create a new folder where we will be saving/synchronizing the blog. Now keep ot ready and open the Firebug Extension from the Tools menu in your browser. Connect to your website using FTP and navigate to the /wp-contents/uploads/ folder of your blog. Do the same with the local folders, I mean to say navigate to the /wp-content/uploads/ folder in your local sync directory.

wp-sync-tutorial-5

Click on the image to enlarge it

Now click on the Tools button and click sync directories and subdirectories menu.

wp-sync-tutorial-6

You will see some FTP activity going on in hte log and then you may see a dialog box like this.

wp-sync-tutorial-7

Click on the Download button and then click on the Sync button. You will see some files get downloaded and that’s it, you get both the directory synched up to date.

This is what I do with all my blogs. Got a better idea? Please write below…