Google Code Search Sitemap using XML Sitemaps Generator
Microsys
  

Google Code Search Sitemap using XML Sitemaps Generator

Google code search sitemaps are for websites that feature source code files. Use our XML Sitemaps Generator to make code sitemaps for Google Code Search.
Help: overview | previous | next

Create Google Code Search Sitemaps and XML Sitemaps

Google searches source code files on the internet. This functionality is called Google Code Search.

If you are a webmaster that owns a website featuring programming source code files, you can create a sitemap of files that consist of source code. This will help getting your code indexed and become searchable for programmers and alike.

Code sitemaps look like normal XML sitemaps, but have some extra tags and requirements that only Google has announced support for.

Note: It seems Google has deprecated Google Code Search Sitemaps although no official announcement has been made. However, The general Google Code Search service was discontinued and shutdown between 2011 and 2014.


Creating the Code Sitemap

Building code sitemaps for search engines such as Google is similar to the process for generating normal XML sitemaps

Note: Depending on the website and its usage of file extensions, it may not always be possible to generate code sitemaps.

When making code sitemaps, you have to ensure all relevant code file file extensions are included. You may also need to tighten which file name patterns are accepted as code files. Both can be done in sitemap generator output filters. The list of programming annd markup languages supported by Google Code Search and our code sitemap generator include: c++, c, c#, pascal, java, ruby, python, lisp, smalltalk, sml, eiffel, fortran, modula2, modula3, bat, applescript, lua, ada, awk, tcl, cobol, assembly, basic, sql, xml, xslt, xul, html, css, perl, php, asp, coldfusion, javascript, jsp and more as they are added.

To help configuration, TechSEO360 has a preset option that sets all options to work for most websites that host source code files.

google code sitemap options

After website crawl has finished, you can build the Google code sitemap by choosing the correct XML sitemap file kind to create:

create google code sitemap



Creating the Code Sitemap


<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:c="http://www.google.com/codesearch/schemas/sitemap/1.0">
  <url>
    <loc>http://example.com/cppheader.hpp</loc>
    <c:codesearch>
      <c:filetype>c++</c:filetype>
    </c:codesearch>
  </url>
</urlset>
This help page is maintained by

As one of the lead developers, his hands have touched most of the code in the software from Microsys.

If you email any questions, chances are that he will be the one answering them.
TechSEO360About TechSEO360

SEO website crawler tool that can find broken links, analyze internal link juice flow, show duplicate titles, perform custom code/text search and much more.
Share this page with friends   LinkedIn   Twitter   Facebook   Pinterest   Google+   YouTube  
 © Copyright 1997-2018 Microsys

 Usage of this website constitutes an accept of our legal, privacy policy and cookies information.