boonebgorges / buddypress-docs

GNU General Public License v3.0
106 stars 44 forks source link

Export functionality #656

Closed petrk94 closed 5 years ago

petrk94 commented 5 years ago

Hello,

I would like to know, whether a export or download functionality exist? Docx or PDF would be finde.

Thanks

boonebgorges commented 5 years ago

Hello - No, this is not currently built into the plugin. For PDF, you could likely use one of the existing PDF export plugins for WordPress: https://wordpress.org/plugins/printfriendly/ is a good example.

See #570 for more.

petrk94 commented 5 years ago

Okay, how about if I develop that part by myself? We need this function in our organization but with the next update it would disappear again. I checked the database and how its stored and I dont think it should be complicated to export as HTML and than export a PDF or even docx from that.

boonebgorges commented 5 years ago

Sure, please feel free to work on it, and I'll be glad to review.

I'll note that it's definitely easy to create HTML, but the step from HTML to PDF or docx is much harder. There are existing libraries and tools, but you'll need to do lots of work to account for the specifics of how HTML documents work (think: text formatting, embedded images, links, etc).