BCCI has a subsidiary site at bccicricket.org for updates on any of the Indian domestic matches being played (Ranji, Irani cup, Vijay Hazare cup, Duleep,Syed mushtaq, may be IPL too this time), I followed my home team Karnataka all this season on this site, It’s a pretty slow site I should say. However I had no other way, except for final which was telecasted live on TV as well as on my usual favorite cricinfo.
I’m so thrilled that I could follow all the matches live which is way better than waiting on cricinfo for updates (oh! wait I’m not complaining, cricinfo is still my favorite ), I tried to make it better and sent them a suggestion to look into their coding and find the security flaw they still have. No body replied! well there isn’t anything very serious you can do by logging into Admin’s account on that site.
Google has been displaying live scores with it’s search results when a visitor queries for live scores or a particular match (I haven’t been free to write about that though), (Bing has that future too)
Just type in the word “cricket“, here is the snapshot of what I found just as I’m writing this post
Live scores followed by news results in cricket
Using site specific search operator in Google, Yahoo, Baidu, Bing, Seznam
To restrict your search for a specific website (let’s say to search for Helen Hunt from wikipedia website) in Google, Yahoo, Baidu, Bing,Soso, Sogou and Seznam you need to use site: operator
For example the search for site:wikipedia.org helen hunt
will return pages from all wikipedia sites for the key phrase Helen Hunt (BTW she is my favorite), take a look at the snapshot
Google has returned top ten pages from wikipedia sites for “Helen Hunt”, You can also notice in the snapshot that there are pages from en.wikipedia.org pages as well as from simple.wikipedia.org, you can restrict search to a specific sub domain by exactly typing in the url after site operator as in “site:en.wikipedia.org helen hunt“. Even better refining of results is possible by restricting search to a specific folder of the site Eg:en.wikipedia.org/wiki helen hunt
You can also use site: operator in broader sense, instead of just limiting search to a specific site, we can restrict site to .edu, .org, .com and other top level domains Eg: site:edu mit
Seznam is different and good in someway, It returns results of the forms example.com/cs/page/1/ and example.com/page/1/cs/ when you search for site:example.com/cs/
Yahoo redirects us to siteexplorer.search.yahoo.com when site: operator is used, we can directly go to siteexplorer.search.yahoo.com and type in the site url instead of site operator.
Yandex doesn’t support site operator as I know, It only returns the main page as of now, but if you are a webmaster and wondering how to know which of the pages are added to yandex try adding your site to Yandex webmaster tools at webmaster.yandex.ru and search inside your webmaster tools (http://webmaster.yandex.ru/site/indexed-pages.xml?host=xxxxx&path=*) by just typing in the sitename followed by * Eg: example.com/* will return all example.com pages
Note: XXXXX in the url is the id of your site that yandex has assigned (only if have submitted your site to yandex)
- $file_location= ‘http://example.com/image.jpg’; // http address of the image file
- $img = imagecreatefromjpeg($file_location); // you have to use a different command if you are saving a different format image, use imagecreatefrompng or imagecreatefromgif accordingly
- $width=800; $height=600;
- $temp = imagecreatetruecolor( $width, $height );
- $destination_location=’/location/where/you/want/the/file/to/be/stored/image.jpg’;
- $quality=80; // quality you wish to retain from the original image, 70% to 80% is good both qualitywise and quantitywise. Trust me it saves a lot of space from the original image
- imagejpeg($temp,$destination_location,$quality);
this is pretty much it, I was using it in one my applications and when
I had to write this, I just copied the lines that are useful to this post, though I haven’t checked this, you can expect them to work for you right away, please let me know if it doesn’t work byleaving a comment, I’ll try to test it myself
This method works for most of the files, I only say most because I haven’t tried all. I have tried SWF flash and images, as I know it works well for both txt/ html files. I guess it will be okay even with pdf or some other file format, please leave a comment if it works for the format you have ben trying.
Access a file with php through it’s url and then write it into your ftp
$from_url=‘http://example.com/sample-file.swf’;
$location_to_write=‘/home/username/mysite.com/test.swf’;
$file_content=file_get_contents($from_url);
file_put_contents($location_to_write,$file_content);
Note:
- Use complete ftp address for the destination file name
- /home/username/mysite.com is just the way my host stores files, different hosts have different ways, your’s might use www/blah/public_html kind of navigation
Please leave a comment if it works for other formats or if it doesn’t work at all, that would help others too
Top ten search engines based on their alexa ranks are:-
| # |
Name |
Alexa Rank |
Language/ Country |
| 1 |
Google |
1 |
English, many |
| 2 |
Yahoo |
2 |
English, many |
| 3 |
Bing/ Live/ Msn |
Bing:20 |
English, many |
| 4 |
Baidu |
9 |
Chinese |
| 5 |
Yandex |
28 |
Russian |
| 6 |
Ask |
47 |
English, many |
| 7 |
Sogou, Sohu |
Sogou:116, Sohu:57 |
Chinese |
| 8 |
Goo |
98 |
Japanese |
| 9 |
Rambler |
108 |
Russian |
| 10 |
Naver |
128 |
Korean |
| 11 |
Seznam |
227 |
Czech |
| 12 |
Daum |
230 |
Korean |
Note:
- Numbers to the right indicate Alexa ranks and in the brackets the Primary language of that particular search engine is mentioned.
- Other sites like AOL, Myspace, Altavista, Alexa are excluded as they use results from the above listed search engines.
- Though Sohu is a popular site it uses results from sogou hence ranked together.
| Site |
Alexa Rank |
Compete Rank |
Quantcast Rank |
Google PR |
Yahoo IBL |
Indexed pages on Google |
| Twitter |
14 |
38 |
27 |
9 |
10,673,355 |
136,000,000 |
| Slashdot |
1427 |
2,374 |
5,610 |
9 |
13,916,659 |
1,290,000 |
| Technorati |
643 |
572 |
988 |
9 |
12,002,190 |
8,720,000 |
| Digg |
114 |
17 |
59 |
8 |
37,652,087 |
17,500,000 |
| Stumbleupon |
302 |
270 |
1,387 |
8 |
28,629,483 |
2,910,000 |
| Reddit |
482 |
309 |
999 |
8 |
14,525,645 |
1,200,000 |
| delicious |
529 |
937 |
6,179 |
8 |
IBL |
82,800 |
| Mixx |
933 |
2,850 |
1,210 |
8 |
59,800 |
2,420,000 |
| Propeller |
1,725 |
2,987 |
- |
8 |
4300 |
2,310,000 |
| Sphere |
19,318 |
794 |
1,403 |
7 |
11,250 |
619,000 |
Note:
1.Yahoo buzz, techmeme are excluded
2. Pages are arranged according to Google PR and Alexa rank
http://api.moreover.com/RPC2
http://api.moreover.com/ping
http://api.my.yahoo.com/RPC2
http://api.my.yahoo.com/rss/ping
http://blog.goo.ne.jp/XMLRPC
http://www.blogdigger.com/RPC2
http://www.blogpeople.net/servlet/weblogUpdates
http://blogsearch.google.com/ping/RPC2
http://www.blogshares.com/rpc.php
http://www.blogsnow.com/ping
http://www.blogstreet.com/xrbin/xmlrpc.cgi
http://www.newsisfree.com/RPCCloud
http://www.newsisfree.com/xmlrpctest.php
http://ping.bitacoras.com
http://ping.blo.gs/
http://ping.cocolog-nifty.com/xmlrpc
http://ping.exblog.jp/xmlrpc
http://ping.feedburner.com
http://ping.syndic8.com/xmlrpc.php
http://ping.weblogalot.com/rpc.php
http://pinger.blogflux.com/rpc/
http://pingoat.com/goat/RPC2
http://www.popdex.com/addsite.php
http://rpc.blogrolling.com/pinger/
http://rpc.icerocket.com:10080/
http://rpc.newsgator.com/
http://rpc.pingomatic.com/
http://rpc.technorati.com/rpc/ping
http://rpc.tailrank.com/feedburner/RPC2
http://rpc.weblogs.com/RPC2
http://www.wasalive.com/ping/
http://xmlrpc.blogg.de
This is the list of ping services shortlisted after checking their alexa rank (All with ranks within 1,00,000) . Some are very important, some guys advise not to keep the list bigger as it might cause timeout error (don’t ask me what that means, I’m a noob too).
There are many lists available check them out. I made a short list for my blog, publishing hoping it might help you.
Posting to your blog can be even more easier when you can post to your blog through your email account.
After logging into your the blog you want to change the
settings.
Click settings

Click on the email link under settings

Send an email to username.[secretwords]@blogger.com example username.1234@blogger.com
Select Publish emails immediately.
Thats it send an email to username.[secretwords]@blogger.com, it will be published to your blog.
You can even save the posts from mail to drafts so that you can publish them later.
If your site is moved to a new domain with the same file structure as before you can use this code to redirect to the new location. Works well for content management systems like wordpress even without .htaccess
<?php
$url=$_SERVER['REQUEST_URI'];
$url=substr($url, 0, -1);
$url_new=”http://newdomain.com$url/”;
header(“HTTP/1.1 301 Moved Permanently”);
header(“Location: $url_new”);
exit();
?>
Place the above code before outputting html (Even before <html>).
What silly thing does this do ?
It does silly thing of concatenating the file name part in old domain to new domain and redirect the visitors and search engines. Since its server side redirect its search engine friendly and you won’t lose search engine juice.