What is text-based web browser?

Most of you know what is web browser – it’s a program/software by which you surf the internet, can view websites and web pages, send emails etc. 

 

Browsers we are familiar with (Internet Explorer, Firefox, Google Chrome, Apple Safari, Opera, Camilla) have a good interface and are called graphical browsers because they, display all the contents of a web page including text, images, videos and flash.

 

What is a text web browser?
A text web browser is just like a graphical browser, lets you surf the website. One big difference is, the complete absence of a nice looking interface.You have to use keys like the tab and arrows and enter key (instead of mouse) and opening a website shows you only text matter – no images not any other flash media and colours 🙂
It displays only the text on a web site with only links.

 

Importance and use of text web browser
A text web browsers is a very good way to check how a search engine bot views/reads your website page content. These service also available for free on the web, If you don’t want to download and install a text based web browser on your computer.

 

Which one is good in text browser?
Lynx was the first text based web browser and is good till now. It is a free program that can be installed on multiple operating systems (its cross-platform) including Windows, Mac and Unix/Linux. There are several other such programs like Emacs/W3, Edbrowser, ELinks, W3M. Lynx has been around since about 1992 and can be downloaded from Lynx homepage.

 

Google has been the most popular search engine and people always strive hard to have their sites rank high on its search results pages. To help developers with the various aspects of their web sites, Google has posted tons of articles and videos. They’ve also put up a Webmasters Tools section which has many utilities that can assist people in improving their web sites. One of them is the “Fetch as Googlebot” located under “Diagnostics” through which you can check how individual page appear to Google’s crawler.

 

“Fetch as Googlebot” is not a text browser :). However, it’s a great tool that can inform problems/bugs with in your site. Webmaster Tools site is free and you only need a free Google Account to access all of its features.

 

Configure dreamweaver for .thtml and .ctp files

Configure dreamweaver for .thtml and .ctp files

I prefer to use Dreamweaver to create code all of my websites, mainly because of the code highlighting and the way I organize my sites in separate folders. I realize that there are lots of text editors out there but Dreamweaver is what I’m comfortable with and it does the great job.

 

Other text editors are Netbeans, Ecplipse, Notepad++  etc  but these have limited features. Dreamweaver have lot of features almost all a developer need.Yeah, It is paid but by it you speedup of your coding affords and managing projects skills,I think lots of programmer like Dreamweaver.

 

In CakePHP I found out that Dreamweaver doesn’t open .THTML and .CTP extensions files automatically, But it is so easy to configure Dreamweaver for these type of file.
Here it is…

 

THTML and CTP Files
CakePHP 1.1 uses .THTML files and CakePHP 1.2 uses .CTP files. We will set both of these extensions so that we don’t have to fiddle around with Dreamweaver again.

 

Modifying the Necessary Dreamweaver files
There are 3 files that you need to edit. The first two are located in the folder that you have installed Dreamweaver, in my case It is in ‘C:\Program Files\Adobe\Adobe Dreamweaver CS3\configuration‘.

C:\Program Files\Macromedia\Dreamweaver 8\Configuration in case,if you are using Macromedia Dreamweaver 8

 

Open up ‘Extensions.txt’ and on the first line at the very end add THTML and CTP separated by commas, so the line should read
,MASTER,THTML,CTP:All Documents
Similarly add these two extensions to the ‘:PHP Files’ line.
PHP,PHP3,PHP4,PHP5,TPL,THTML,CTP:PHP Files

 

Next open the ‘DocumentTypes’ folder and edit the ‘MMDocumentTypes.xml’ file, just open it up using notepad/wordpad. Search for the line which has an id ‘PHP_MySQL’ and add the THTML/CTP file extensions to both the ‘winfileextension’ and ‘macfileextension’ so the line should read.

 

winfileextension=”php,php3,php4,php5,thtml,ctp”
macfileextension=”php,php3,php4,php5,thtml,ctp”

 

The final file is another version of the ‘Extensions.txt’ which is located in your ‘Documents and Settings’ Folder in my case this is ‘C:\Documents and Settings\Mahesh\Application Data\Adobe\Adobe Dreamweaver CS3\Configuration’ just add the very same things you inserted earlier.

 

If you are using Macromedia Dreamweaver 8, you need not to do this edit.

 

 

for windows 7 you need to edit one more configuration file:
C:\Users\\AppData\Roaming\Adobe\Dreamweaver CS3\en_US\Configuration\extensions.txt
edit just like the other extension files.

 

Hope this will make sense!!

Canonical URL SEO issue & How you can fix URL Canonicalization?

Canonical issue is a common issue that websites are facing. Due to the this many informative websites are not performing well in search engine results page.

 

Ranking top in search engine always depends on the quality of information a website is providing, how the site is optimized & the back-links along with the content language and it’s uniqueness.Still any site is not performing well in search engine then there must be some issues like canonical, blacklisted IP etc.

 

What is canonical issue?

For example if you have the website
http://www.yourwebsite.com

 

and then the index page can be also accessible by these URLs:

http://www.yourwebsite.com
http://www.yourwebsite.com/index.html
http://www.yourwebsite.com/index.php
http://yourwebsite.com/index
http://yourwebsite.com

In these cases all the pages are same at user end, means the user will found the same page information at each URL. But search engine crawler treats these pages as different pages. So the crawler will treat it like different pages.

 

Everything the title, meta tags, content etc are same on these pages. So the search engines will consider it as a case of content duplicate and the search engine will consider the site pages as spam and it can de-index your page and affect the search result page in short the Site Ranking decreases.

 

How to can you solve URL canonical issues ?

We can solve this issue by redirecting all these URLs to a single URL permanently(301 Redirect).
By uploading a .htaccess file we can easily redirect all the URLs.

 

1.Code to redirect non www domain (http://yourwebsite.com/) to www domain (http://www.yourwebsite.com/) permanently (301):

[sourcecode language=”plain”]
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^yourwebsite\.com
RewriteRule ^(.*)$ http://www.yourwebsite.com/$1 [R=301,L]
[/sourcecode]

 

2.Code is to redirect index.html to http://www.yourwebsite.com/

[sourcecode language=”plain”]
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /.*index\.html\ HTTP/
RewriteRule ^(.*)index\.html$ /$1 [R=301,L]
[/sourcecode]

 

3.Code is to redirect index.php to http://www.yourwebsite.com/

[sourcecode language=”plain”]
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /.*folder/index\.php\ HTTP/
RewriteRule ^(.*)folder/index\.php$ /folder/$1 [R=301,L]
[/sourcecode]

 

After adding these rules in .htaccess file we just need to upload it to the root folder of the website.

 

Protect Your PHP Source Code With ionCube Encoder

ionCube PHP Encoder is an utility from www.ioncube.com, It protect software written in PHP programming language from being viewed, changed, and run on unlicensed computers.

 

The tools use the technique of compiling to byte code prior to encoding so that source code is eliminated, and runtime overheads are reduced.A PHP extension called the ionCube Loader handles the reading and execution of encoded files at run time.

 

You can install the ionCube Loader by following some simple steps.

 

Most of the programmers of PHP have the same problem (how to protect PHP scripts source code ), because PHP scripts source codes are simply plain text, anyone who knows how to program/code can easily know your programming logic and can do things(hack and resell).

 

With ionCube PHP encoder, your php scripts are transformed into codes that human can not possibly understand or modify, that sounds great to all of you programmers but there comes a disadvantage, the compatibility,ionCube encoded scripts can not be executed without a loader, and asking your clients to install an extra loader(paid software) before they can run your scripts is not acceptable.

 

RaidenHTTPD is a web server with built in PHP 5 support, and after contacting with ionCube company (Ltd), we are allowed to include the ionCube loader inside our RaidenHTTPD server software package, that means with default RaidenHTTPD installation option, you will be able to execute ionCube encoded scripts directly without the need of installing another loader.

 

Of course, if You want to encode PHP files, You can consider to buy an ionCube PHP encoder from www.ioncube.com.

It is not free 🙂

 

Test Your Website Performance Using Apache JMeter

Apache JMeter is a open source software, a 100% pure Java desktop application designed to load test functional behaviour and measure performance of a software/web-based packages. It was originally designed for testing Web Applications but has since expanded to other test functionality as well.

 

In simple words
Apache JMeter is Java application designed to load testing the application. You can use JMeter to test how much load your Website can handle.’

 

How it will be helpful?

Apache JMeter is used to test functional and performance both on static and dynamic resources (files, Servlets, Perl scripts, Java Objects, Data Bases and Queries, FTP Servers, PHP Scripts and more).

JMeter is not a browser as it looks like. As far as web-services and remote services are concerned, JMeter looks like a browser (or rather, multiple browsers); however JMeter does not perform all the actions supported by browsers.

 

How can I get JMeter ?

 

Click on the link below.

http://jmeter.apache.org/index.html

 

A complete manual of the same can be found here.

http://jmeter.apache.org/usermanual/index.html

Hope this will help..