Channel publish: determine changed pages

Hi,

when publishing a channel I want to determine all changed pages. I already have a listener. How do I get the detailed publish information?

https://xmdocumentation.bloomreach.com/library/concepts/channels/channel-manager-events.html

Best regards

You can retrieve the HST configuration of the affected paths on the channel publish event. From there, you may be able to compare the -preview node to the published configuration for changes.

Thank you
That’s exactly what I wanted to do. But I didn’t find anything in the ChannelEvent that I could compare. I only found the path that I can use to access the channel and preview nodes. But at this point, both nodes are already up to date.
Or am I missing something here?

I don’t think you’re missing anything. With the live node already updated during ChannelEvent processing, there would be no way to determine the full detail of what was changed. The only path forward I see here is to store the current state of the changed items on every ChannelEvent. Then compare those states on future ChannelEvents involving the items.

Hello @ms2024

Thank you for your valuable input.
We are looking forward to your continuous contribution towards our vibrant Bloomreach Community.

Best Regards,
Bloomreach