Ask Your Question
2

export question and answer as pdf

asked Aug 23 '11

mether gravatar image mether flag of India
1021 12 35
http://fedoraproject.org/

I would like the ability to export selected or all questions and answers in a forum (along with the option to include all comments) as a pdf for offline viewing.

http://www.xhtml2pdf.com/ can be used for this purpose I think.

4 Answers

Sort by ยป oldest newest most voted
1
mether has selected this answer as correct

answered Sep 05 '11

mether gravatar image mether flag of India
1021 12 35
http://fedoraproject.org/

Additional reference

https://docs.djangoproject.com/en/1.3/howto/outputting-pdf/

link

Comments

Thanks, seems the way to go.

Evgeny (Sep 05 '11)
1
mether has selected this answer as correct

answered Sep 08 '11

Koustava Goswami gravatar image Koustava Goswami
26 1 2

Hi, I want to work on this application.

link

Comments

Great, good luck. You may need some patience for understanding of the reportlabs library.

Evgeny (Sep 08 '11)
0
mether has selected this answer as correct

answered Oct 01 '11

Koustava Goswami gravatar image Koustava Goswami
26 1 2

Hi, I have added the button.....js code is left now I am working on that...

git@github.com:koustava/askbot-devel.git

link

Comments

Great, I notice that you have your virtual environment in the repository - it's better to add it to your .gitignore

Evgeny (Oct 01 '11)
0
mether has selected this answer as correct

answered Nov 07 '11

sagarun gravatar image sagarun
103 1 8

I started working on this in FUDCon. Will try to finish it in upcoming weekends. @Koustava Goswami do you have any updates for me?

link

Comments

I have added the button but the reportlab is not working properly @sagarun

Koustava Goswami (Nov 09 '11)
1

Apologies for the delay, I was busy with my new job :). I managed to pull of something small, I have the functionality implemented here https://github.com/sagarun/askbot-devel/tree/export-pdf . It requires reportlab. The pdf generated is very basic.

sagarun (Dec 28 '11)

Thanks a million and happy new year! Hopefully we'll find the time to look at it in 2011.

Evgeny (Dec 28 '11)

@Evgeny Got any chance to review it?

sagarun (Jan 06)

Your answer

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!
[hide preview]

Question tools

Follow
3 followers

subscribe to rss feed

Stats

Asked: Aug 23 '11

Seen: 175 times

Last updated: Nov 07 '11