{"id":21952510,"url":"https://github.com/rowno/sitemap-urls","last_synced_at":"2025-04-23T04:34:26.476Z","repository":{"id":26324519,"uuid":"29772897","full_name":"Rowno/sitemap-urls","owner":"Rowno","description":"Extract URLs from an XML sitemap","archived":false,"fork":false,"pushed_at":"2022-02-13T21:04:22.000Z","size":1877,"stargazers_count":21,"open_issues_count":3,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-01T15:06:12.376Z","etag":null,"topics":["command-line","command-line-tool","javascript","nodejs","sitemap","xml-parser","xml-sitemap"],"latest_commit_sha":null,"homepage":null,"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/Rowno.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":"2015-01-24T10:21:15.000Z","updated_at":"2023-09-11T14:48:55.000Z","dependencies_parsed_at":"2022-09-26T16:20:43.364Z","dependency_job_id":null,"html_url":"https://github.com/Rowno/sitemap-urls","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rowno%2Fsitemap-urls","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rowno%2Fsitemap-urls/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rowno%2Fsitemap-urls/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rowno%2Fsitemap-urls/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Rowno","download_url":"https://codeload.github.com/Rowno/sitemap-urls/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227060709,"owners_count":17724777,"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":["command-line","command-line-tool","javascript","nodejs","sitemap","xml-parser","xml-sitemap"],"created_at":"2024-11-29T06:26:07.370Z","updated_at":"2024-11-29T06:26:08.145Z","avatar_url":"https://github.com/Rowno.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sitemap Urls\n\n[![Build Status](https://api.travis-ci.org/Rowno/sitemap-urls.svg?branch=master)](https://travis-ci.org/Rowno/sitemap-urls)\n[![Dependency Status](https://david-dm.org/Rowno/sitemap-urls/status.svg)](https://david-dm.org/Rowno/sitemap-urls)\n\nExtract URLs from an XML sitemap.\n\n![Sitemap Urls screenshot](screenshot.png)\n\n## Getting Started\n\nInstall the Sitemap Urls command line tool:\n\n```bash\nnpm install -g sitemap-urls\n# or\nyarn add -g sitemap-urls\n```\n\nRun `sitemap-urls` on a file containing a sitemap:\n\n```bash\nsitemap-urls sitemap.xml\n```\n\nAlso supports piping:\n\n```bash\ncurl http://example.com/sitemap.xml | sitemap-urls\n```\n\n## Usage\n\n### CLI\n\n```\nUsage: sitemap-urls \u003cpath\u003e [\u003coptions\u003e]\n\nPath:\n    Path to a file containing an XML sitemap.\n    This parameter is ignored when the sitemap is being piped.\n\nOptions:\n    -h, --help      Show this help text.\n    -v, --version   Print sitemap-urls' version.\n```\n\n### API\n\n#### `.extractUrls(string xml)` -\u003e `array`\n\nExtracts URLs from a string containing an XML sitemap.\n\nExample result:\n\n```json\n[\"http://example.com/\", \"http://example.com/test/\"]\n```\n\n## Related\n\n- [medic][] - Perform bulk URL status checks and track changes.\n\n## License\n\nSitemap Urls is released under the MIT license.\n\nCopyright © 2015 Roland Warmerdam.\n\n[medic]: https://github.com/Rowno/medic\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frowno%2Fsitemap-urls","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frowno%2Fsitemap-urls","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frowno%2Fsitemap-urls/lists"}