tutorial

Migrating New Blogger to WordPress 2

Import your posts with comments from New Blogger to WordPress 2. New Blogger Import tool is ease and simple to use; no more manual pains.

My love with Blogger is over finally 🙂 I have been planning for move to WordPress for a long time. I have been stopped since I did’t want to carry the pain in my butt with all the manual stuff involved in it previously.

After the announcement of new blogger import feature in WordPress. I thought to give a try and which now made me to take the final move. Now I’m proudly powered by WordPress and themed by Qwil

Blogger to WordPress

The new blogger import plugin is out of beta and is been tested with the current version of WordPress. The final version is available here. From the new release of WordPress this plugin would be present as default.

Features :-

  • Imports all Blogger Posts
  • Imports all the Comments
  • Imports the Post Author and Comment Author information
  • Imports Categories (i.e. Labels) from Blogger

Other Useful Utils:-

1. While you’re testing the blogger import feature you can try out WordPress Suicide plugin; this plugin will help you clear all the posts in WordPress.

2. By itself it does not support to import the images hosted in blogger, but you can use the blogger image import plugin.

The plugin is compatible only with new blogger so i would suggest to migrate everyone to migrate to new blogger. Since the old blogger import utility will not import post comments along with posts.

Here I will provide you the steps required to Import the post from New Blogger to WordPress.

Limitation:-

The import plugin won’t work with the blogs that are using FTP publishing. So before trying this import feature make sure you switch to Blogspot publishing.

Steps:-

  1. Make sure you got the id of Blogger which your tring to import( say bloggerid.blogspot.com).
  2. Make sure your blogger publish full feeds, if not modify the option to publish full feeds. ( In Settings –> Site Feeds –> Blog Posts Feed –> FULL)
  3. Download the latest plugin from here.
  4. Upload the plugin to the WordPress plugin location and activate the plugin.
  5. Make sure your web-server supports url_fopen or should have curl enabled.
  6. In WordPress, goto Manage –> New Blogger Import to access the plugin.
  7. Provide your blogger id which you’re trying to import.
  8. Select the default category and author, where you want the post to be imported.
  9. Also you have option to create the category and author corresponding to the post.
  10. If you’re blog is too large and you’re facing time out error, reduce the import cycles and unpick the import every posts in single fly option.
  11. If you’re using Haloscan comment in blogger, then enable the option and use the plugin in conjunction with this.
  12. If you want to enable permalink structure same as used by blogger turn this on. I would not suggest it.
  13. Click on import, you will be all set and it ask to import the author information.
  14. Save those changes. Now all the post and comments are imported to WordPress
  15. Now it’s time to say good bye to Blogger forever. See the redirection below.

If you have published the Blogger using FTP previously, you got good luck. Since you will be able to do a Permanent direct 301 using .htaccess using the syntax below.

RedirectMatch permanent ^blog/2006/07/old-post-link.html$ http://www.sitename.org/newblog/2006/07/new-post-link/

The posts redirected with 301 redirect will not loose search engine ranking or penalized.

But if you’re using blogspot publishing, you will left with no other option that using <META> tag redirect. You can make the required changes in the template and republish the blog. So that the blogger will redirect all the request to the newly hosted wordpress domain. See below a sample syntax of blogger template should be to enable the blogger redirect.

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>My blog title</title>
<meta http-equiv="refresh" content="5;
url=http://www.sitename.com/newblog" />
</head>
<body><p>
If your browser supports Refresh, you'll be transported to our <a href="http://www.sitename.com/newblog">New Blog</a> in 5 seconds, otherwise, select the link manually. Thank you </p>
</body>
</html>

Now you will preserve your traffic as well.

Have fun. Say good-bye to Blogger soon 🙂

Happily and Proudly powered by WordPress.

Update (04/26/07) : The above method doesn’t work anymore; since the plugin in broken as there was a change in Blogger’s feed. Better option would be upgrading to WordPress 2.2, which has inbuilt blogger import feature. Good Luck!

Installing Apache / PHP / MySQL on Windows machine

7

Tutorial for hassle free Apache / PHP / MySQL installation.

Hello, I decided to write this post since I knew few people who are not be able to getaway with the installation since they are too new to this world!So to make their/your installation trouble free i’d to write this guide 🙂

This method works well with all Windows PC. Hope this helps people.!

Install Apache

Apache is most trusted web server that suits for the installation of PHP on your machine. Apache is an open source web server, which has captured almost 80% of web server market today.

Download latest version of apache windows binary installation from http://httpd.apache.org/download.cgi. The latest version that is available today is Win32 Binary (MSI Installer): apache_2.2.3-win32-x86-no_ssl.msi

Before installing make sure to disable IIS web server if running. Since it might conflict with the default HTTP port 80, in which apache runs by default.

Now let us install Apache web server into your PC. Execute the previously downloaded apache installation file which is standard Windows installation file and thus very straightforward. Just fill in the required information on screen and end the installation.

Once you have done your apache installation try visiting http://localhost; you should get an apache test page. If you’re done with successful test page, you’re ready to proceed to next step.

Install PHP

Congrats! You’ve made a wise decision to install PHP, a leading open source web programming language.

Now visit http://www.php.net/downloads.php to download latest version of PHP. Download the latest available windows binary version in ZIP format.

Once download is complete; unzip the package into a directory preferably in root drive say C:\PHP. Now you’ve to move the file named “phpXts.dll” from the PHP installation directory to Windows directory (C:\Windows or C:\winnt depending upon your OS version); X stands for the version of PHP being installed. Make an entry to C:\PHP in the PATH environment variable.

Configuring PHP

Now you need to tell apache web server what to do when it encounters PHP file. To make this work we need to make some modification in both apache and PHP configuration files.

Before doing any modification to configuration files, create a directory where you’re going to place the web application. Say C:\www

First rename the php.ini-dist to php.ini in PHP installation directory, in our case C:\PHP. Then modify the following in php.ini
doc_root = “c:\www”
extension_dir = “C:\php\ext

Change the location if you’ve installed in different location.

Note: Use backslashes while you specify any path in configuration files.

Now open httpd.conf file available in apache configuration directory (generally C:\Program Files\Apache Group\Apache2\conf\). Edit the DocumentRoot entry to DocumentRoot “C:/www”

Then change the Directory Entry as . Add the following entry into the configuration file as well before AddHandler section (do a search for “AddHandler” for find the position fast).

ScriptAlias /php/ “c:/php/”
AddType application/x-httpd-php .php .php5
Action application/x-httpd-php “/php/php-cgi.exe” # if PHP5
Action application/x-httpd-php “/php/php.exe” # if PHP4
SetEnv PHPRC “C:/php”

Finally add index.php to the DirectoryIndex entry as well like “DirectoryIndex index.html index.html.var index.php”

Now you’re ready before testing the PHP; you need to restart Apache web server to effect the changes.

Testing PHP

Create a file named phpinfo.php in C:\www or whether you configured as home directory. In phpinfo.php add “ and save.

Now point your browser to http://localhost/phpinfo.php and you should be able to see the PHP environmental variables displayed. If you’ve not seen that page you need to review the installation process again, you might have missed or went wrong in any of the above steps 🙂

Install MySQL

Now we’re almost in the final stage, we need to prepare a backend so that our web applications can make use of it. MySQL is the best choice to combine with apache and php.

Download the latest version of MySQL from http://dev.mysql.com/downloads. You’ve to download the latest available stable Window MySQL into your PC.

Once download is complete, double click on the MSI installation file, which you have just downloaded. Follow the onscreen instruction to complete the installation. Skip the sign up section and make sure you check “configure the MySQL Server now” option.

Now you will get a configuration dialog box, which can be configured easily by reading the instruction. Make sure “Install As Windows Service” is checked in the configuration page. Then define your admin password as well.

Setting up MySQL

First of all, check the c:\php directory and make sure that the files libmysqli.dll and php_mysqli.dll are both there. If they are not there, check the c:\php\ext directory and copy the files into c:\php

Then open up the file c:\php\php.ini in your editor and ADD the line extension=php_mysqli.dll

Now restart the apache web server to reflect the changes made.

Create a php file and test the mysql functions to connect to the database. Make sure your MySQL server running before executing the php program.

You can use PHPMyAdmin (www.phpmyadmin.net/) to manage your MySQL database through easy to use web interface.

Learning PHP

The complete PHP reference manual can be obtained from the php website itself. You can start learning other basic books to start off with PHP!!!

Have fun with php!!

Testing Web-based Applications

1

A comprehensive list of widely used common testing methodology for web application.

If you’re a web application developer / tester, I would suggest you to follow these testing methodology. These testing methodology is derived in a way that it removes the defect/bugs and gives the end user effective way to use the application. In the web world, how the content looks has more precedence over the application. So it is must that developer take care of this requirement too. There might-be few other methodology too which I would have left here. If so let me know.

Web-based applications present us new challenges, these challenges include:

  • Short release cycles;
  • Constantly Changing Technology;
  • Possible huge number of users during initial website launch;
  • Inability to control the user’s running environment;
  • 24/7 availability of the web site.

The quality of a website must be evident from the onset. Any difficulty whether in response time, accuracy of information, or ease of use-will compel the user to click to a competitor’s site. Such problems translate into huge loss of customers/visitors, loss of sales, and most importantly will yield poor image for the company.

To overcome these types of issues in the later stage, we use the following techniques:

1. Functionality Testing

Functionality testing involves making sure the features that most affect user interactions work properly. Map the functionalities with the requirements that is being gathered from clients. These testing components may include :

· forms
· searches
· pop-up windows
· shopping carts
· online payments


2. Usability Testing

Many users have low tolerance for anything that is difficult to use or that does not work. A user’s first impression of the site is important, and many websites have become cluttered with an increasing number of features. For general-use websites frustrated users can easily click over a competitor’s site. The information must not be scattered across the site; it should be well managed and organized. Stimulate the real users to preform this test.

Usability testing involves following main steps
· identify the website’s purpose;
· identify the indented users;
· define tests and conduct the usability testing
· analyze the acquired information

3. Navigation Testing

Good Navigation is an essential part of a website, especially those that are complex and provide a lot of information. Assessing navigation is a major part of usability Testing. The users should be able to navigate to the required information that is available with a ease. Link Checker can be used to check whether there is any broken links because broken links will makes users to think the site is outdated or not maintained.

4. Forms Testing

Websites that use forms need tests to ensure that each field works properly and that the forms posts all data as intended by the programmer. In current scenario, spam control using image validation is must; since it will reduce lot of spamming effort. Moreover the exceptions in forms should be handled carefully. Scenarios-based testing has to be conducted.

5. Page Content Testing

Each web page must be tested for correct content from the user perspective. These tests fall into two categories: ensuring that each component functions correctly and ensuring that the content of each is correct. In other words “are we presenting the right information in the right place?”. This is should be checked.

6. Configuration and Compatibility Testing

A key challenge for web applications is ensuring that the end user sees a web page as intended by designer/developer. The user can select different browser software and browser options, use different network software and on-line service, and run other concurrent applications. We execute the application under every browser/platform combination to ensure the web sites work properly under various environments. Cross-browser / Cross platform testing should be done.

7. Reliability and Availability Testing

A key requirement of a website is that it is available whenever the user requests it, i.e.) 24-hours a day, 7 days a week. The number of users accessing web site simultaneously may also affect the site’s availability. The bandwidth needs of all users should been met.

8. Performance Testing

Performance Testing, which evaluates system performance under normal and heavy usage, is crucial to success of any web application. A system that takes for long to respond may frustrate the user who can then quickly move to a competitor’s site. Given enough time, every page request will eventually be delivered. Performance testing seeks to ensure that the website server responds to browser requests within defined parameters; i.e) Standards has to formulated for response time, etc.,

9. Load Testing

The purpose of load testing is to model real world experiences, typically by generating many simultaneous users accessing the website. We use automation tools to increases the ability to conduct a valid load test, because it emulates thousand of users by sending simultaneous requests to the application or the server.

10. Stress Testing

Stress Testing consists of subjecting the system to varying and maximum loads to evaluate the resulting performance. We use automated test tools to simulate loads on website and execute the tests continuously for several hours or days.

11. Security Testing

Security is a primary concern when communicating and conducting business- especially sensitive and business- critical transactions – over the Internet. Security is the major challenge faced by every .com companies. The user wants assurance that personal and financial information is secure. Finding the vulnerabilities in an application that would grant an unauthorized user access to the system is important.Once you’re done with this; you’ll have quality web-based application on your hand that can double your profits & visibility across the globe.

Go to Top