Hi,
I have created a scheduler to create a sitemap for my site (taken the reference from acs-commons). Attached is what is the input for scheduler via OSGi console. Here it takes the root path of page ans generate sitemap.xml under /content.
Question is this will be for one locale, what will be the case of multiple locale, Shall I need to create multiple sitemap.xml and need to configure my OSGi properties to add multiple rootpath for each locale.
Thanks
Solved! Go to Solution.
Views
Replies
Total Likes
Hi,
I'm not sure why you need a scheduler for this when ACS AEM Commons includes a way to handle through requests, but...
Yes, if you are hosting multiple sites in AEM, you will likely need to add support for generating multiple sitemaps to your component. One way to do this is by using OSGi factory components which enables you to create multiple instances of a component, each with its own configuration. There are a number of examples of the component factory pattern in ACS AEM Commons (including the sitemap servlet as different sites would presumably have a different externalizer domain).
Regards,
Justin
Views
Replies
Total Likes
Hi,
I'm not sure why you need a scheduler for this when ACS AEM Commons includes a way to handle through requests, but...
Yes, if you are hosting multiple sites in AEM, you will likely need to add support for generating multiple sitemaps to your component. One way to do this is by using OSGi factory components which enables you to create multiple instances of a component, each with its own configuration. There are a number of examples of the component factory pattern in ACS AEM Commons (including the sitemap servlet as different sites would presumably have a different externalizer domain).
Regards,
Justin
Views
Replies
Total Likes
I have asked that the Eng member whom wrote this please respond to this.
Views
Replies
Total Likes
Views
Likes
Replies