Hi,
I wanted to find the nodes added or deleted in the sitemap. Do we have any API to find difference between old (Staging) and new sitemap?
Thanks,
Dharshak Sagar
This is not a feature of the product, no. Should be fairly easy to write though.
Hi Dharshak,
If you want OOTB functionality then there is none but you can achieve it using external Java code.
In external Java code, fetch the sitemap and save its value in a HashMap and cached this HashMap.
Next time when there will be a change in sitemap fecth that updated sitemap and create new HashMap, compare new HashMap with the cached HashMap.
I never tried this though.
Another option would be to use a file comparison tool (or write your own) to compare STAGING with the workarea. It won't be pretty, but if you write your own, you could build your own display pattern for showing changes.