Google Chrome

September 3rd, 2008 by Sajith M.R

10 Features of Google Chrome - Youtube Video

You need to a flashplayer enabled browser to view this YouTube video

Yes, a browser with very simple layout. The features i like in this new browser is its full screee view. The only thing in the top area is the location bar. No other menus or buttons or panels are there. It gives a comfort feeling. (All other browsers are very congested )

The Competition is started

Another feature i like to see was that task manager. I was searching for such a plugin in mozilla. Which tabs takes more memory , more internet resources etc. And we can even end the process . Good approach google. Hats off.

The next feature i like is downloading files. It never ask for location for saving. After download you can save as you wish (You can drag the downloaded file anywhere in your computer ). So when you want to download , just download it !!!

On the very first day, i got a crashed warning message from chrome while i browsing !!!

Google Chrome Crashed

But there was option to restart, so saved  all the tabs.

Another feature i liked is it error display mechanism. It shows proper error and proper solution just like google style :)

Dns Error Chrome

One feature i expect was the warning before closing tabs. When i closed the browser, all the tab get closed without any warning.. I think firefox made me to think like this .

And in option , you can see the saved passwords (without any masking !!!) .  That is a bad feature i think.Lets expect more features in the coming update .

And about wordpress editor; some of the functions of WYSWUG wordpress editor is not working with chrome. I think this is because of the javascript compatibility  .

From a developer angle , i got one more browser to test a webpage  (How it appears after changing the html, javascript and css )

Media RSS (MRSS)

September 2nd, 2008 by Sajith M.R

Media Rss

You all are familiar with RSS feeds, and you know it’s importance in the current web world.

It has a structure like

<rss version=”2.0″ >

<channel>
<title>Your Title</title>
<link>http://www.yourdomain.com/</link>
<description>Your website details</description>
<item>

<title>First Item</title>
<link>http://www.url.com</link>
<description>Detaisl of that item</description>
<pubDate>Thursday 1st of January 1970 06:03:28 AM</pubDate>
</item>

</channel>

</rss>





But yahoo introduced new rss which includes media content and its details including video, audio, medium, bitrate, channel, duration, frame, adult, rating, keywords, category, thumbnails, url , width, height, credit , role etc

Its format sample is:

<media:content duration=“180″ medium=“video” isDefault=“true”><media:title>Art of Survival</media:title>

<media:description>Very interesting funny video</media:description>

<media:player url=“http://www.amvizone.com/e/121980757950516″ />

<media:thumbnail url=“http://dolphinthumb.s3.amazonaws.com/121980757950516.jpg”

height=“240″ width=“320″/>

</media:content>


We can insert this tag inside the item tag.

Using media rss you can insert embedded videos , audios, images inside an rss feed.

In normal rss we used  RSS enclosure for inserting media content. But it has a lot of limitations.  It is not sufficient for these much of informations.

<enclosure url="http://example.com/media.mp3" 
length="123456789" type="audio/mpeg" />

For more about media rss visit: http://search.yahoo.com/mrss

I implemented this media rss in http://amvizone.com/feed

Amvizone - Beta is Live

August 11th, 2008 by Sajith M.R

Amvizone

(website screenshot)

Amvizone - The Amateur Video Zone’s Beta Version   released Yesterday.

The website is for uploading amateur videos less than 10 minutes created by short film lovers.

Project Language: PHP

Framework: Symfony

Backend: mysql

Hosted Operating System: Ubuntu Linux

CDN: Amazone s3

Embedded Video from Amvizone:

Technoparkian Trivandrum (Mr Techno)


(amvizone embedded flash player)

New user sign up will be provided soon.

Pagerank Update

July 28th, 2008 by Sajith M.R

Google Pagerank is updated this week. www.sajithmr.com page rank is still 3. But most of the posts got 3 and 4. Those who are waiting to see the page rank update,  use this website:

http://www.googleneedle.com

If you use google toolbar in your browser , the result may be shown as cached. The Google Needle will give you live/current page rank. Check your each post or website pages there. If you have better page rank for your wordpress blog, use my page rank plugin to show the rank to your readers with a very cute designed page rank bar.

Embedded Flash Player is not working from another domain (Cross-Domain swf access )

July 18th, 2008 by Sajith M.R

When I used an flv player for my website www.amvizone.com, the main problem I faced was the external embedding. So I provided the iframe embedddng method instead of embedded object like youtube. The problem was the embedded flash player only worked with the my domain (where the player.swf is placed). When I put the same embedded code with src points to http://www.amvizone.com/player.swf from another domain, the player did not work.

FLV Player

Recently My Friend Rahul (He is the master in flash and action scripts) gave me a solution for this. That is, you have to add cross-domain policy to your server to server the swf file to other domains.

When a Flash document attempts to access data from another domain, Flash Player automatically attempts to load a policy file from that domain. If the domain of the Flash document that is attempting to access the data is included in the policy file, the data is automatically accessible.

You have to create a file, crossdomain.xml and place in the root folder or any other folder where content is placed. The data in the crossdomain.xml file is shown below:

<?xml version="1.0"?><!-- http://www.foo.com/crossdomain.xml -->

<cross-domain-policy>

<allow-access-from domain="www.friendOfFoo.com" />

<allow-access-from domain="*.foo.com" />

<allow-access-from domain="105.216.0.40" />
</cross-domain-policy>

The above configuration allow any subdomains of foo.com or a particular ip 105.216.0.40 or www.friendOfFoo.com

If you need to provide access to all domains , you can use the following xml:

<?xml version="1.0"?>

<!-- http://www.foo.com/crossdomain.xml -->

<cross-domain-policy>

  <allow-access-from domain="*" />

</cross-domain-policy>

Courtesy: Adobe.com

And special thanks to Rahul for sharing the information

For details: click here

Regards

Sajith M.R

Wordpress Announcement - Plugin

June 24th, 2008 by Sajith M.R

Wordpress Announcement Plugin

Do you wanna inform any important news or message to your readers ? Here is a simple plugin, Wordpress Announcement Plugin.

Download the plugin from : http://downloads.wordpress.org/plugin/announcement.zip

Go to Admin > Plugin > and activate announcement plugin. After that, go to options and select Announcement. By default the plugin will be inactive. You have to set your announcement and activate the announcement by checking ‘Active’ checkbox.

Never Forgot to Run the Announcement. By Default the Announcement will be inactive

Enough !!! You visitors can now see your announcement. It will be displayed only one time for a particular user .

(If you want to see the announcement again, for testing purpose, Clear browser cookies, or atleast cookies from your blog. Otherwise you have to wait another 24 hours to play the announcement again)

The plugin is created with cute design and animation. It will never interrupt your blog reader.

Regards

Sajith

Requirements for a Video Website

June 23rd, 2008 by Sajith M.R

If you are planing to start a video website like youtube, here is some things to keep in mind.

FLV PLAYER
========

You know in now a days most of the video streaming websites use flash player for video streaming. The video file is in flv format. So you need a flash video player for this purpose.
You can download a free flash / flv player from : http://www.jeroenwijering.com/?item=JW_FLV_Player
or http://flowplayer.org/

FORMAT CONVERSION
===============

Now you need videos in flv file format. In normal cases, most of the videos uploaded by an user will be in avi, dat ,mpg,mp4 or 3gp. So you need a flv converter. You can use either ffmpeg library or mencoder for this purpose

Here is a sample video emmbedding method.



codebase=”http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,18,0″
width=”450″ height=”375″ id=”/YouTube_video/youtube” align=”middle”>




bgcolor=”#ffffff” width=”450″ height=”375″ type=”application/x-shockwave-flash”
pluginspage=”http://www.macromedia.com/go/getflashplayer” />;

Here src parameter points the swf file, the flash palyer and video parameter points the flv file. This is the format of player i used in http://www.amvizone.com

ffmpeg also can be used for making thumbnails and video watermarking

STORAGE and BANDWIDTH
=====================

Where would you save flv files. In yourown server ? If there is a minimum number of videos, your server might handle it. But consider the case having a large number of videos, your server bandwidth will get used soon. So we have to switch into a CDN (Content Data Network) like amazone S3. What you have to do is just register with any CDN website and use their webservices for uploading and manipulating your video files. These CDN have very reasonable cost for the bandwidth usage and storage space.

Comment here if any queries
Regards

Sajith M.R

Sexy Rating - Wordpress Plugin

June 19th, 2008 by Sajith M.R

If you wanna know , what is others review or opinion about your website, You can use this wordpress plugin. It will provide the blog readers and your regular visitor to rate your blog. You can put this plugin anywhere in your blog. The plugin name is sexyrate plugin.

Here is the screen shot:

Sexy Rate Plugin Screen Shot

There are 4 types for rating , Perfect, Good , Bad and Too-Bad. One user can rate one time only. The whole thing is made out of Ajax. For providing more attraction , the plugin is created with images of sexy ladies :) .

If you want to place this plugin, what to do is , download it from http://downloads.wordpress.org/plugin/sexyrate.zip

Go to your wordpress Admin > Plugin and activate this plugin. After that , go to Admin > Presentation > Theme Editor and edit any place you want (header, single.php , index.php, home.php or sidebar.php) as suit to your blog and add this line:

<?php wp_show_my_rate() ?>

*Remember, this plugin is referred to those who has white backgroud wordpress theme.

Comment me your opinion about this plugin

Later
Sajith

How Google Adsense Works

June 4th, 2008 by Sajith M.R

What you add for showing google ads on your website ? It is a javascript , right ?


Parameters are: Client Id
format, channel,url for the caller webpage, background color, link color, border color, text color, javasupport, flash support etc

The width and height of the iframe is calculated from google_ad_width = 468 and google_ad_height = 60 parameters.

This is not the end of the story. The actual story just begins now. The loading iframe contains all the advetisement according to your adsense configuration. If you check the links of add unit, you can see all the event with the link is tracked by google adsense code.

See a sample ad link:


<a id=”aw0″ class=”adt” target=”_top” onmouseover=”return ss(”,’aw0′)”
onmousedown=”st(’aw0′)” onfocus=”ss(”,’aw0′)” onclick=”ha(’aw0′)”
href=”http://pagead2.googlesyndication.com/pagead/iclk?sa=l&ai=
BW7_Ir6xGSKf3Npz6vQOespnnDdO6yVvXoIDxAs
CNtwGgnAEQARgBIL3C4wMoAjgAUKnM2_f6_____
wFg5aLmg7gOoAHNhrj5A7IBEHd3dy5zYWppdGhtci5jb226AQk0Njh4NjBfYXPIA
QHaAT9odHRwOi8vd3d3LnNhaml
0aG1yLmNvbS9kb3dubG9hZC15b3V0dWJlLXZpZGVvcy11
c2luZy1waHAtY29kZS_gAQKAAgGoAwHIAwfoAx_oA_g
D6AOmA-gDBegDDfUDCAAQAYgEAZAEAZgEAA&num=1&
adurl=http://www.codango.com/
&client=ca-pub-2389393537983674&nm=5″>
<span>Free PHP Code & Scripts</span>
</a>

Free PHP Code & Scripts
See onmouseover, onfocus, onmouseout etc functions are used. It means google studies user behaviour with google ads. The click on the link does not go directly into the corresponding website, instead it redirected inot googlesyndication.com and from then redirected into real website. You can guess the reason.

Depending on your browser configuration, google shows text ads, image ads and flash (shock wave) ads

This is a very small introduction of hows adsense works. There are a lot of steps behind the show_ad.js file. But this is will give you a rough idea.

I think

Regards

Sajith.M.R

Google Needle - The Exclusive Tool For Google Services

May 7th, 2008 by Sajith M.R

Google Needle Logo

Yesterday i just started a tool for measuring some services of google. This small tool / needle , I started with google page rank checking engine.

It is GoogleNeedle, http://www.googleneedle.com

Later added two more features.

1) Keyword - Url-Pagination

2) Youtube Video Downloads

Here Keyword-URL-Pagination helps to find in which page of google search results , your url / website is found , for a particular keyword. For example the keyword “sexy status message” search on google.com shows my website www.sajithmr.com in 8th page from www.google.com and in the 1st page from www.google.co.in

You can also check your website indexing in google search from different county aspects.

The 2nd tool youtube video downloader is for downloading flv file of youtube video from youtube video url.

Finally my previous and very famous wordpress pagerank plugin’s download option is also included in this ‘GoogleNeedle

Of course this Needle will measure your google, and its services.

Let me know which are the other tools you needed here. Feel free to comment. I will try my best.

Regards

Sajith. M.R
http://www.googleneedle.com

Youtube Images - What an Idea !!!

May 3rd, 2008 by Sajith M.R

Look at the given image carefully …

Youtube Master Image

Did anybody see the above image anywhere ? The Answer might be No. But you might see small parts of this picture. The amazing picture’s name is Youtube Master Image. The Youtube Website contains this single image only, and it uses part by part for different occasions with css ( sytle sheet) property background image and scroll position.

You know the whole youtube website is created with a single image !!!

For example, you see the rating pictures just below the youtube video

Youtube Ratings

Here the fully red star is created by:

<img class=”rating icn_star_full_19×20png alt=” style=”vertical-align: top; src=”http://s.ytimg.com/yt/img/pixel-vfl73.gif/>

Here the src is merely a 1 pixel image. The actual star lies in the style class “rating icn_star_full_19×20png”

See the style sheet:

.icn_star_full_19x20png

{

   transparent url("http://s.ytimg.com/yt/img/master-vfl38353.gif") no-repeat scroll -373px -38px

}

Here scroll -373px and -38px exactly points the red star in the master image.

And for youtube logo, it uses same background image (master image) with another scroll location. Scroll is set to 0px for logo

Like that, all the images, thumbs up , thumbs down, border, scroll back, previous next buttons etc etc are displayed from this single picutre.

Amazing Idea Right ?

(Post your comments please)

Jmail++ , My Final Year Project

April 14th, 2008 by Sajith M.R

Jmail++ LogoI am writing this topic in sajithmr.com, because i am getting a lot of queries regarding this project from the place I submitted , ProjectGuidance.com , 3 years back. It was a new Webmail Service Idea Developed in JSP . Here is the link. http://www.projectguidance.com/guidance/details/id/36676649 .

There are more than 400 replies and most of its content is “please send me the project report to my email address”.

jMail++ is a webmail written in JSP. You can create new Account here like yahoo, gmail etc…The Session is handled by Single page Auto Invalidate Method..That will increase Your Mail Security. A simple 4 entry Registration process is required.. And your Password will be handle using RSA Encryption method…There is a Fast Search Mechanism included with Google APIs. The Very Important and Unique Feature is You can Check Your Rediff, Hotmail , Gmail account from this Webmail without login into the respective sites. It means this Webpage act as an Email Client Also (Like OutLook Express). The Protocols (SMTP,POP3) all are implement from Scrach without any API’s…Its is a Pure JSP Project.

This was the post on ProjectGuidance.com

Here i included the full project report as zip file.

Jmail-Project-Report.zip

OpenID Integration PHP

See screen short of this project:

Jmail Screen Shot 1
(Screenshot 1)

Jmail Screen Shot 2
(Screen shot 2)