Wednesday 15 May 2019

Google News XML Sitemap

Example

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:n="http://www.google.com/schemas/sitemap-news/0.9">
  <url>
    <loc>http://example.com/</loc>
    <n:news>
      <n:publication>
        <n:name>News paper, blog or similar name</n:name>
        <n:language>en</n:language>
      </n:publication>
      <n:publication_date>2008-12-30T00:00:00+00:00</n:publication_date>
      <n:keywords>2008,news,xml,sitemap,example,keywords,generated</n:keywords>
      <n:title>News Article Title</n:title>
    </n:news>
  </url>
</urlset>

Guidelines:

  • Include URLs for articles published in the last 2 days. You can remove articles older than 2 days from the News sitemap, but they remain in the News index for the regular 30-day period.
  • Update your News sitemap with fresh articles as they're published. Google News crawls News sitemaps as often as it crawls the rest of your site.
  • Add 1,000 URLs or less. If you want to include more, break these URLs into multiple sitemaps and use a sitemap index file to manage them. Use the XML format provided in the sitemap protocol. Do not list more than 50,000 sitemaps in your sitemap file. These limits help ensure that your web server isn't serving large files to Google News.
  • Do not create a News sitemap for each update. Instead, update your current sitemap with your new article URLs.

Sunday 12 May 2019

Capture full screenshot using Chrome DevTools


  • Open inspect element using Ctrl+Shft+I.
  • Toggle device toolbar using Ctrl+Shft+M to enter responsive mode and Select the screen size and set zoom level to 100%.
  • Refresh the page so that layout takes it's place using Ctrl+Shft+R.
  • Press Ctrl+Shft+P and enter "screenshot" in textbox and select the "Capture full size screenshot"
  • File will be downloaded.