Ticket #1632 (assigned story)

Opened 11 years ago

Last modified 10 years ago

Collections-to-PDF

Reported by: teemu Owned by: hans
Priority: blocker Milestone: 2.7
Component: generic Version:
Keywords: Cc:
Time planned: Time remaining:
Time spent:

Description

From the download collections user should be able to create also PDF of the collection.

The f"irst page of the PDF should be a "title page" with the title of the collection and sub-title saying "Learning Resource Collection from LeMill<br>http://lemill.net". The title page could also have the LeMill logo in it.

The second page should be titled "Table of Content" following the Sub titles "Content", "Methods" and "Tools". Under each sub-title there should be the titles of the actual resources included to the collection.

The third page should be titled "Teaching and Learning Story" following the story.

The forth page and following should contain the "resources" of the collection: page break before each new sub-title - Content, Methods, Tools- with the sub-title in the top of the page.

Attachments

pjotrs-collection.pdf (13.2 KB) - added by pjotr 10 years ago.
This is also quite early version, but it should resemble the general structure and the way things are gonna look in final variant
coll_pdf_10_dets_08.pdf (323.8 KB) - added by pjotr 10 years ago.
Latest and greatest (10 dets 08)

Change History

comment:1 Changed 10 years ago by hans

  • Owner changed from anonymous to hans
  • Priority changed from major to blocker
  • Status changed from new to assigned
  • Milestone set to 2.6

Changed 10 years ago by pjotr

This is also quite early version, but it should resemble the general structure and the way things are gonna look in final variant

Changed 10 years ago by pjotr

Latest and greatest (10 dets 08)

comment:2 Changed 10 years ago by pjotr

Newest PDF file generated from my test collection. The pdf itself has gone several steps forward in being what it is suppose to be (unfortunately the code has made several steps backwards >>> as handling all kind of special cases and stuff is quite complicated and sometimes crazy).

I hope that storage for temporary folders with images created in the local File System ZOPE_INSTANCE_HOME/var is all the way lemill.net setup friendly. I do hope to make the first working commit tomorrow.

comment:3 Changed 10 years ago by pjotr

(In [2712]) References #1632, PDF generation works, still needs some tuning and explanation into the INSTALLATION instructions, in latest version of pisa 3.0.29 it seems to be generating page numbers twice - workes fine with 3.0.27, I guess that is eitehr a bug or some misunderstanding on my side

comment:4 Changed 10 years ago by pjotr

(In [2718]) References #1632, filtering out the License label and runnign conversion with xhtml parser

comment:5 Changed 10 years ago by pjotr

(In [2729]) References #1632, added a link to download PDF functionality, in case of PISA not being available it will be just hidden

Note: See TracTickets for help on using tickets.