EDIT: Here is what you asked for:
http://www.blackhatworld.com/blackha...ml#post1274955
I just coded a new version in PHP that has throttling and link limiting, the process is very solid and it handles it's own pinging.
--------- OLD POST LEFT FOR REFERENCE -----------
This is a quick way you can get your visitors to automatically ping your pages on a wordpress or static site. This allows constant exposure to blog search engines and can get your new pages indexed in under 10 minutes on autopilot
This is not really BlackHat (A nice shade of light-grey) but it works wonderfully well for getting extra traffic, more links and higher exposure as well as getting indexed fast.
This is based on this thread Just adapted for javascript and any site:
http://www.bluehatseo.com/blog-ping-hack/
Just insert this on your article pages or for Wordpress, put this in your templates footer.php:
If you don't want it to run when your IP is on the page you need to add some extra code.Code:<script language="JavaScript"> <!-- document.write ("<iframe src='http://pingomatic.com/ping/?title=" +escape(document.title)+ "&blogurl=" +escape(location.href)+ "&chk_weblogscom=on&chk_blogs=on&chk_technorati=on &chk_feedburner=on&chk_syndic8=on&chk_newsgator=on &chk_feedster=on&chk_myyahoo=on&chk_pubsubcom=on&c hk_blogdigger=on&chk_blogrolling=on&chk_blogstreet =on&chk_moreover=on&chk_weblogalot=on&chk_icerocke t=on&chk_audioweblogs=on&chk_rubhub=on&chk_geourl= on&chk_a2b=on&chk_blogshares=on' style='width:1px;height:1px;border:0px;display:non e;' scrolling='no'</iframe>" ) // --> </script>
Note, this requires Server Side Includes to be enabled for your .html pages if doing this on a static site. If you don't know how to do this I have included some .htaccess magic below as well...
To enable SSI in .html files add this to your .htaccessCode:<script type="text/javascript"> //Enter list of restricted ips, each separated with a comma: var restrictedips=["111.111.111.111", "11.11.11.11"] var ip = '<!--#echo var="REMOTE_ADDR"-->'; var handleips=restrictedips.join("|") handleips=new RegExp(handleips, "i") if (ip.search(handleips)==-1){ document.write ("<!-- Restricted Ping -->" ) } else { document.write ("<iframe src='http://pingomatic.com/ping/?title=" +escape(document.title)+ "&blogurl=" +escape(location.href)+ "&chk_weblogscom=on&chk_blogs=on&chk_technorat i=on &chk_feedburner=on&chk_syndic8=on&chk_newsgator =on &chk_feedster=on&chk_myyahoo=on&chk_pubsubcom=o n&c hk_blogdigger=on&chk_blogrolling=on&chk_blogstreet =on&chk_moreover=on&chk_weblogalot=on&chk_icerocke t=on&chk_audioweblogs=on&chk_rubhub=on&chk_geourl= on&chk_a2b=on&chk_blogshares=on' style='width:1px;height:1px;border:0px;display:non e;' scrolling='no'</iframe>" ) } </script>
This is why this works... every time a visitor comes to your site it uses their IP address to ping the page, keeping it fresh and in front of the blog search engines. Even it they crawl a lot of pages and get their IP temporarily locked from Pingomatic, your site is unaffected and their IP is unlocked in 5 minutes.Code:AddType text/html .shtml AddHandler server-parsed .shtml AddHandler server-parsed .html AddHandler server-parsed .htm Options Indexes FollowSymLinks Includes
This can be very powerful and even create a lot of backlinks automatically to your site.
Have fun
Regards
BlackFedora




LinkBack URL
About LinkBacks

Reply With Quote















Bookmarks