Simplify API for adding URLs
Closed this issue · 0 comments
joshuabaker commented
It might be easier to just add URLs directly via SitemapService::addUrl
, returning an instance of Sitemap_UrlModel
.
Similarly, the Sitemap_UrlModel::addAlternateUrl
might return an instance of Sitemap_AlternateUrlModel
.