{"id":19051420,"url":"https://github.com/jdevalk/xml-sitemap-php-script","last_synced_at":"2025-11-12T15:05:41.740Z","repository":{"id":148801889,"uuid":"2071222","full_name":"jdevalk/XML-Sitemap-PHP-Script","owner":"jdevalk","description":"Easily create XML sitemaps for directories with static files","archived":false,"fork":false,"pushed_at":"2024-07-16T20:47:45.000Z","size":25,"stargazers_count":114,"open_issues_count":1,"forks_count":52,"subscribers_count":11,"default_branch":"main","last_synced_at":"2025-02-22T00:41:23.592Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://yoast.com/xml-sitemap-php-script/","language":"XSLT","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jdevalk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2011-07-19T09:14:55.000Z","updated_at":"2025-01-11T16:23:34.000Z","dependencies_parsed_at":"2025-02-22T00:40:34.442Z","dependency_job_id":"b25acb48-e0cb-400d-a5d4-b07ca2363fd7","html_url":"https://github.com/jdevalk/XML-Sitemap-PHP-Script","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jdevalk/XML-Sitemap-PHP-Script","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdevalk%2FXML-Sitemap-PHP-Script","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdevalk%2FXML-Sitemap-PHP-Script/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdevalk%2FXML-Sitemap-PHP-Script/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdevalk%2FXML-Sitemap-PHP-Script/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jdevalk","download_url":"https://codeload.github.com/jdevalk/XML-Sitemap-PHP-Script/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdevalk%2FXML-Sitemap-PHP-Script/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":284054495,"owners_count":26939587,"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","status":"online","status_checked_at":"2025-11-12T02:00:06.336Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-11-08T23:18:33.079Z","updated_at":"2025-11-12T15:05:41.709Z","avatar_url":"https://github.com/jdevalk.png","language":"XSLT","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Easily generate XML sitemaps for your static files](https://repository-images.githubusercontent.com/2071222/109018c6-f441-4641-a4dc-c8e9f7e894ec)\n\n# XML Sitemap PHP Script\n\nThis simple PHP script is meant to help you easily create XML Sitemaps for static files, for instance PDFs.\n\n## Configuration\n\n1. Copy `xml-sitemap-config-sample.ini` to `xml-sitemap-config.ini`.\n2. Configure the settings.\n3. Check the output of the xml-sitemap script and if it's ok, add the script URL to Google Webmaster Tools.\n\n## FAQ\n\n### Why do the `changefreq` and `priority` default to empty?\n\nBecause Google doesn't use them, and at that point outputting them is more work than it's worth. If you want to set them \nthough, you can.\n\n### Why can't I host the XSL elsehwere?\n\nYou can put it wherever you want except that it _has_ to come from the same domain. I'd suggest just keeping it with the script.\n\n### Could I run this in a WordPress `wp-content` folder?\n\nYes, absolutely. Set the `directory` to `uploads` and make sure `recursive` is set to `true` and it'd generate a nice XML\nsitemap for all your PDFs.\n\n### Can I report issues?\n\nAbsolutely, on this project's [GitHub](https://github.com/jdevalk/XML-Sitemap-PHP-Script).\n\n## License\n\nThis script is licensed under the GPL v3.\n\n## Changelog\n\n* 2022-12-06:\n    * Changed the whole script to be a single class to avoid namespace clashes and modernize the code.\n    * Switched from `config.php` to a `xml-sitemap-config.ini` file that can also be stored one directory above the script.\n    * Fixed a series of bugs with recursive directory listings etc.\n\n* 2013-09-22:\n    * Some small bugfixes to the script.\n    * Added license to readme.\n\n* 2012-09-29:\n    * Move configuration to config.php.\n    * Fix URL output.\n    * Add option to work recursively.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjdevalk%2Fxml-sitemap-php-script","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjdevalk%2Fxml-sitemap-php-script","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjdevalk%2Fxml-sitemap-php-script/lists"}