craftplugins/sitemap

Simplify API for adding URLs

Closed this issue · 0 comments

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.