roboto:Spring Boot应用程序模块,可自动生成robots.txt和sitemap.xml文件

时间:2021-05-16 21:52:03
【文件属性】:
文件名称:roboto:Spring Boot应用程序模块,可自动生成robots.txt和sitemap.xml文件
文件大小:89KB
文件格式:ZIP
更新时间:2021-05-16 21:52:03
sitemap spring spring-boot seo robots 机械手 Spring Boot应用程序模块,可基于标准控制器注释自动生成和文件。 它是如何工作的? 只需使用@EnableRoboto批注为您的主Spring应用程序类@EnableRoboto批注,如下所示: @SpringBootApplication @EnableRoboto public class Application { public static void main(String... args) { SpringApplication.run(Application.class, args); } } 接下来,使用@DisallowRobots批注标记要从搜索引擎索引中排除的方法和/或控制器。 例如: @Controller @DisallowRobots public class FooController
【文件预览】:
roboto-master
----.gitignore(2KB)
----settings.gradle(343B)
----roboto-examples()
--------roboto-examples-springboot()
--------roboto-examples.paw(8KB)
--------README.md(276B)
----build.gradle(527B)
----buildtravis.sh(824B)
----.travis.yml(2KB)
----gradlew(5KB)
----roboto-springboot()
--------build.gradle(400B)
--------src()
--------README.md(380B)
----LICENSE(11KB)
----README.md(3KB)
----gradlew.bat(2KB)
----gradle.properties(44B)
----gradle()
--------wrapper()
--------convention.gradle(788B)
--------release.gradle(2KB)

网友评论