How can i get the updated content by comparing 2 versions of page ?


hi ,

 

when page activated, version created page . if modify page , compare earlier version shows content in green color diffrence .

now want through code , apis , modified content send through mail.

 

is there solution ?

hi kaushik,

 

just throwing idea & never tried it.

afaik diff works on parsys & text/textimage components only.  try diffinfo [1]. if not work might need capture output of [2] & initiate email.

 

[1]   http://dev.day.com/docs/en/cq/current/javadoc/com/day/cq/commons/diffinfo.html

 

[2]   http://<host>:<port>/content/geometrixx/en/products/_jcr_content/par.html?cq_diffto=<versionno>

http://localhost:4502/content/geometrixx/en/products/_jcr_content/par.html?cq_diffto=1.0

 

thanks,

sham



More discussions in Archived Spaces


adobe

Comments

Popular posts from this blog

Joomal 3.6.3 update error - PHP temporary folder is not set - Joomla! Forum - community, help and support

Upgrade 3.4.8 to 3.5.1 failed "download package failed" - Joomla! Forum - community, help and support

Fatal error during instalation - Joomla! Forum - community, help and support