sitemapper icon indicating copy to clipboard operation
sitemapper copied to clipboard

How to get "fields" like last mod date? Setting "field" in options does nothing.

Open pronode opened this issue 6 months ago • 1 comments

So I set options like this:

const sitemap = new Sitemapper({ url: host, field: { loc: true, lastmod: true, changefreq: true, priority: true } });

and then

sitemap
	.fetch()
	.then(function (data) {
		console.log(data);
	});

But this just displays an array of sites, nothing more.

Am I missing something here?

pronode avatar Aug 18 '24 18:08 pronode