MozillaFoundation / mofo-lightsaber

Giving every mofo a lightsaber in 2015
1 stars 0 forks source link

Enable export to PDF #12

Closed OpenMatt closed 9 years ago

OpenMatt commented 9 years ago

Also useful for publishing. This used to exist -- not sure if it still does.

JohnMcLear commented 9 years ago

It still does exist, you just need to install abiword and set the path in settings.json

jdotpz commented 9 years ago

screen shot 2015-01-28 at 10 19 10 am

OpenMatt commented 9 years ago

I just tried this and it doesn't appear to work

JohnMcLear commented 9 years ago

What problem are you seeing? https://pad.webmaker.org/p/kljsdlfjskldjf/export/pdf works for me

jdotpz commented 9 years ago

Hmm, that works for me too, odd!

Ah, I see...if its done from the /p/padname path, it works fine, if done from the /padname path it does not.

JohnMcLear commented 9 years ago

Again please see the rewrite rules we provide in the wiki!

jdotpz commented 9 years ago

Heh, these were from the wiki. :)

JohnMcLear commented 9 years ago

Hrm must have missed the export rewrite rules somehow? If they are not there please fix em up :) ----- Reply message ----- From: "JP Schneider" notifications@github.com To: "MozillaFoundation/mofo-lightsaber" mofo-lightsaber@noreply.github.com Cc: "John McLear" John@mclear.co Subject: [mofo-lightsaber] Enable export to PDF (#12) Date: Tue, Feb 3, 2015 18:51

Heh, these were from the wiki. :)

— Reply to this email directly or view it on GitHubhttps://github.com/MozillaFoundation/mofo-lightsaber/issues/12#issuecomment-72710349.

JohnMcLear commented 9 years ago

Was it

        rewrite ^/(.*)/export/(.*) /p/$1/export/$2 break;

That fixed this? Please paste your rule :)

OpenMatt commented 9 years ago

just tested --can confirm this now works.