List of English Stop words

Stop Words are words which do not contain important significance to be used in Search Queries. Most search engine filters these words from search query before performing search, this improves performance.

Mysql full-text search also fillers some stop words which can be found in the storage/myisam/ft_static.c file. See List of Mysql Stop word

We have created the list of English stop words to use in Keywords Density Checker tool.
Continue reading “List of English Stop words”

8 Most useful regular expressions

Regular expression also known as regex or regexp is a sequence of characters that forms a search pattern. It is used by most of the programming language like php, javascript, perl etc.

Here is the list of most useful regular expressions for webmasters. To test them on text string use our Regular expression testing tool.
Continue reading “8 Most useful regular expressions”

Php script to get social share count

I have created a tool to check social popularity of website. That shows total number of Google plus, Tweets, Facebook likes, Stumbleupon views, Delicious bookmarks, Linkedin shares and Pinterest pins for a website or URL.

Here is a php class to get social share count. It might be useful for you Continue reading “Php script to get social share count”

PHP: Get movie information from IMDB

If you are building a website about movies and want to access movie information from Imdb then you can get it only by web scrapping because Imdb doesn’t provide any API to access its movie database. But there are some third-party API which provides information from Imdb.

In this article I will explain how to use following two APIs

  1. omdbapi.com (Requires API key)
  2. imdbapi.org (stopped working)

Continue reading “PHP: Get movie information from IMDB”

Convert relative path into absolute url

I was developing a tool which extracts all links from webpage but I was getting relative path (e.g. /dir/page.html) instead of absolute url (e.g. http://www.example.com/dir/page.html). Most of websites use relative path to link internal page and browser can convert in into absolute url but php don’t have any inbuilt function to do this. So after searching internet I found one which can convert relative path into absolute url. This is one of the important function for php programmer but missing in php language Continue reading “Convert relative path into absolute url”

Read Rss/Atom feed using php

Web feed is a data format used to provide updates for blog or website. Most common types of feed are Rss and Atom. In this article you will learn how to read these feeds using php.

As we know that feeds are generated by using XML, so generic way to parse it by using php5 simplexml_load_file function. But we have to write different functions to parse different types of feed and versions.

To do this in simple way there is a php class named SimplePie

Continue reading “Read Rss/Atom feed using php”