August 31, 2009

Random Posts Widget For Blogger


Random Posts Widget For Blogger i.e each time the page of your blog refreshes the posts on the blog showed by this widget changes, means this widgets always shows unique posts from your blog with unique combinations at random,i.e the widget selects the posts randomly from all your blog posts and never knows which post might it pick from your blog to show.Really this is the gem of the widget you really should show on your blog for sure.

As before this i had blogged about a one more random posts widget in which a link was made and clicking on it would show random post in blog.



Now how to add this widget in the blog.

1. Log into Blogger >> Layout >> Html/Javascript .
2.Then paste this code in it.


<script type="text/javascript">
var randarray = new Array();var l=0;var flag;
var numofpost=6;function randomposts(json){
var total = parseInt(json.feed.openSearch$totalResults.$t,10);
for(i=0;i < numofpost;){flag=0;randarray.length=numofpost;l=Math.floor(Math.random()*total);for(j in randarray){if(l==randarray[j]){ flag=1;}}
if(flag==0&&l!=0){randarray[i++]=l;}}document.write('<ul>');
for(n in randarray){ var p=randarray[n];var entry=json.feed.entry[p-1];
for(k=0; k < entry.link.length; k++){if(entry.link[k].rel=='alternate'){var item = "<li>" + "<a href=" + entry.link[k].href + ">" + entry.title.$t + "</a> </li>";
document.write(item);}}
}document.write('</ul>');}
</script>
<script src="/feeds/posts/default?alt=json-in-script&start-index=1&max-results=1000&callback=randomposts" type="text/javascript"></script>


Change the the text no in red above in codes to select how many random posts you want to display.

And Save the Widget.Now you will be shown up the the title of the posts in widget like you see in recent posts, recent comments or popular posts widget and all the posts will be picked randomly.

Now How to show random posts title with post summary.

Just open this script or download this Random Post Script.

If it gets downloaded then just upload it to your file host and if it opens just copy it to notepad and save it as .js file and upload to your server.

You can get Free File Host Here.

1. Log into Blogger >> Layout >> Html/Javascript .
2.Then paste this code in it.

<script type="text/javascript">
var randarray = new Array();var l=0;var flag;
var numofpost=5;var wordnumber=5;</script>
<script style="text/javascript" src="http://www.your-file-url/random-posts-summary.js">
</script>
<script src="/feeds/posts/default?alt=json-in-script&start-index=1&max-results=1000&callback=randomposts" type="text/javascript"></script>


Just change the green url with your script url which you uploaded to your server.

Alter the codes in red in above codes to adjust the count of posts and and how much word summary you want up to show up in the widget.Thats it so Simple.If you have any problems leave your comments below.
Credits for widget to Divya Sai And Hackers Blog.

August 29, 2009

How Remove Dotted Lines From Blogger Links


Hi Friends,i am going to share a small trick with you all friends,the trick seems small but is very useful and i have seen many professional blogger designs even not using it in there designs.Doesn't it look bad when user clicks on any link in your blog and link is then surrounded by dotted lines.It looks very bad to me.As you can see from the below demo picture as when i clicked the link in blogger the dotted line appeared,it doesn't look good to me.



So i will tell you on how to remove these dotted lines from all your blogger links.

Just Login To Blogger Go To > Layout > Edit/Html and Find for ]]></b:skin>

And just place the below codes before it.

a { outline:none; }


And save your template and you are done now.Now whenever you will click on any link in blogger no dotted lines will appear.

August 25, 2009

How Compress Or Zip Your files Online Free


How To Compress Or Zip Your files Online For Free,as nowadays there is no big need to zip or unzip files online as everybody will be using winrar software installed in there pc to zip or unzip your files but sometimes you come into need of doing this online,as it happened with me.

As some days ago my pc got effected with viruses and my winrar was not working,then i tried to install it again but was not successfull and i needed to zip my file for sure as i have to upload it to server to complete my post.

Than came an idea of zipping it with online server.Then got some tricks and sites to do it very easily as like you have installed any software in your desktop.

First i will tell you some sites which will zip your files online for free in just seconds depending upon the size of your files.

The two best sites for compress or zip your files online for free are:-

Zip-it

Filestomp


Go to these sites just browse your file to them and they will zip it for you.

If you find at any time these sites have closed or there server are down,then i have one more trick to zip your file online.

Just open your mail account write an mail to your other email address and attach the file to the mail you want to zip and send it.

Now login to your other mail account to which you sent your mail and download the attachment,the attachment you downloaded will be zipped which you can use.

I hope you will like these tricks for sure.

August 23, 2009

Search Google For Most Recent Pages On Any Keyword


Google Real Time Web Search,what it is-whenver you search google for some keywords you always get the pages from the sites at the top that have high page rank value for that keyword,the result may be not be as useful as you can get some useful information from pages listing too below sometimes or you may be searching for latest content in recent time and getting only old resuls valued high by search engines.

So what real time web search can do is you can get the all latest results for any keyword published most recent on different sites in google search.

How its more useful for me:-Sometimes i find for exmas results that are not published on many big sites and doesn't get the pages at top for that keyword as they have very less page rank value,but if i use google real time web search to get the most recent pages who posted the results of any exams.

Its only one example it applies to many things like i want latest technology results,latest softwares its really useful.

Now how to use Google Real Time Web Search.

Open Google.com

Now write for the keyword you are searching for and hit enter.

If you get desired results its good.If not then copy the below word in red

&as_qdr=d

And add it in search url of google as below in blue



Now Hit enter and you will see the results within latest hours as below.



I hope you will like this real time search.For any queries let me know.

TEXT ME ANY QUERY

 

Copyright 2009 All Rights Reserved Revolution Two Church theme by HackkingAday