FilmFare website

I’m working on a new filmy site called Film-Fare.com. My aim is to provide users with latest Bollywood news, gossips, celebrity pictures and stuff like that. Right now I’ve opened the FilmFare blog for editing. Not sure when the main site will be up for serving. If someone wants to give a hand building this site, you are more than welcomed.

I need content-provider and editors for the site.
FilmFare – www.film-fare.com
Filmy Blog – http://blog.film-fare.com

As a future plan, I also intend to add an online movie section where user will be able to watch movies online, listen to online radio and have a fun time on the site.

Let me know if you have any input on how can I pursue the mentioned goal. If you have any valuable feed to give, don’t hesitate. You can send me an email at admin@anyofmysite.com (you know it’s not the correct address right, but you should be able to guess the correct  one yourself, or leave a message on this post).

As an another note, there doesn’t seem to be a webring for indian bloggers where bloggers can create a web network and share their traffic and redirect to other similar blogs. This could help people building traffic on their website and also giving users an opportunity to find the right content. I plan to build a ring network too but then again time is a constraint. Given some free time in hand I’ll give it a serious note.

To end the post in a different note, let me share a video about Sonia’s alleged Russian connection

Sonia’s KGB Connection

Do watch the second part as well.

Permalink

Some VS Bugs

Error

"the page has one or more <asp:content> that do not correspond with <asp:ContentPlaceHolder> controls in masterpage"

Apparently I’m using a wrong contentPlaceHolderId which doesn’t exist in my master page but that’s not true. Here is my Page 

<asp:Content ContentPlaceHolderID="Head" runat="server">
</asp:Content>
<asp:Content ContentPlaceHolderID="Content" runat="server">
</asp:Content>
  

And my Master page looks like this



<head id="h" runat="server">    
    <title id="t" runat="server" title='<%$ CurrentPage: Title %>' />
<asp:ContentPlaceHolder ID="Head" runat="server"> <link rel="canonical" href="<%= CurrentPage != null ? CurrentPage.Url : Request.RawUrl %>" /> </asp:ContentPlaceHolder> </head>


 



It all looks good to me so where is the problem? Error message is not very friendly in this case and error and solution both seems pretty weird.

Solution: The title tag should not be used as a single closed tag e.g. <title /> instead it should be written as <title></title> and the problem will go away. Look out for other tags as well such as <script />. It doesn’t work very well in the single close tag. Use explicit close tag wherever possible. Browsers are forgiving in nature but not the VS

Facebook Social Plugins not working in IE

What to do when you’ve worked hard to integrate Facebook plugins with your website and they look cool on Firefox/Chrome but all of a sudden you feel disappointed when it doesn’t work at all in IE, or may be works sometime but not always (as in my case).

Being an avid IE fan and user, I can’t just sit back and relax when it’s not working on IE. So here is a small modification you need to make to your page when you feel you’ve done everything correct but your fb:like or fb:login-button are still not working.
Add the xmlns:fb namespace to your page and you are done. I just forgot to add this to my page and was living in frustration for one whole day until I came across this post. Then I realized it was a silly mistake and I should’ve added this before when my Visual Studio was complaining about the unrecognized fb tag Smile

<html xmlns:fb="http://www.facebook.com/2008/fbml">

I hope it helps to some people implementing Facebook connect on their pages.

Bowling at its worst :)

Note: Cross posted from Blog@sandeep.

Permalink

This is us playing bowling at Extreme Sports Bar Hyderabad.

Let’s see how we play :)

This is Suneet playing his second best lol..

Now you know how is his first best :) People moved their children away after his ball hit the pins Why?? ‘coz it hit the pins in the another lane… Lol...

Note: Cross posted from Blog@sandeep.

Permalink

Dynamically adding Facebook XFBML plug-in to your page using jQuery

I was trying to add some of the facebook social plug-ins to my home page at www.sandeeprawat.com which display a kind of splash screen at first (not a splash actually but a simple visible <div> and hidden content on the page) and then on clicking on the page, it renders the hidden content of the same page and adds some XFBML plug-ins and a twitter gadget. I didn’t want to download everything on the page load since it will never be shown to a user if she never click on the splash screen and it would  mean unnecessary load time. So I what i tried to was to add the content dynamically on the onClick handler. Now here is the problem.

facebook SDK parses the DOM only on the doc load, so when I dynamically add <fb:like /> button after that, it is inserted successfully but doesn’t do anything and no iframe is generated which is obvious. I’ve scratched my head for long, tried various options suggested over internet but none of them worked for me, so I went back and added them statically to the page and make those controls hidden which wasn’t a good solution but at least it worked.

Now here is what I was doing wrong, I was using FB.XFBML.host.ParseDomTree and I also used FB.XFBML.Parse() as suggested by Facebook but I still couldn’t get that to work. Now the error was very simple, my syntax was wrong I should have used parse in small case instead of Pascal casing which caused me a fair amount of time to discover but at least it was a good learning. Mind you I’m new to the jScript world :)

Here is the code snippet I’m using to insert the tags dynamically.

$(document).ready(function () {

$("#divStarter").click(function () {
oTweet.render().setUser('talksandy').start();
$("#divStarter").hide();
$(".container").css("visibility", "visible");
var poetry = $("#autoFetch").html();
$("#poetry").html(poetry);
$("#fbReco").html("<fb:recommendations />");
$("#fbFriendPile").html("<fb:friendpile />");
$("#fbLike").html("<fb:like />");
FB.XFBML.parse();
});
});

Bindaas TV - Dadagiri Host gets slapped

Been a long time since I posted a blog, but this one is a world famous video of a relatively unknown Indian reality show Dadagiri where tv hostess gets slapped by a contestant which is deserved very well. Another Coward co-host whoever he is should be punished as well. Bunch of A***holes