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
Post a Comment