Archive

Archive for the ‘Internet’ Category

Show your Google+ Profile in Search Results

July 23rd, 2011 2 comments

google_authorship

About the new markup :

Google Authorship shows a link to your Google+ Profile along with your pic on its search results - from your website. But you need to convince it that the content is yours.


What is to be done :

1)All pages on your blog or website must link to your "About Me"/"About The Author" Page. (Create it if you don't have one)
2)The Author page should link to your Google+ Profile.
3)Your Google+ Profile must link to the author page.


How it is to be done :

1)On your blog, Add a link to your About Page
<a rel="author" href="to_about_page">
Add it to either the header, footer or the sidebar to make sure it's available for all posts.

2)On this about page, Add a link to your Google+
<a rel="author" href="to_about_page">

3)On your Google+ profile, Add a link to your blog(where you began in the first step). Don't forget to choose "This page is specifically about me" which is equivalent to rel="me".


Summary :

google_plus_authorship

You can verify the implementation by using the Rich Snippets Testing Tool. Don't forget to use your full URL(including the "http://") to get the correct results.


Why it works :

The "About Me" page on your blog tells Google it's your blog and the Google+ link on the "About Me" page tells Google that the Google+ Profile represents the person who is the author of the blog. It all fits in when you tell Google+ that the blog is yours. (by adding a link to your Google+ Profile)

Cufon Fix For Internet Explorer 9

July 22nd, 2011 2 comments

cufon_ie9

If you're wondering why this is the first post here? That's because I just did this.
And If you're using an old cufon version, IE9 won't display anything, yeah, nothing at all.

Two elegant ways you could fix this -

Fix 1 :

Add
<meta http-equiv="X-UA-Compatible" content="IE=8" /@gt;
OR
<meta http-equiv="X-UA-Compatible" content="IE=7" /@gt;

Why it works? - Makes it equivalent to using IE8 or IE7

Fix 2 :

Download the new version of cufon-yui.js and replace the old one.
But first, make sure you don't want to stick with the old one for any reason.

Why it works? - Ask Simo Kinnunen

Web Design & Development Technologies

September 28th, 2010 No comments

Web Development & Web Technologies

A Presentation on Web Design & Development Technologies which talks about HTML, PHP, Static & Dynamic Websites & Web Technologies 1.0 Vs 2.0

Learn any language online for free

June 23rd, 2010 No comments

There is an easy way to learn any language you want for free from a single page. It is possibly the fastest and easiest way the do it. All you need to do is go to Google Translate. Just type in any word/alphabet/number/name or sentence in the box & translate it to the language you need to learn.

google translate

You should start with the alphabets, the numbers then the common words and phrases. There is an option to listen to the word and learn the pronunciation. There you go! Do give it a try.

And if you're looking for a detailed step-by-step method with certification to add to your credentials, i recommend BBC Languages.

Basic FBML for everyone

July 30th, 2009 13 comments

In this post, I discuss basic FBML that everyone can use for their Facebook profiles. FBML, like HTML, is the Facebook Markup Language. It is basically used by developers who create facebook applications for us.

However, we can also use FBML on our facebook profiles in boxes & tabs. This allows us to embed music, video & flash in the profiles.

First you gotta have an app which allows you to use HTML/FBML for your profile.

Note : You really need one of the apps listed on the link above to use the FBML given below.

1. The FBML Photo tag

Though Facebook does allow the html tag, the cosserponding FBML for this is <fb:photo>

The FBML tags are also associated with attributes. Now, the above tag with attributes would look something like...

<fb:photo pid="12345" />

Now, the 12345 thing is the api of the image. This is when you're adding an image from facebook itself. Lets say you have a pic in one of your albums that you want to showcase on your profile in a box.

You'll need to check out the api of that image. For this, you just need to get the url of the image...

It would look something like...

facebook.com/photo.php?pid=39597&id=100000031343773

Now, the thing in red is the api of the image. I would then use this with the FBML tag to get...

<fb:photo pid="39597" />

which is the FBML tag for my image.

2. The FBML Music tag

This tag allows you to add any song to your profile...

Its the <fb:mp3> tag.

<fb:mp3 src="http://www.site.com/filename.mp3">

The tag with its basic attributes would look something like...

<fb:mp3 src="http://www.site.com/filename.mp3" title="Name" artist="Artist" album="Album"/>

3. The FBML Video tag

This lets you add a video frm yutube into your facebook profile...

Simply use the <fb:swf> tag as defined below. The

<fb:swf  swfsrc='http://www.youtube.com/v/xxxxxxxxxx' imgsrc='http://img.youtube.com/vi/xxxxxxxxxx/2.jpg' width='340' height='270' />

The thing in green is the video id on youtube. It looks something like this on youtube...

http://www.youtube.com/watch?v=qrjyy_0SipU

Hence, if i embed this video on facebook using FBML, it would look something like...

<fb:swf  swfsrc='http://www.youtube.com/v/qrjyy_0SipU' imgsrc='http://img.youtube.com/vi/qrjyy_0SipU/2.jpg' width='340' height='270' />

But again, you need one of the apps here to do this. Enjoy!

Top 5 Apps to use HTML in your Facebook Profile

July 29th, 2009 2 comments

It sounds really sad that you cannot use html in Facebook when you know so much of it, doesn't it?

Well, nothing is impossible... You can always add boxes on your profile & use whatever code you want inside them.

Even though facebook does try to modify your html, but most of it comes out the way you want it to be... Other than animated gif's & a few other execptions, you can do a lot with html for your facebook profile.

The first thing that you would need is an app that lets you enter html profile boxes & tabs.

Here is a list of just that...

Top 5 Apps to use HTML in your facebook profile

5.
My HTML

4.
HTML Profile Box

3.
My Info

2.
Profile HTML

1.

Profile Box

The top 2 are almost the same. Its just the name which gets Profile Box to the top of the list. These are really useful if you need 2 boxes on your profile. You can use both of them. The others are as good but it really depends on how you want to use them.

The catch here is that you cannot change the name of the box on your profile. I got two favorite bands. So i need two boxes. Hence, i used both Profile HTML & Profile Box.

Ok, now the second thing you might need is some basic knowledge of FBML(like HTML, it is the Facebook markup language). Check out my next post for more on FBML. Till then...Have fun with those cool apps!

And if you're wondering how I got the music... thats exactly what FBML is for!

10 HTML Tags Everyone Should Know

July 28th, 2009 No comments

Oh Yes we do have made a lot of stuff easy with WYSIWYG (What-You-See-Is-What-You-Get) editors on almost all community sites... & i am using one of these kids right now. But there is a lot of stuff which need some basic coding knowledge.

Well, this post would simplify all of that in 10 html tags that everyone should know.

These tags may be useful to people who publish articles on various sites, write blog posts or even edit their profiles on the various social networking sites.

One of the amazing things you could do using these is put all kinds of HTML boxes in your facebook profile with any cool stuff you want in them. These maybe pictures or youtube videos ...

And yes, you dont need to know what html is, how it works & what it does. Just use the tags whenever you need them. If you want to know more about web design and html, you can check out other posts here or elsewhere.

Ok, All you need to know is that every tag perform a specific function & each tag looks something like <tag> where tag would be the name of the tag. Most of the tags need to be closed once they have performed their respective function. To close a tag we use </tag>

So, if i want my name in bold letters, i would use the bold tag which is <b>. Hence, <b>Rishabh Dev</b> shows my name in bold.

Well, lets just begin with the tags...

1. The HTML tag <html>

To write a piece of html code, you will first need to open the <html> tag. When you're done with your coding, you can close the html tag </html> Whatever you write outside the tag is not included the code.

I hope you realize thats how you are able to see the tags here & not the executed tags. Eg: above you can see <b>Rishabh Dev</b> & not Rishabh Dev because the former is outside the html tag.

So everything html comes within <html>.....</html>

2. The HEAD tag <head>

You can almost divide a html page into two categories-head & body. The head includes information about the page... The most important(as of now) being the title tag.

<title>...</title> is the title of your page & appears at the top of the browser window.

And this is where the title comes up...

Remember that the title tag can only be used inside the head tag.

Hence the whole thing would look like...

<head><title>Facebook | Rishabh Dev</title></head>

It would give the above result.

4. The BODY tag <body>

This is the second part of your html page. All the tags below come inside the <body> tag.

<body>...everything else...</body>

Hence, a basic html page would be coded as below...

<html>

<head><title>Hello World</title></head>

<body>...content/images/links/paragraphs/etc...</body>

</html>

4. The paragraph tag <p>

Most mini editors wont have this one. This is the tag which you need to use whenever you're writing stuff in paragraphs. So, a paragraph would look like...

<p>...content here...</p>

So, our </p> tag ends the paragraph. Then, you may begin a new one by using the <p> tag again.

5. The center tag <center>

Using the center tag you can align your text or image or whatever to the center of the page.

So anything between <center>...</center> tag would show in the center.

6. The image tag <img src="">

This tag is the most popular one. To insert an image into your text, just use the image tag.

The 'src' here represents 'source' so you will need an image url in the double inversions... Something like..

<img src="http://i48.tinypic.com/qrd8nq.jpg">

Now this is a tag you don't need to close. So it would come out to be something like...

Here, src is called an attribute of the image tag. You can use other attributes of the image tag like width & height.

Using these , we can display a particular photo in different sizes. For example, we can reduce the size of the image to 400x300 using the following:

<img src="http://i48.tinypic.com/qrd8nq.jpg" height="400" width="300">

You can make a thumbnail of it by giving it a smaller size lie...

<img src="http://i48.tinypic.com/qrd8nq.jpg" height="300" width="200">

 

It could also be made into an icon by decreasing the size further.

7. The Break Rule <br>

We use this tag to leave a line. Just put a <br> & it leaves a line. No closing tag again!

8. The Horizontal Rule <hr>

Think your content is getting mixed up? Well, you can draw a line wherever you want using the <hr> tag.

Here is one just to show you guys.


9. The link tag <a>

This is used when you're writing content & you want to link it to your own website. Lets say we have something like..

Make food...Not war

And you have a recipe site you want the word food to link to...You would then use...

Make <a href="http://recipesite.com">food<a>, Not War

And this would show as

Make food, Not War.

10. The font tag <font>

This changes the font size, color(in html, its color & not colour) & face(as far as we are concerned). This again is done by giving values to different attributes of the tag.

Lets say you want to display Durofy in various styles...

<font size="10" color="green">Durofy</font>

would show...

Durofy

Similarily,

<font size="8" color="blue" >Durofy</font>

would give us...

Durofy

Well, if you're not sure of the default size, you could just use...

<font size="+1"> or <font size="+2"> which would increase the default size by 1 or 2.

...& we're done!

So, where do you practice...

Open Notepad...enter all the code you want inside the <html></html> tags...save the faile as name.html. Open this file with any internet browser & have fun! If you still have any questions...leave me a comment! Good Luck!