Is there a free API for generating Google compatible sitemaps?
There's plenty of websites that offer this service for free, like this one.
The input/output for the service is perfect. Here's a url, and it gives me back some XML.
Does anyone know of a similar service that is available as an API, so I can just call it by passing a site url, and it return some xml?
Not free. But you could use the command line version of A1 Sitemap Generator. It can do what you want, see: http://www.microsystools.com/products/sitemap-generator/help/automate-sitemap-build-upload/
Otherwise, I believe you can find some old PHP scripts that create sitemaps, and then maybe tailor them to your needs? One example might be: http://enarion.net/tools/phpsitemapng/
链接地址: http://www.djcxy.com/p/35782.html上一篇: 在彭博中使用代码而不是Cusip下载行业