BoxLang 🚀 A New JVM Dynamic Language Learn More...
The Google Sitemaps Plugin generates Google-compatible sitemaps for a Masa CMS site. Sitemaps are xml documents that the Google site crawler will use to properly and efficiently document your website. You can find details on Google Sitemaps on their website. This plugin replaces the Meld Google Sitemaps plugin, which is now deprecated.
The first thing you should do once the plugin is installed is update the settings. Set Enabled to yes, select the update frequency (the scheduler will generate the sitemap automatically for you every day at 3AM), and choose the location for your sitemap:
By default, the Masa Google Sitemap plugin will include all pages in your website. You can customize this on a per-page or per-section basis by clicking on the Extended Attributes tab in the content editor, and adjusting the Google Sitemaps settings:
The Masa Sitemaps plugin uses your cfml engine's scheduler to automatically generate your sitemap as per your setup instructions. If you'd like to alter that schedule, you can go to your cfml administrator and edit it to suit your needs.
You can also manually generate the sitemap at any time by clicking on the Generate tab and then the Generate button at the bottom of the page.
You can also generate news sitemaps. If your site generates news compatible with Google's guidelines, you can enable this feature under the News tab. Set Enabled to turn this feature on, and then select an existing Content Collection that will act as a source for the news sitemap. Note that as per the Google news sitemap regulations, the sitemap will only contain items published within the last two days. Also, this sitemap is generate on a daily schedule as well as every time you click on the manual Generate button (see above).
If you have the Masa Translations plugin installed, the Masa Google Sitemaps plugin will also generate translated references for you as well. Simply click on the Translations tab and select the language sites you wish to include in your sitemap.
$
box install MasaGoogleSitemaps