spot_img
HomeNewsGoogle to open-source Robots.txt Projects for C++ and Java

Google to open-source Robots.txt Projects for C++ and Java

Previously, Google had open-sourced robots.txt that is used in Java. However, now it has announced to release some additional source code projects in C++ and Java.

C++ and Java: 

Google has officially released the source code that validates the robots.txt testing framework using C++. It ensures that the outcomes after parsing (parser results) are following the official robots.txt specifications. Moreover, it also validates parsers written in different languages other than C++. Besides C++, Modern Java is a widely used language in various applications. Google has announced to release the official port Java as well.

In its blog post, Google writes: 

“Last year we released the robots.txt parser and matcher that we use in our production systems to the open source world. Since then, we’ve seen people build new tools with it, contribute to the open source library (effectively improving our production systems- thanks!), and release new language versions like golang and rust, which make it easier for developers to build new tools.”

Robots.txt Specification Test: 

Google announced on Monday that they are officially releasing a testing framework, created by Andreea for the robots.txt parser developers.

The blog post states:  

“Currently there is no official and thorough way to assess the correctness of a parser, so Andreea built a tool that can be used to create robots.txt parsers that are following the protocol.”

Java robots.txt parser and matcher: 

In addition to this, Ian created the Java port of C++ robots.txt parser. Speaking of functions and behaviors, the new parser is an exact duplicate of C++ parser. Teams are very eager to use the Java robots.txt parser in production systems, and let’s hope that they find it convenient.

The requirement to Run the Testing Frameworks: 

Java Development Kit 1.7+ for Apache and Maven (Automation tool for Java projects)

Google’s protocol buffers 

As always, Google invites the developers to contribute to these projects and let them know if there is a room for improvement and development.

Syed Qasim Abbas
Syed Qasim Abbas
Syed Qasim Abbas is Digital Marketing Expert by profession with 13+ years of proven experience. He is working full-time for a corporate sector and part-time for Dubai based company providing restaurants deals, brunches, pools etc. Syed loves to write about varies things and that's why he didn't cover any specific niche in this blog.

- Advertisement -

spot_img

Worldwide News, Local News in London, Tips & Tricks