Showing posts from March, 2013

Standard XML format for Google Base

<?xml version="1.0" encoding="UTF-8" ?> <rss version ="2.0" xmlns:g=""> <channel> <title>The name of your data feed.</title> <description>A description of your content.</description> <link></link> <item> <title>Red wool sweater</title> <g:brand>Acme</g:brand> <g:condition>new</g:condition> <description>Comfortable and soft, this sweater will keep you warm on those cold winter nights.</description> <guid>1</guid> <g:image_link></g:image_link> <link></link> <g:mpn>ABC123</g:mpn> <g:price>25</g:price> <g:product_type>Clothing & Accessories > Clothing > Outerwear > Sweaters</g:product_type> <g:quantity>3</g:quantity&…

Export Amazon Order List for DPD Label Printing

DPD supports 1000 address book entries and short names can be used to save order addresses. A single import of 200 entries is allowed by DPD. The CSV order is shown below

 Short Name * (max 20 characters) Country Code * (IATA - max 2 characters). Click here for a list of Country Codes Postal/Zip Code (max 10 characters) Organisation (max 35 characters) Property (max 35 characters) Street * (max 35 characters) Locality (max 35 characters) Town * (max 35 characters) County (max 35 characters) Contact (max 25 characters) Telephone (max 15 characters) Email (max 50 characters) Text No. (max 20 characters)  * are mandatory fields If you are an amazon seller and find it time consuming to enter individual address for shipping in DPD, here is a small script to quickly import address in DPD from amazon orders.
Amazon's Seller Central allow export of order report with the shipping address. Image below shows the page where you can download new orders report ORDERS > ORDER REPOR…

Simple PHP Script to read Tab Delimited File

<?php $filename = "c:\info.txt"; $fd = fopen ($filename, "r"); $contents = fread ($fd,filesize ($filename)); fclose ($fd); $newline = "\n"; $splitcontents = explode($newline, $contents); $counter = ""; ?> <font color="blue" face="arial" size="4">Complete File Contents</font> <hr> <?php echo $contents; ?> <br><br> <font color="blue" face="arial" size="4">Split File Contents</font> <hr> <table border="1"> <?php foreach ( $splitcontents as $color ) { $counter = $counter+1; #echo " $color\n<br>"; echo "<tr>"; $delimiter = "/t"; $splitcontents1 = explode($delimiter, $color); foreach ( $splitcontents1 as $value ) { if($value == null) { echo " "; } echo "<td> $value </td>"; } echo "</tr>"; } ?> </table>

Standard microdata ( format for E-commerce Products

<!-- ----------------------------------------------------------------------------------------------- This simple template is to help you understand precise implmentation of rules ----------------------------------------------------------------------------------------------- --> <!-- BreadCrumb --> <div itemscope itemtype="" style="display: inline;"> <a href="" itemprop="url"> <span itemprop="title">Category One</span> </a> › </div> <div itemscope itemtype="" style="display: inline;"> <a href="" itemprop="url"> <span itemprop="title">Category Two</span> </a> › </div> <div itemscope itemtype="http://data-vocabular…

Basic Facts of DNS configuration for any domain hosting or DNS Service

Previously, I answered an question on superuser to create a subdomain. So I want to share my knowledge on DNS to everyone who would like to configure their DNS on purchased domain.
DNS means domain naming server, system or service. The most basic server that is used worldwide is BIND (Berkeley Internet Naming Domain). Now basic purpose of DNS server (port 53) is conversion of name to IP. This conversion is important to make computer understand in its own language. Each domain normally has a zone file which is edited by DNS manager system of any registrar or hosting website. The main records in DNS are
HOST A  This record enables to provide name for IP address. new subdomains can be created using this record. 
MX (mail exchanger)  It is a mail record required to notify query of mail server of domain. It is …

Show Google+ profile image on your Content in Google Search Result Pages

Many pages have shown this process. However this post shows a quick step to step process to register authorship on search engine page results.

Go to Google Plus Authorship and register your E-mail address

Add a link of your content page on Google+ profile

Add following HTML tag on your content page (Example your blog or website). Replace NNNNNNNNNNN with profile number
<a href="" rel="author" target="_blank" title="Author: {Your_Name} on Google+">Google+</a>

Later, go to Google Rich Snippet Tool and enter your URL to check its working state.

If your profile image is visible in rich snippet tools preview than you have successfully configured your Authorship

How To Increase The Upload File Size Of An Image In Opencart

Here is a nice guide to increase the size of image upload on Open Cart

The video is uploaded by MelonFuel. Enjoy!!!

Quick SEO Tips

Here is a list of tips to quickly perform Search Engine Optimization (SEO)
Include meta-tags for description and keywords<metaname="keywords" CONTENT="list, of, keywords"> <metaname="description" CONTENT="Small Description of site">Always have Unique Content 
search engine results page (SERP) omit duplicate pages therefore unique pages provide extensive details to crawl. In case of duplicate content  Use the link rel="canoncial" element to help avoid this problem.
Increase the usability of siteWhen searchers navigate to your site and immediately return to search engine results pages, Google makes a note that your site might not be the best choice for that search term.Descriptive titles for link<a href="" title="Descriptive Title">Name of link </a>Alternate name for images<img src="" title="…

Setup Web Server with free StartSSL certificate

You can easily setup a Ubuntu Web Server with SSL (not self-signed) using free SSL certificate. This post will show you step wise process to implement it.

The setup starts assuming you have installed LAMP or apache

So Lets Start

Enabling mod_ssl
To enable apache's SSL module, run...
a2enmod ssl
... and restart Apache:
/etc/init.d/apache2 restart
Apache should now be listening on port 443 (HTTPS):
netstat -tap | grep https root@server1:~# netstat -tap | grep https tcp6 0 0 [::]:https [::]:* LISTEN 1238/apache2 root@server1:~#
Setting Up The Vhost 

I will now create the vhost with the document root /var/www/

First I create that directory:
mkdir /var/www/
Apache comes with a default SSL vhost configuration in the file /etc/apache2/sites-available/default-ssl.

We use that file as a template for the vhost
cp /etc/apache2/sites-available/default-ssl /etc/apache2/sites-availa…