2

export question and answer as pdf

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.

mether's avatar
1.5k
mether
asked 2011-08-23 01:07:30 -0600
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

4 Answers

1
mether's avatar
1.5k
mether
answered 2011-09-05 06:56:07 -0600
edit flag offensive 0 remove flag delete link

Comments

Thanks, seems the way to go.

Evgeny's avatar Evgeny (2011-09-05 07:44:45 -0600) edit
add a comment see more comments
1

Hi, I want to work on this application.

Koustava Goswami's avatar
26
Koustava Goswami
answered 2011-09-08 09:30:51 -0600
edit flag offensive 0 remove flag delete link

Comments

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

Evgeny's avatar Evgeny (2011-09-08 09:35:19 -0600) edit
add a comment see more comments
0

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

sagarun's avatar
103
sagarun
answered 2011-11-07 20:30:15 -0600
edit flag offensive 0 remove flag delete link

Comments

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

Koustava Goswami's avatar 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's avatar 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's avatar Evgeny (2011-12-28 08:26:29 -0600) edit

@Evgeny Got any chance to review it?

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

@Evgeny Any update on this?

mether's avatar mether (2012-10-08 02:45:00 -0600) edit
add a comment see more comments
0

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

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

Koustava Goswami's avatar
26
Koustava Goswami
answered 2011-10-01 04:59:38 -0600
edit flag offensive 0 remove flag delete link

Comments

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

Evgeny's avatar Evgeny (2011-10-01 09:30:23 -0600) edit
add a comment see more comments