Current section
36 Versions
Jump to
Current section
36 Versions
Compare versions
3
files changed
+23
additions
-23
deletions
| @@ -25,4 +25,4 @@ | |
| 25 25 | {<<"optional">>,false}, |
| 26 26 | {<<"repository">>,<<"hexpm">>}, |
| 27 27 | {<<"requirement">>,<<">= 0.0.0">>}]]}. |
| 28 | - {<<"version">>,<<"1.0.1">>}. |
| 28 | + {<<"version">>,<<"1.0.2">>}. |
| @@ -11,31 +11,31 @@ defmodule Sitemap.Consts do | |
| 11 11 | } |
| 12 12 | |
| 13 13 | define :xml_header, """ |
| 14 | - <?xml version="1.0" encoding="UTF-8"?> |
| 15 | - <urlset |
| 16 | - xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' |
| 17 | - xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 |
| 18 | - http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd" |
| 19 | - xmlns='http://www.sitemaps.org/schemas/sitemap/0.9' |
| 20 | - xmlns:geo='http://www.google.com/geo/schemas/sitemap/1.0' |
| 21 | - xmlns:news='http://www.google.com/schemas/sitemap-news/0.9' |
| 22 | - xmlns:image='http://www.google.com/schemas/sitemap-image/1.1' |
| 23 | - xmlns:video='http://www.google.com/schemas/sitemap-video/1.1' |
| 24 | - xmlns:mobile='http://www.google.com/schemas/sitemap-mobile/1.0' |
| 25 | - xmlns:pagemap='http://www.google.com/schemas/sitemap-pagemap/1.0' |
| 26 | - xmlns:xhtml='http://www.w3.org/1999/xhtml' |
| 27 | - > |
| 14 | + <?xml version="1.0" encoding="UTF-8"?> |
| 15 | + <urlset |
| 16 | + xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' |
| 17 | + xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 |
| 18 | + http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd" |
| 19 | + xmlns='http://www.sitemaps.org/schemas/sitemap/0.9' |
| 20 | + xmlns:geo='http://www.google.com/geo/schemas/sitemap/1.0' |
| 21 | + xmlns:news='http://www.google.com/schemas/sitemap-news/0.9' |
| 22 | + xmlns:image='http://www.google.com/schemas/sitemap-image/1.1' |
| 23 | + xmlns:video='http://www.google.com/schemas/sitemap-video/1.1' |
| 24 | + xmlns:mobile='http://www.google.com/schemas/sitemap-mobile/1.0' |
| 25 | + xmlns:pagemap='http://www.google.com/schemas/sitemap-pagemap/1.0' |
| 26 | + xmlns:xhtml='http://www.w3.org/1999/xhtml' |
| 27 | + > |
| 28 28 | """ |
| 29 29 | define :xml_footer, "</urlset>" |
| 30 30 | |
| 31 31 | define :xml_idxheader, """ |
| 32 | - <?xml version="1.0" encoding="UTF-8"?> |
| 33 | - <sitemapindex |
| 34 | - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 35 | - xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 |
| 36 | - http://www.sitemaps.org/schemas/sitemap/0.9/siteindex.xsd" |
| 37 | - xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" |
| 38 | - > |
| 32 | + <?xml version="1.0" encoding="UTF-8"?> |
| 33 | + <sitemapindex |
| 34 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 35 | + xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 |
| 36 | + http://www.sitemaps.org/schemas/sitemap/0.9/siteindex.xsd" |
| 37 | + xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" |
| 38 | + > |
| 39 39 | """ |
| 40 40 | define :xml_idxfooter, "</sitemapindex>" |
| @@ -9,7 +9,7 @@ defmodule Sitemap.Mixfile do | |
| 9 9 | [ |
| 10 10 | app: :sitemap, |
| 11 11 | name: "Sitemap", |
| 12 | - version: "1.0.1", |
| 12 | + version: "1.0.2", |
| 13 13 | elixir: ">= 1.3.0", |
| 14 14 | description: @description, |
| 15 15 | build_embedded: Mix.env == :prod, |