Earlier I wrote about Sometimes yahoo is better is better than google in providing search results when I was searching for Installing latex on hostmonster. And now with its open search platform SearchMonkey its trying to close in to Google. SearchMonkey allows you to create data services to built search apps that can enhance your search results.
Yahoo search gallery provides you many existing search enhancements that you can add after logging to yahoo. [Via labnol.org].Try various enhancement like LinkedIn Profile, IMDB results, StumbleUpon Reviews and other popular ones.
SearchMonkey API unables you to modify how particular links appears in search results. You can add images, related links and other html formatting but it does not unable you change position of a page in search result. I was unable to find feature which will enable us to filter sites which requires you to login or sites like ebay and amazon which may not be relevant to us by making their appearance farther in search results.
But still these enhancements provides you little summary of search results which is very useful like in case of movie reviews, people profile via linkedIn, stock information etc thus sometimes making opening the actual webpage unnecessary.
Helping lost visitors? Sometimes a link provided by you may end up as 404 page or viewer might have typed wrong URL that doesn’t lead correct page on your site. To help your visitors you can actually use .htaccess file (for Apache servers) to redirect all such links to a special page which will be more useful than plain “404 File Not found” error.
You can add this one line to .htaccess file (create this file if it doesn’t exist)
ErrorDocument 404 /web404.html
This will redirect all queries for files not found in that directory and sub directories to web404.html
On that page you can provide user with:
- Link to homepage
- Tell them to check the URL or Go Back
- Search functionality for your website will be very useful.
I have also added similar functionality for my wordpress blog. For setting up 404 Error page on wordpress follow this well compiled article: Creating an Error 404 Page
Interesting read: Creating User Friendly 404 Pages
Past few days, I have came across Adobe AIR through digg, techmeme, delicious and so today i thought i should try this. Adobe AIR lets us their existing web development skills in HTML, AJAX, Flash and Flex to build and deploy rich Internet applications to the desktop. For Application development you will need two things:
- Adobe AIR Runtime : Necessary for running AIR applications. (For windows & mac)
- AIR_SDK Provide necessary libraries to build AIR application
Having Adobe AIR extension for Dreamweaver CS3 can be very helpful as it facilitates to package and preview .air application files directly within Adobe Dreamweaver CS3.
As my first AIR application, I ported my rubiks cube timer as a desktop application (RubikTimer.air). Its very easy using dreamweaver extension, have a look here : Create your first HTML-based AIR application with the AIR SDK (great tutorial for beginners).
You can also create gadgets using : Make your Own Gadget (Which is as simple as filling out forms)
P.S. : My first post on wordpress blog. (I imported my previous posts from blogger)
Cool….Great yet Simple..
We actually built this originally to use internally – we use it on Google Video and Google Finance for example. It seemed like it would be a good thing to open up to other users too. You can find out all about it at on the Google Chart API homepage and there’s a Google Chart API group for questions and support.
A single HTTP GET request with parameters is all you need. You can even use the URL as the src attribute on an img tag.
Also Read:Programmable Web: Google’s New Chart API
today i read this article which explains what openid is ??
Lately OpenID has been hitting the front page of digg, del.icio.us, and many other large websites.
Additional link(offtopic and old article but i came across this well written article and couldn’t resist posting it.. ):
What Every Webmaster and Web Developer MUST Know About Ruby on Rails and AJAX It’s not a tutorial, it’s not a “how-to” but he explains very well just what the heck all this.
Great listing of web developers powertools by Brennan Stehling.
I’ll starts with extension for firefox that comes very handy while web devlopment.
- Web Developer : Adds a menu and a toolbar with various web developer tools.
- ColorZilla: Advanced Eyedropper, ColorPicker, Page Zoomer and other colorful goodies.
- Live HTTP Headers
The list Web Development Tools for the Power Developer contains :
Updated(29 April 2007) : Tools for web-designers.
Related Post :
- Firebug : web development evolved
In addition, I find image maps also very handy when it comes to intereactivity when used properly with tooltips…as i used them in Paint Chat.
Firebug is firefox addon that helps you in webdevelopment with
I also like is its inspecting html and modifying html and css on fly and see the results with helpful tooltips. It also help in positioning of divs, images with its nice feature of visuallizing css metrics with ruler and box model coloring(HTML inspecting).
It other great feature is its interface which is comes with browser window split in two halves one for your website and one is extension interface (though it also can be detached from it). I am also a fan of Web developer toolbar extension but what it lacks is a java debugger and this great interface but both are a must of a web developer.
Related Post :
Examples i disscuss here are being user by me in developing Paint Chat !! So here I go..
Action on events:
Example of events can be mouseclick, keystroke, submitting form etc.
Now init() function will be called when this html page is being loaded.
Now function replay() will be called when Refresh! is clicked. For input text box
<input type="text" size="30" id="search" onchange="suggest()">;
Now whenever content of textbox changes the function suggest() will be called. It can be useful when feature like google suggest has to be implemented or so.
On submitting forms:
<form method="post" action="some.php" onsubmit="return checkForm()">
So whenever this form is being submitted checkForm() function will be called and can be helpful in verifying values of form elements.
onMouseOver and onMouseOut:
<a href="http://www.aburad.com/blog" mce_href="http://www.aburad.com/blog" onmouseover="fade()"><img src="image.gif" mce_src="image.gif"> </a>
Now when mouse is over image fade() function will be called and can be used for animate and styling purposes.
Registering of events
A simple way can be:
Conside the html code :
<div id="sample"> ..... some... html..text.. </div>
var div_sample = document.getElementById('sample');div_sample.onmousedown=sampleMouseDown ;
Now whenever mouseover ocours over this div html element sampleMouseDown() function will be called. Events can also be registered using addEventListener() . Find more information baout it here:Advanced event registration models
Modify Style and values for html elements
document.getElementById("colorcode").innerHTML = "#000000";
The first line find the html element with id colorcode and then set its value to “#000000″ using innerHTML. In second line, it sets the background of html element with id “bgtest” to green.
Some other tweaks which were useful :
var intervalID = setInterval(drawCurve, 100);
So the drawCurve() function will be called repeatedly after 100ms. You can cancel this process( removing repeatedly calling) by
- You can use
setTimeout(drawCurve,100)function to delay drawCurve() execution for a specified time period(100ms).
var testImg = new Image();
Now here in form.php you can fetch value of variable name using $_GET and can perform appropriate action.
- DOM Design Tricks
- The events