Posts Tagged ‘URL’

Types of Blog Spam

Saturday, November 15th, 2008

1. Basic comment spam. The spammer leaves a short uneventful message in a comment field in one of your entries. The spam comes from the URL placed in the comments URL field. These URLs link back to every conceivable scam.
2. Comment spam flooding. The spammer uses an automated computer bot to flood your blog with comment spam messages, up to hundreds in an hour. The spammer doesn’t necessarily leave a URL, but can leave garbage messages, almost like a graffiti artist. The comment spam can put a severe load on the server hosting your blog software to the point that it crashes.
3. Trackback Spam. Spammers have discovered how to take advantage of Trackback. TrackBack spam is very similar to comment spam. The spammer sends TrackBack pings to your site that direct viewers to a totally unrelated URL.
4. Referral spam. The spammer links to your site from their site, and then pings your site through their link, thus creating a reference and link to their site on the statistics referral log of your website. When you are reviewing your stats and see the reference to an odd site (ex. Paris Hilton), clicking on the link takes you to their site. Many people list “referrals” on their site publicly, so by spamming referral logs, not only does the spammer get a link on your referral log (which is picked up by Google) but may even get a link on your main page.

Search engine optimization-Use the keyword phrase in your URL

Tuesday, July 15th, 2008

Even if you can’t get your keywords into your domain name, you can put them into your URLs. Search engines read the URLs and assign value to the text they find there.

Searching for an Exact Phrase

Tuesday, July 15th, 2008

To require that an entire phrase be found in a search,enter quotes (” “) around the terms. For example, “giants baseball” returns listings where the words “giants” and “baseball” appear together and in that order, either in the title, the URL of the Web site, the description, the keywords, or the document. If no sites are found that contain both terms, sites that contain either term will be displayed.

Seo-Place your keywords

Tuesday, July 15th, 2008

The most important elements to insert keywords into are the URL (domain name + path + filename) and title of your web page. Also, a low-level URL (www.mysite.com/page.htm) is considered more important than a higher level URL (www.mysite.com/subdir/anothersubdir/page.htm). Check out the Dutch website Nu.nl for a good example. Notice how every newsitem has it’s own title in the titlebar and how every item’s html file is named after its title. These tricks make you score!

It’s also important to use your keywords in the body of your site, frequency (a lot) and proximity (close to each other) are important. The higher in a page, the more important a keyword is considered to be. Text in headline (h1 or h2), bold or caps is considered more important than regular text.

More Google API Applications

Tuesday, July 15th, 2008

Staggernation.com offers three tools based on the Google API. The Google API Web Search by Host (GAWSH) lists the Web hosts of the results for a given query (www.staggernation.com/gawsh/). When you click on the triangle next to each host, you get a list of results for that host. The Google API Relation Browsing Outliner (GARBO) is a little more complicated: You enter a URL and choose whether you want pages that related to the URL or linked to the URL (www.staggernation.com/garbo/). Click on the triangle next to an URL to get a list of pages linked or related to that particular URL. CapeMail is an e-mail search application that allows you to send an e-mail to google@capeclear.com with the text of your query in the subject line and get the first ten results for that query back. Maybe it’s not something you’d do every day, but if your cell phone does e-mail and doesn’t do Web browsing, this is a very handy address to know.

20 Tips for More Efficient Google Searches

Monday, July 14th, 2008

For millions of people Google is an indispensable search tool that they use every day, in all facets of their lives. From work or school, research, to looking up movies and celebrities to news and gossip, Google is the go-to search engine.

But instead of just typing in a phrase and wading through page after page of results, there are a number of ways to make your searches more efficient.

Some of these are obvious ones, that you probably know about. But others are lesser-known, and others are known but not often used. Use this guide to learn more about, or be reminded of, some of the best ways to get exactly what you’re looking for, and quickly.

1. Either/or. Google normally searches for pages that contain all the words you type in the search box, but if you want pages that have one term or another (or both), use the OR operator — or use the “|” symbol (pipe symbol) to save you a keystroke. [dumb | little | man]

2. Quotes. If you want to search for an exact phrase, use quotes. ["dumb little man"] will only find that exact phrase. [dumb "little man"] will find pages that contain the word dumb and the exact phrase “little man”.

3. Not. If you don’t want a term or phrase, use the “-” symbol. [-dumb little man] will return pages that contain “little” and “man” but that don’t contain “dumb”.

4. Similar terms. Use the “~” symbol to return similar terms. [~dumb little man -dumb] will get you pages that contain “funny little man” and “stupid little man” but not “dumb little man”.

5. Wildcard. The “*” symbol is a wildcard. This is useful if you’re trying to find the lyrics to a song, but can’t remember the exact lyrics. [can't * me love lyrics] will return the Beatles song you’re looking for. It’s also useful for finding stuff only in certain domains, such as
educational information: ["dumb little man" research *.edu].

6. Advanced search. If you can’t remember any of these operators, you can always use Google’s advanced search.

7. Definitions. Use the “define:” operator to get a quick definition. [define:dumb] will give you a whole host of definitions from different sources, with links.

8. Calculator. One of the handiest uses of Google, type in a quick calculation in the search box and get an answer. It’s faster than calling up your computer’s calculator in most cases. Use the +, -, *, / symbols and parentheses to do a simple equation.

9. Numrange. This little-known feature searches for a range of numbers. For example, ["best books 2002..2007] will return lists of best books for each of the years from 2002 to 2007 (note the two periods between the two numbers).

10. Site-specific. Use the “site:” operator to search only within a certain website. [site:dumblittleman.com leo] will search for the term “leo” only within this blog.

11. Backlinks. The “link:” operator will find pages that link to a specific URL. You can use this not only for a main URL but even to a specific page. Not all links to an URL are listed, however.

12. Vertical search. Instead of searching for a term across all pages on the web, search within a specialized field. Google has a number of specific searches, allowing you to search within blogs, news, books, and much more:

* Blog Search

* Book Search

* Scholar

* Catalogs

* Code Search

* Directory

* Finance

* Images

* Local/Maps

* News

* Patent Search

* Product Search

* Video

13. Movies. Use the “movie:” operator to search for a movie title along with either a zip code or U.S. city and state to get a list of movie theaters in the area and show times.

14. Music. The “music:” operator returns content related to music only.

15. Unit converter. Use Google for a quick conversion, from yards to meters for example, or different currency: [12 meters in yards]

16. Types of numbers: Google algorithms can recognize patterns in numbers you enter, so you can search for:

* Telephone area codes

* Vehicle ID number (US only)

* Federal Communications Commission (FCC) equipment numbers (US only)

* UPC codes

* Federal Aviation Administration (FAA) airplane registration number (US only)

* Patent numbers (US only)

* Even stock quotes (using the stock symbol) or a weather forecast regarding the next five days

17. File types. If you just want to search for .PDF files, or Word documents, or Excel spreadsheets, for example, use the “filetype:” operator.

18. Location of term. By default, Google searches for your term throughout a web page. But if you just want it to search certain locations, you can use operators such as “inurl:”, “intitle:”, “intext:”, and “inanchor:”. Those search for a term only within the URL, the title,
the body text, and the anchor text (the text used to describe a link).

19. Cached pages. Looking for a version of a page the Google stores on its own servers? This can help with outdated or update pages. Use the “cached:” operator.

20. Answer to life, the universe, and everything. Search for that phrase, in lower case, and Google will give you the answer.

Creating HTML Hyperlinks within a Web Page

Monday, July 14th, 2008

The ANCHOR tag is used to create a hyperlink within a web page.

To link to a web page within the same directory of your web site, you only need to include the page name within your HTML code.

<A HREF=”yourpage.html”>Text</A>

When linking to a web page within your web site in a different directory, you must include the directory name with your page name.

<A HREF=”yourdirectory/yourpage.html”>Text</A>

When linking to another web site, you must include the full URL.

<A HREF=”http://www.site.com”>Text</A>

Seo:Choosing A Good Domain Name

Tuesday, July 1st, 2008

Domain names figure into the ranking with some search engines. If you do not already have a domain name picked, then from an optimization standpoint it is a good idea to pick a domain name that says what your business is and has your main keyword as part of your domain name.

For instance, if you sell automobile tires online, from a keyword standpoint, you would want to purchase a domain name such as shellytires.com or shelly-tires.com instead of just shelly.com. The “tires” portion of you domain name, with all things being equal with your competition, will help you achieve a higher search engine ranking with some search engines.

If you do a Google search for a certain keyword or keyword phrase you will see your keyword/s highlighted if the different websites in the search results. If you have a keyword or keyword phrase in your URL, then this too will be highlighted which leads one to believe that Google gives some weight to keywords in the domain names.

If you already have a domain name that you are using that tells what your business is about but has no keywords in it, then don’t despair since this is only a minor consideration with most search engines in their ranking algorithms. But if you have a choice of building a website from the ground up, then choosing a domain name with your main keyword embedded, may give you a slight edge in the search engine ranking wars.

PHP:Validate URL using outgoing connection ( fopen )

Monday, June 30th, 2008

<?php
/**
* valid_url - validates supplied url/uri making a connection
*
* Note:
*
* 1) this method is more accurate than a validation made by a regular expression but it is much slower
* 2) administraters may restrict outgoing connections from your hosting to outside world and the function may raise a PHP Warning
*
* @param $url String
* @return true if the address is valid
*
*/
function valid_url( $url )
{
if ( @fopen( $url, ‘r’ ) )
{
return true;
} else
{
return false;
}
}
if ( valid_url( “http://blog.tryangled.com” ) )
{
echo “URL OK”;
} else
{
echo “Invalid URL.”;
}
?>

PHP:Validate URL (FTP, HTTP) using regular expression ( regex )

Monday, June 30th, 2008

<?php
/**
* valid_url - validates supplied url with a regular expression ( regex ).
*
* URL can be FTP, HTTP secure
* @param $url String
* @return true if the address is valid
* @author RAJI
*
*/
function valid_url( $url )
{
if ( !preg_match( ‘!^((ht|f)tps?://)?[a-zA-Z]{1}([w-]+.)+([w]{2,5})/?$!i’, $url ) )
{
return false;
} else
{
return true;
}
}
if ( valid_url( “http://blog.tryangled.com” ) )
{
echo “URL OK”;
} else
{
echo “Invalid URL.”;
}
?>