sitemap-javascript
Advanced tools
Comparing version 1.1.10 to 1.2.1
@@ -128,2 +128,14 @@ "use strict"; | ||
} | ||
if (item.image_link) { | ||
this.push((0, sitemap_xml_1.element)(types_1.TagNames.image_link, item.image_link)); | ||
} | ||
if (item.availability) { | ||
this.push((0, sitemap_xml_1.element)(types_1.TagNames.availability, item.availability)); | ||
} | ||
if (item.id) { | ||
this.push((0, sitemap_xml_1.element)(types_1.TagNames.id, item.id)); | ||
} | ||
if (item.brand) { | ||
this.push((0, sitemap_xml_1.element)(types_1.TagNames.brand, item.brand)); | ||
} | ||
item.video.forEach((video) => { | ||
@@ -130,0 +142,0 @@ this.push((0, sitemap_xml_1.otag)(types_1.TagNames['video:video'])); |
@@ -349,2 +349,6 @@ /// <reference types="node" /> | ||
versionDescription?: string; | ||
image_link?: string; | ||
availability?: string; | ||
id?: string; | ||
brand?: string; | ||
} | ||
@@ -419,2 +423,6 @@ /** | ||
versionDescription = "versionDescription", | ||
image_link = "image_link", | ||
availability = "availability", | ||
id = "id", | ||
brand = "brand", | ||
'address:loc' = "address:loc", | ||
@@ -421,0 +429,0 @@ 'address:address' = "address:address", |
@@ -117,2 +117,6 @@ "use strict"; | ||
TagNames["versionDescription"] = "versionDescription"; | ||
TagNames["image_link"] = "image_link"; | ||
TagNames["availability"] = "availability"; | ||
TagNames["id"] = "id"; | ||
TagNames["brand"] = "brand"; | ||
TagNames["address:loc"] = "address:loc"; | ||
@@ -119,0 +123,0 @@ TagNames["address:address"] = "address:address"; |
{ | ||
"name": "sitemap-javascript", | ||
"version": "1.1.10", | ||
"version": "1.2.1", | ||
"description": "Sitemap-generating lib/cli", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
174970
3313