Hi,
i have custom transformer( that is global one name="pipeline.mode" value="global") which has the logic to rewrite public urls from html and xml respose but it is working for html now i want to extend this for xml as well how to do that?
I need right configuration.
Could you plase let me know how to achieve?
Solved! Go to Solution.
Views
Replies
Total Likes
Just giving extension not sufficient. You need to specify transformer & serlizer for xml. For an example of oob for html & pdf refer /libs/cq/config/rewriter/*
Some additional questions answered at http://www.wemblog.com/2011/08/how-to-remove-html-extension-from-url.html
Views
Replies
Total Likes
For the extension have you added xml ?
http://sling.apache.org/site/output-rewriting-pipelines-orgapacheslingrewriter.html
Views
Replies
Total Likes
I am little confused with the configuration as i have configured factory as global(currently i do not have any configuration in place for html response rewrite), should i specify the generator and serializer since those are mandatory in the configuration or just can i give extesion and content is that suffice.
Could you please clarify on the configuration(configuration).
Views
Replies
Total Likes
Just giving extension not sufficient. You need to specify transformer & serlizer for xml. For an example of oob for html & pdf refer /libs/cq/config/rewriter/*
Some additional questions answered at http://www.wemblog.com/2011/08/how-to-remove-html-extension-from-url.html
Views
Replies
Total Likes
Views
Replies
Total Likes
There aren't any generators or serializers ootb which handle plain XML. I'm in the process of adding a generator to ACS AEM Commons: https://github.com/Adobe-Consulting-Services/acs-aem-commons/pull/48, but it sounds like there would also be a use for a serializer.
Views
Replies
Total Likes
Views
Replies
Total Likes