One of the options in Bitrix-1C is Google Sitemap.
How to create an agent that will create this site map automatically? There is, in view of what to register there, you need to prescribe the code of some function ...
The function code cannot be registered because of its absence. You need to go to /bitrix/modules/search/admin/search_sitemap.php and convert the code that runs on $_REQUEST["Generate"]=="Y" to a function.
A fairly simple implementation is described here: https://dev.1c-bitrix.ru/community/blogs/oracle/254.php?commentId=19459#19459
Source: https://ru.stackoverflow.com/questions/510177/
All Articles