Orkut Share link for your Website / Blogger, WordPress blogs
| Read next Google Maps for iOS | x |
Google has announced Orkut Share API (similar to Facebook share ) which can be added to any website / blog.Use the below javascript codes for Adding Orkut Share link to your website(s).
Description about the javascript parameters:
(Note: if you want a text only link, please use
customText : “Share this on Orkut!” instead of
customImage : ‘http://i48.tinypic.com/9urbs9.png’
in any of the below code)
1. Adding the default Orkut Share button to any webpage
<script src="http://orkut-share.googlecode.com/svn/trunk/orkutShare.js"> </script>
2. Adding a custom Image with Orkut Share link
<script>var orkutShare = {
customImage : 'http://i48.tinypic.com/9urbs9.png'
}</script>
<script
src="http://orkut-share.googlecode.com/svn/trunk/orkutShare.js">
</script>
You can use your own Image by providing the Image url in the above code (In the place of http://i48.tinypic.com/9urbs9.png)
3. Sharing a custom URL, Page Title with default Image
<script>var orkutShare = {
url : 'http://www.didiknow.com',
title: 'Did I Know?'
}</script>
<script
src="http://orkut-share.googlecode.com/svn/trunk/orkutShare.js">
</script>
4. Sharing a custom URL, Page Title with a custom Image
<script>var orkutShare = {
url : 'http://www.didiknow.com',
title: 'Did I Know?',
customImage : 'http://i48.tinypic.com/9urbs9.png'
}</script>
<script
src="http://orkut-share.googlecode.com/svn/trunk/orkutShare.js">
</script>
5. Want more custom? you can provide the content text, and Thumbnail of your webpage, and also the message for sharing the page
<script>var orkutShare = {
url : 'http://www.didiknow.com',
title: 'Did I Know?',
customImage : 'http://i48.tinypic.com/9urbs9.png',
content : 'A blog that follows Google, Friend connect,
GMail, Chrome and more..',
shareText : 'Check out this website',
thumbnail : 'http://i50.tinypic.com/2luuxw5.png'
}</script>
<script
src="http://orkut-share.googlecode.com/svn/trunk/orkutShare.js">
</script>
Change the URL and Page title to your own URL and Page title.
Adding Orkut Share link for Blogger blogs
<div class='post-footer'>
Default Orkut Share Image
<script>var orkutShare = {
url : '<data:post.url/>',
title: '<data:post.title/>'
}</script>
<script
src="http://orkut-share.googlecode.com/svn/trunk/orkutShare.js">
</script>
Custom Orkut Share Image
<script>var orkutShare = {
url : '<data:post.url/>',
title: '<data:post.title/>',
customImage : 'http://i48.tinypic.com/9urbs9.png'
}</script>
<script
src="http://orkut-share.googlecode.com/svn/trunk/orkutShare.js">
</script>
You can use your own Image by providing the Image url in the above code (In the place of http://i48.tinypic.com/9urbs9.png)
Adding Orkut share link to WordPress blog
Paste the following code on your single.php file, within the loop:
<a href="http://promote.orkut.com/preview?nt=orkut.com& tt=<?php the_title();?>&du=<?php the_permalink();?>" target="_blank">Share on Orkut</a>
Instead of “Share on Orkut” text, you can use any image, like,
<a href="http://promote.orkut.com/preview?nt=orkut.com& tt=<?php the_title();?>&du=<?php the_permalink();?>" target="_blank"> <img src="http://code.google.com/apis/orkut/docs/images/share.gif" border=0> </a>
You many also want to add Facebook, Digg, Buzz, Tweet buttons or/and

