Showing posts with label API. Show all posts
Showing posts with label API. Show all posts

Saturday, March 6, 2010

Google Buzz Widget jQuery Plugin

hi , come up with new jquery feature with Google buzz , Google Buzz is a new way to discuss any ideas and new things which comes up inbuild in gmail now a days. so you will come to know how it is ?but if u want to develop this using jquery then surly this article will help you, you can design same buzz stream into your website.

Now google Buzz API provides buzz in Atom Format,but some policy need to be maintain under that. you cant grab all the data from another domain without JSONP. now in this case you can use the Google AJax feed api service and download the rss or the atom which will convert into
json compatible format.

something look like this way:






How to use :
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"> </script>
<script type="text/javascript" src="http://google-buzz-widget.googlecode.com/files/jquery.google-buzz-1.0.min.js"> </script>


Here are the two Google Api for Jquery and for Google Buzz you can place this in < head > section


These are the Features :

  • You can Dispaly buzzes in fixed list or as you want

  • many css features like height, width , opacity and all

  • customize each link

  • you can disaply hole buzz in your page


yes one more thing , now the Google buzz is very new in and may be rules may get change later on also, so keep on updating
if you know anything new on this , plz post a comment so it will better to us or reader to know update part

Monday, November 9, 2009

Top flickr tools

Flickr is one of the Social Photo Sharing site, where you can upload your photo , get the comments on photo, rate the photo , or also share your photo's with your friends. there are so many site just like Flickr but Flickr has very nice and atractive look and have some great features that can likes you.

Here are some Flickr tools to enhance you flickr Experience .
1 .Flickr Explorer
you have seen many flickr uploaders but photo downloader is less than that . So you can use this tool to download the photo from flickr.com


2.FlickrFight
This will helps you to compare two images , you need to only enter that keyword or tag and just check that images on flickr site.


3.flickrSLiDR
SLiDR will allow you to easily embed with the classical slideshoe on your application , you just need to enter the url , photo or group that you want to embeded with some option , then you will get the help code of same,


4.UploadrXL
From here you can upload more images on your site , it has some nice features ike Multi lingual , thumbnail preview , Adding multiple photos , Groups photos , EXIT reader , Tag Editor and so on , one better thing is it supports .Net Framework 2.0


5.CompFight -

Compfight its a new tool basically uses in Flickr’s API , To search the database of photos and then feeds back the results as live clickable thumbnails.


6.Bubbler
this tool is used to create comic strips using flickr, you just search for photos using tags or you can also search using username and get the right pic , now just drag the bubble on that pic or photos and enter the text what ever you want that text will get publish .



7.Flickr Logo Makr
You can desing you own logo using this cool tool. you can find same color font or style using on flickr.



8.FlickrFox
it will allow you to browse the phpto in sidebar in FF(Firefox), that can makes managing your groups ,searching new tags ,keep the contacts easy , and many more.


9.Flishr
Flishr is a primer application to Download,search and also for upload from one center to another that means one PC to another .it has some best features that can make you search better and easy to use , you need to search & downlod that pics from flickr or need to upload that pics in very fast maner, but one limitation is there with this you can use this application only on Windows only.


10.Chasr
this is mini application, you can dispaly your pics from Flickr on your own site or blog for free of cost , download this Chasr and install it you own server , which will allow you to see your pics on your own site.

Wednesday, October 7, 2009

youtube search api using C#

hi , i have allready specify how you can use youtube api in your .net application, here is my next post on same topic , you can add Youtube Search widget on your web site using API SEARCH method ,XmlDataSource control can be used in ASP.Net to bind the Youtube API RSS response to display the Youtube videos.

if you are using .Net then Repeater Control is one of the best option to display result . at first you need to create api method url to retrive the result from youtube in terms of RSS Feed. you can also Use of XmlNamespaceManager to read that Rss feed having media namespace that provides the syndication content about Youtube videos

- Google Code for Youtube API and Tools

http://code.google.com/apis/youtube/developers_guide_protocol.html#Searching_for_Videos

Steps to add simple YouTube search page to your ASP.NET web site


  • first get a free Developer Key:  http://youtube.com/signup?next=/my_profile_dev.

  • now you need to construct uri like this

    string uri = "http://www.youtube.com/api2_rest?";
    uri += "method=youtube.videos.list_by_tag";
    uri += "&dev_id=" + developerKey;
    uri += "&tag=" + txtSearch.Text;
    uri += "&page=1&per_page=50"; //


  • now you can get the returned result in an XML document,now load the XML into a DataSet using its ReadXml method.


now create one page and in that create one text box and one submit button
put this code on codebehind


protected void Button1_Click(object sender, EventArgs e)
{
string developerKey = "" // put your key here;
if (developerKey.Length == 0)
{
Response.Write("You need to get a YouTube

developer key
first!");
return;
}
// Call the YouTube api to list all videos for a tag
string uri = "http://www.youtube.com/api2_rest?";
uri += "method=youtube.videos.list_by_tag";
uri += "&dev_id=" + developerKey;
uri += "&tag=" + txtSearch.Text;
uri += "&page=1&per_page=50"; // you can add custom paging if desired
DataSet ds = new DataSet();
ds.ReadXml(uri);
DataTable dt = ds.Tables[2];
this.DataList1.DataSource = dt;
DataList1.DataBind();
}



and here is your datalist code

<table>
<asp:Datalist id="DataList1" runat="server" CellPadding="2" CellSpacing ="2" BorderStyle="None">
<FooterStyle BackColor="#CCCCCC" ForeColor="Black"></FooterStyle>
<ItemTemplate>
<tr > <td colspan="2" align=center> <b> <%# DataBinder.Eval(Container, "DataItem.title") %> </b> </td> </tr>
<tr>
<td style="width:100px;Height:20px;">
<asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl='<%# Eval("url") %>' >
<asp:Image ID="Img" ImageUrl='<%#Eval("thumbnail_url") %>' runat="Server" />
</asp:HyperLink>
</td>
<td style="width:450px;Height:20px;"><%# DataBinder.Eval(Container, "DataItem.description") %></td>
</tr>
</ItemTemplate>
</asp:Datalist>
</table>


view demo
that's it , happy youtubing...

Saturday, August 1, 2009

YouTube API in C#

Now you can add the YouTube Video Feature into ASP.NET Web page, there are so many

customization option on it.
There are the : -

1. API enables selecting the item from the playlist
2. setting the autoplay mode and object size (W/H)
3. Start up options could be set by using Web Query as an example, the following query sets

autoplay option and selected item index=2

(see the sample screenshot following):
http://www.webinfocentral.com/RESOURCES/YouTubeMusicVideo.aspx?item=2&auto=1

for more Demonstration and code