While working on The Linker, it was suggested to me by the good people of FreeWebSpace.net to add some javascript that would automatically delete the text inside the input box. So here’s how i did it:
At first i had a simple input field wictch says “Write Your Preferred Shortcut Name”:
<input name="name" value="Write Your Preferred Shortcut Name" style="width: 390px" type="text"/>
That’s the html part, on to the javascript,For the Javascript i used the two built-in events: onfocus and onblur.The onfocus event occurs when an object gets focus, in the input field case, it means that when the field is selected.The onblur event occurs when an object loses focus, in the input field case, it means that when the field is unselected.
So what do we want to do these two events?
What i would like the script to do is automatically delete “Write Your Preferred Shortcut Name”, and when the input field is unselected while still empty the text should return. To do that, i included to if statments in the both events:
onfocus: if (this.value == ‘Write Your Preferred Shortcut Name’) {this.value = ”;} onblur: if (this.value == ”) {this.value = ‘Write Your Preferred Shortcut Name’;}
Google webmaster tools, is a service provided by Google to give webmasters more information about Google Bot’s behavior towards their website/blogs, how they rank up within the search engine and alert them about the errors that faces the crawler when trying to crawl their pages.
Webmaster Tool requires each user to verify his ownership to each website added to his account.
Google offer two methods of verification:
1-Adding a meta tag to the source of your index page.
2-Uploading an html page to website’s root, with a specific name provided by Google.
Any Wordpress.com user will quickly realize that WP.com does not allow editing source files, or uploading any pages to your blog.
What do you do? How do you verify your blog?
The answer is very simple:
1-Open your Webmaster Tools Dashboard.
2-Select the Wordpress.com blog and click on the Verify option.
3-In the verification list, chose the “Upload an HTML file”, You’ll be asked to upload a page with specific name (ex: googlee09df14b32e62ffc.html) copy the file name.
4-Open your Wordpress.com Blog Dashboard and click the Write button.
5-Select the Page option to create a new page.
6-In the title paste the file name you copied in step 3.
7-Go back to your Webmaster Tools Dashboard again and try to verify your blog again….TATA
With Blogging becoming more and more popular, Content syndication has become more popular then ever, allowing people to be constantly aware about any updates on their favorite websites and blogs.
A persistent problem for Syndication standards is the existence of two feed formats: RSS & Atom, more specifically RSS 2.0 and Atom 1.0
RSS 2.0:
RSS 2.0 is the most widely used format in the Feed Syndication industry, it’s copyrighted by Harvard University, and enjoys support from big company names such as Yahoo and Microsoft, plus it’s the format used by Wordpress witch helped RSS 2.0 gain much of it’s popularity in the blogosphere.
Although, being the industry leading standard, RSS 2.0 has many shortcomings. One of the most noticeable downfall of using this format, is what became know as tag soup. The term refers to RSS 2.0 incorrect usage of markup (for example, the string “AT&T” would be expressed as AT&T).
In a addition, RSS 2.0 lacks any support for XML parsing, witch means lack of support for any structured data syndication. (For example, syndicating products, Geospacial data).
Most Browsers have added support for RSS 2.0.
Atom 1.0
Atom 1.0 represents the consensus of the Atompub Working Group within the IETF. This format has provided some very advanced solutions to problems found in RSS 2.0, most noticeably it’s support to different type of data, in response to the RSS 2.0 limited support to “plain text”. With Atom 1.0, content must be explicitly labeled as one of:
-plain text, with no markup (the default)
-escaped HTML, as commonly used with RSS 2.0
-well-formed XHTML markup
-some other XML vocabulary
-base64-encoded binary content
-a pointer to Web content not included in the feed
Another advantage in using Atom is the “updated” field, witch notifies users when old content has been modified.
Microsoft latest Internet explorer release IE 7 does not support the MIME type: application/xhtml+xml, witch in plain English signifies that IE 7 does not support Atom, but works fine with RSS.
Atom is heavily supported by Google, and has been widely adopted by Blogger. At this point in time, Atom control a small part of the industry but with Google acquisition of Feedburner and the launch of it’s sophisticated Google Reader, Atom 1.0 has a real chance of dominating the market share and establishing itself as the industry standard