cancel
Showing results for 
Search instead for 
Did you mean: 

Generate PDF/Docbook from a Alfresco Wiki

hans
Champ in-the-making
Champ in-the-making
Hi @ all,

we want to use our wiki better and therfour we are trying to find a way how to export our ALfresco wiki (we have community edition) into a PDF or a DocBook.
I read a bit about dita open Toolkit and Oxygen Editor but not happy with that.

How do you guys manage exporting content from Alfresco?
Does somebody export Alfresco content (especially from Wiki) into a pdf or Docbook?

Happy about any help.

kind regards
Hans
7 REPLIES 7

abarisone
Star Contributor
Star Contributor
Hi,
take a look to this addon http://addons.alfresco.com/addons/wiki-printout

Regards,
Andrea

hans
Champ in-the-making
Champ in-the-making
Hi,

can u give me a bit more help or step by step tipps ?
i just installed ant (never heard about before) whenn i run ant it says no build.xml and i dont know how to unterstand that info the add on developer gave

java -jar /opt/alfresco/bin/alfresco-mmt.jar \
    dist/wikiprintout.amp \
    /opt/alfresco/tomcat/webapps/share.war

to i have to write it in a line ? like –> java -jar /opt/alfresco/bin/alfresco-mmt.jar \dist/wikiprintout.amp \ /opt/alfresco/tomcat/webapps/share.war <–

thx. in advance

abarisone
Star Contributor
Star Contributor
Hi,
just follow the instruction contained here: https://github.com/Wilhelm-Buechner-Hochschule/Alfresco-Wiki-Printout
Put the build.xml file in a folder along with the source folder.
Be sure to add ant and Java to you classpath in order to call it from anywhere.
Ant executes by default a build.xml file that is contained in the folder you're launching the command from.
After a succcessful build, call the java command that must be written on a single line as
java -jar /opt/alfresco/bin/alfresco-mmt.jar dist/wikiprintout.amp /opt/alfresco/tomcat/webapps/share.war
being sure that Alfresco services are down
When you have successfully applied the AMP file to share, simply restart Alfresco.

Regards,
Andrea

hans
Champ in-the-making
Champ in-the-making
Hi Andrea,

i am sorry for not getting it Smiley Sad but so thankfull for your fast respond.
Im quite new to Alfresco and i never applied an add on so its a bit hard for me to get it.

in the link –> https://github.com/Wilhelm-Buechner-Hochschule/Alfresco-Wiki-Printout
there is a "source" folder and in that folder there are two other folders "java" and "web", where do i have to but the content of those 2 Folders ("java" and "web")?

–> "ant" and "java" is set to classpath

–> stop Alfresco - clear

–> java -jar /opt/alfresco/bin/alfresco-mmt.jar dist/wikiprintout.amp /opt/alfresco/tomcat/webapps/share.war
Problem: where can i find that share.war ? (i search in the Alfresco Folder but no success. And where do i have to but the wikiprintout.amp file ?

I dont know if i am the only person that ist having so hard setting up something in Alfresco community (was same painfull setting up search function; if i am right u helped me out to there).

thx in advance
Hans

abarisone
Star Contributor
Star Contributor
Hi,
share.war is under
Alfresco/tomcat/webapps
along with alfresco.war.
In order to compile it is enough to create a folder with build.xml and source folder, don't mind to its content since ant will take care of that.
If you need more help just keep on writing to this forum

Regards,
Andrea

hans
Champ in-the-making
Champ in-the-making
Hi Andrea,

thx. for your fast reply! I will give a new try and write some Feedback.

kr
Hans

elmarie
Champ in-the-making
Champ in-the-making
Is there anyway to export a group of WIKI pages as a PDF document.  This is similar to fucntionality provided by SCROLL for confluence WIKI.