XML Sitemap Maker for Google Code Search Sitemaps

Google code search sitemaps are for websites that feature source code files. This format was meant to allow for easier searching code.

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">
A1 Sitemap Generator
A1 Sitemap Generator | help | previous | next
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.
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.
Share this page with friends   LinkedIn   Twitter   Facebook   Pinterest   YouTube  
 © Copyright 1997-2024 Microsys

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