Ask Your Question
2

export question and answer as pdf

asked 2011-08-23 01:07:30 -0600

mether gravatar image

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.

edit retag flag offensive close delete

4 Answers

Sort by ยป oldest newest most voted
1

answered 2011-09-05 06:56:07 -0600

mether gravatar image

Additional reference

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

edit flag offensive delete publish link more

Comments

Thanks, seems the way to go.

Evgeny ( 2011-09-05 07:44:45 -0600 )edit
1

answered 2011-09-08 09:30:51 -0600

Koustava Goswami gravatar image

Hi, I want to work on this application.

edit flag offensive delete publish link more

Comments

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

Evgeny ( 2011-09-08 09:35:19 -0600 )edit
0

answered 2011-10-01 04:59:38 -0600

Koustava Goswami gravatar image

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

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

edit flag offensive delete publish link more

Comments

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

Evgeny ( 2011-10-01 09:30:23 -0600 )edit
0

answered 2011-11-07 20:30:15 -0600

sagarun gravatar image

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

edit flag offensive delete publish link more

Comments

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

Koustava Goswami ( 2011-11-09 11:41:13 -0600 )edit
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 ( 2011-12-28 05:21:48 -0600 )edit

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

Evgeny ( 2011-12-28 08:26:29 -0600 )edit

@Evgeny Got any chance to review it?

sagarun ( 2012-01-06 05:31:52 -0600 )edit

@Evgeny Any update on this?

mether ( 2012-10-08 02:45:00 -0600 )edit

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)!

Add answer

[hide preview]

Reliable Askbot Hosting

Create your Q&A site at askbot.com. Managed Askbot hosting at just $15/mo. Dedicated hosting, support contracts, consulting services.

create your Q&A site
30 days free trial

Question tools

Follow
3 followers

Stats

Asked: 2011-08-23 01:07:30 -0600

Seen: 291 times

Last updated: Nov 07 '11