We have created a sitemap.xml using the Google Sitemap webpart.
Our problem is that the e-commerce manufactures don't have a page. They appear throw a repeater, but for the sitemap we need all of them to be shown.
Is there a way to solve this? How can we show the manufacturers in sitemap?
I would think the only way to get them to show in a repeater would be to have pages representing them. You could maybe link up pages tot he manufacturers through a custom field or something along that sort, but I would think that a physical page would have to be created to be included in the site map. The only thing the sitemap would be able to show with how you have it set up would be the main page that the repeater was on.
If you're mfgs are not a page type then they won't show using that webpart. You could modify the webpart to also include a query so they are included, but this would be manually coded.
Modify the google sitemap webpart?
is it possible to add an if else in the webpart?
If the "loc" = manufacturers we add the manufacturers ManufacturerDisplayName after the "loc"?
Please, sign in to be able to submit a new answer.