How to embed xhtml rendering engine?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2011 02:37 AM
Hi,
OOB alfresco provides ftl & xslt based rendering engines using which we can author & publish content. I want to know how can i embed xhtml based engine which takes xhtml & xml as input & finally content filled xhtml as output.
I am working hard but could not find any idea. Can anyone help me here.
I also read that it provides only two rendering engines, can i extend it?
Or simply how to embed a new rendering engine behaving like oob provided.
OOB alfresco provides ftl & xslt based rendering engines using which we can author & publish content. I want to know how can i embed xhtml based engine which takes xhtml & xml as input & finally content filled xhtml as output.
I am working hard but could not find any idea. Can anyone help me here.
I also read that it provides only two rendering engines, can i extend it?
Or simply how to embed a new rendering engine behaving like oob provided.
Labels:
- Labels:
-
Archive
4 REPLIES 4
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2011 06:45 AM
Hi,
I tried & got some success but not fully. Trying to get it verified:
1. Created XHTMLRenderingEngine extending org.alfresco.repo.rendition.executer.BaseTemplateRenderingEngine having all logic getting noderefs for xhtml & xml doc and creating new file which is combo of these two files.
2. Edited "rendition-services-context.xml" with following entry
3. Started alfresco, no error but i am not able to test it. How can i do it?
My whole idea is to get it reflected on alfresco explorer.Please suggest. :?:
I tried & got some success but not fully. Trying to get it verified:
1. Created XHTMLRenderingEngine extending org.alfresco.repo.rendition.executer.BaseTemplateRenderingEngine having all logic getting noderefs for xhtml & xml doc and creating new file which is combo of these two files.
2. Edited "rendition-services-context.xml" with following entry
<bean id="xhtmlRenderingEngine" class="com.lalit.template.XHTMLRenderingEngine" parent="baseRenderingAction"> <property name="serviceRegistry"> <ref bean="ServiceRegistry" /> </property> </bean>
3. Started alfresco, no error but i am not able to test it. How can i do it?
My whole idea is to get it reflected on alfresco explorer.Please suggest. :?:
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2013 04:55 AM
we also are trying to export our wiki into a docbook so we can use it as a documentation, but its so hard to get some instruction how to make it happen
((
greetings

greetings

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2013 09:59 AM
half a year later and still no answer.. dunno whats wrong with the alfresco developer crowd
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2013 08:13 PM
I suggest you don't hijack old threads and clearly state what you are trying to do. Anyone interested in docbook export is unlikely to have even read your posting.
