Posts

Showing posts from March, 2014

Best Online Sitemap Generators List

Image
Sitemap is a most important part of any website or blog. A Sitemap is an XML file that lists URLs for a site along with additional metadata about each URL when it was last updated, how often it usually changes, and how important it is, relative to other URLs in the site, so that search engines can more intelligently crawl the site. Sitemap makes any website more SEO friendly and helps to index on search engines easily and also helps the visitors to find out the contents on the website. Here are some list of best online sitemap generator tools along with their descriptions, you can use up them to create, place on your website or blog and to submit on search engines like Google, Yahoo, Bing, Ask, AOL etc List of Online Sitemap Generators  1. xml-sitemaps.com :  It is one of the best online sitemap generator tool. It provides free as well as paid or pro service for sitemap creation. By using a free service maximum 500 pages will be indexed in sitemap. Along with XML sitemap, you can crea

How to Display Date Format in JavaScript?

Image
You can display different date format using Date object in JavaScript for your webpage or web application.The different date format may be year only (YYYY), year and month (YYYY-MM), complete date (YYYY-MM-DD), complete day with day name (YYYY-MM-DD DayName) and date with different time format. Different methods are available in date object to manipulate date in JavaScript. The Date object automatically hold the current date and time as its initial value. You can extract Year, Month, Day along with Hours, Minutes and Seconds from it. Here I have given very simple codes for printing different date formats, you can use respective codes for displaying that format of date on your web page. JavaScript Date Format YYYY (year only) <script type="text/javascript"> function displayDate(){ var now = new Date(); var year=now.getFullYear(); date.innerHTML=year } window.onload=displayDate; </script> <div id="date"></div> It prints Year only. i.e. 2014 Jav