{"id":20678600,"url":"https://github.com/v-core9/v_sitemap","last_synced_at":"2026-04-17T14:31:18.893Z","repository":{"id":57157401,"uuid":"444108091","full_name":"V-core9/v_sitemap","owner":"V-core9","description":"XML Sitemaps Generator.","archived":false,"fork":false,"pushed_at":"2022-01-05T16:32:02.000Z","size":49,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main_index","last_synced_at":"2025-01-17T15:16:37.582Z","etag":null,"topics":["async","fs","generator","nodejs","sitemap","sitemap-generator","sitemap-xml","v-core9","v-file-system","xml","xml-sitemap-generator","xml-sitemaps"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/V-core9.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-01-03T15:24:22.000Z","updated_at":"2022-01-05T16:32:06.000Z","dependencies_parsed_at":"2022-09-07T12:03:09.898Z","dependency_job_id":null,"html_url":"https://github.com/V-core9/v_sitemap","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/V-core9%2Fv_sitemap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/V-core9%2Fv_sitemap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/V-core9%2Fv_sitemap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/V-core9%2Fv_sitemap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/V-core9","download_url":"https://codeload.github.com/V-core9/v_sitemap/tar.gz/refs/heads/main_index","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242911197,"owners_count":20205449,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["async","fs","generator","nodejs","sitemap","sitemap-generator","sitemap-xml","v-core9","v-file-system","xml","xml-sitemap-generator","xml-sitemaps"],"created_at":"2024-11-16T21:21:08.610Z","updated_at":"2026-04-17T14:31:18.842Z","avatar_url":"https://github.com/V-core9.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# v_sitemap\n\n[🔥] WARNING : ALPHA DEVELOPMENT STATE [🔥]\n\n## 00. Output Examples [from same array of items]:\n\n![v_sitemap Output Examples](output.sample)\n\n## 1. Installing:\n\n    npm i v_sitemap --save\n\n\n## 2. Using:\n\n    const v_sitemap = require('.');\n\n    // Some Random Array to Use for demonstration purpose.\n    const DEMO_DATA = [\n        {\n            name: 'Home',\n            path: '/',\n            lastmod: '2019-01-01',\n            changefreq: 'yearly',\n            priority: 0.4,\n        },\n        {\n            name: 'About',\n            path: '/about', \n            lastmod: '2020-01-01',\n            changefreq: 'monthly',\n            priority: 0.6,\n        },{\n            name: 'Contact',\n            path: '/contact',\n            lastmod: '2021-01-01',\n            changefreq: 'daily',\n            priority: 0.9,\n        } \n    ];\n\n    const myMap = {\n        data: DEMO_DATA, \n        index: true, \n        output: \"DEMO_DATA.xml\"\n        };\n\n    v_sitemap(myMap);\n\n#\n## 2.1. Listing of sitemaps [sitemapindex]\n\u003eThat code will the produce this XML file:\n\n    \u003c?xml version=\"1.0\" encoding=\"UTF-8\"?\u003e\n    \u003csitemapindex xmlns=\"http://www.sitemaps.org/schemas/sitemap/0.9\"\u003e\n        \u003csitemap\u003e\n            \u003cloc\u003ehttps://v-core9.com/\u003c/loc\u003e\n        \u003c/sitemap\u003e\n        \u003csitemap\u003e\n            \u003cloc\u003ehttps://v-core9.com/about\u003c/loc\u003e\n        \u003c/sitemap\u003e\n        \u003csitemap\u003e\n            \u003cloc\u003ehttps://v-core9.com/contact\u003c/loc\u003e\n        \u003c/sitemap\u003e\n    \u003c/sitemapindex\u003e\n\n## 2.2. Single Sitemap [urlset]\n\u003e By Changing option in \"myMap\" constant from \"index == true\" to false...like this: \n\n    const myMap = {\n        data: DEMO_DATA, \n        index: false, \n        output: \"DEMO_DATA.SMAP.xml\"\n    };\n\n    v_sitemap(myMap);\n\n\u003eand instead of sitemapindex it will produce this XML file\n\n    \u003c?xml version=\"1.0\" encoding=\"UTF-8\"?\u003e\n    \u003curlset xmlns=\"http://www.sitemaps.org/schemas/sitemap/0.9\"\u003e\n        \u003curl\u003e\n            \u003cloc\u003ehttps://v-core9.com/\u003c/loc\u003e\n            \u003clastmod\u003e2019-01-01\u003c/lastmod\u003e\n            \u003cchangefreq\u003eyearly\u003c/changefreq\u003e\n            \u003cpriority\u003e0.4\u003c/priority\u003e\n        \u003c/url\u003e\n        \u003curl\u003e\n            \u003cloc\u003ehttps://v-core9.com/about\u003c/loc\u003e\n            \u003clastmod\u003e2020-01-01\u003c/lastmod\u003e\n            \u003cchangefreq\u003emonthly\u003c/changefreq\u003e\n            \u003cpriority\u003e0.6\u003c/priority\u003e\n        \u003c/url\u003e\n        \u003curl\u003e\n            \u003cloc\u003ehttps://v-core9.com/contact\u003c/loc\u003e\n            \u003clastmod\u003e2021-01-01\u003c/lastmod\u003e\n            \u003cchangefreq\u003edaily\u003c/changefreq\u003e\n            \u003cpriority\u003e0.9\u003c/priority\u003e\n        \u003c/url\u003e\n    \u003c/urlset\u003e\n\n# \n## 2.3. Styled sitemap\n\u003e By adding additional entry that is URL path to the file: \n\n    const myStyledMap = {\n        data: DEMO_DATA,\n        index: true,\n        output: \"sample.myStyledMap.xml\",\n        stylesheet:  \"v-core9.com/style/XSL/sitemap.xsl\"\n    };\n\n    v_sitemap(myStyledMap);\n\n## Sitemap Generation Options?\n\n\n\u003e### NOTICE: \n\u003eFor now just check \\_TEST\\_ Directory \u0026 \"sample.run.js\" file for more info \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fv-core9%2Fv_sitemap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fv-core9%2Fv_sitemap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fv-core9%2Fv_sitemap/lists"}