From 50aef5b842d66d4f38acb7b54dc9a8f154c87f96 Mon Sep 17 00:00:00 2001 From: Andrews Medina Date: Wed, 25 Jan 2017 17:06:15 -0300 Subject: [PATCH] fix typo in readme using < instead < in java code --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 492986a..5fbcc34 100644 --- a/README.md +++ b/README.md @@ -67,7 +67,7 @@ One sitemap can contain a maximum of 50,000 URLs. (Some sitemaps, like Google N ```java WebSitemapGenerator wsg = new WebSitemapGenerator("http://www.example.com", myDir); -for (int i = 0; i < 60000; i++) wsg.addUrl("http://www.example.com/doc"+i+".html"); +for (int i = 0; i < 60000; i++) wsg.addUrl("http://www.example.com/doc"+i+".html"); wsg.write(); wsg.writeSitemapsWithIndex(); // generate the sitemap_index.xml @@ -82,12 +82,12 @@ WebSitemapGenerator wsg; // generate foo sitemap wsg = WebSitemapGenerator.builder("http://www.example.com", myDir) .fileNamePrefix("foo").build(); -for (int i = 0; i < 5; i++) wsg.addUrl("http://www.example.com/foo"+i+".html"); +for (int i = 0; i < 5; i++) wsg.addUrl("http://www.example.com/foo"+i+".html"); wsg.write(); // generate bar sitemap wsg = WebSitemapGenerator.builder("http://www.example.com", myDir) .fileNamePrefix("bar").build(); -for (int i = 0; i < 5; i++) wsg.addUrl("http://www.example.com/bar"+i+".html"); +for (int i = 0; i < 5; i++) wsg.addUrl("http://www.example.com/bar"+i+".html"); wsg.write(); // generate sitemap index for foo + bar SitemapIndexGenerator sig = new SitemapIndexGenerator("http://www.example.com", myFile);