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

 To see all the options available, you will have to switch off easy mode 

 With options that use a dropdown list, any [+] or [-] button next to adds or removes items in the list itself 

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, A1 Sitemap Generator 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.
A1 Sitemap GeneratorAbout A1 Sitemap Generator

Build all kinds of sitemaps including text, visual HTML / CSS, RSS, XML, image, video, news and mobile for all your websites no matter the platform they use.
Share this page with friends   LinkedIn   Twitter   Facebook   Pinterest   Google+   YouTube  
 © Copyright 1997-2017 Microsys

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