是否有产生谷歌的Sitemaps兼容免费的API? [英] Is there a free API for generating Google compatible sitemaps?
问题描述
有大量的网站,免费提供这种服务,如这个。
There's plenty of websites that offer this service for free, like this one.
该服务的输入/输出是完美的。这里有一个网址,它给我带回一些XML。
The input/output for the service is perfect. Here's a url, and it gives me back some XML.
有谁知道类似的服务,它可以作为一个API,所以我只能通过将网站网址调用它,并返回一些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?
推荐答案
不是免费的。但是你可以使用A1站点地图生成器的命令行版本。它可以做你想做的,请参阅:的http://www.microsystools.com/products/sitemap-generator/help/automate-sitemap-build-upload/
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/
否则,我相信你可以找到创建的Sitemaps一些老的PHP脚本,然后也许他们满足你的需要?一个例子可能是: http://enarion.net/tools/phpsitemapng/
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/
这篇关于是否有产生谷歌的Sitemaps兼容免费的API?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!