djplaner / Content-Interface-Tweak

Improves both the task of creating content for Blackboard Learn, and reading that content.
https://djplaner.github.io/Content-Interface-Tweak/
GNU General Public License v3.0
0 stars 0 forks source link

Formalise the generate PDF process #36

Open djplaner opened 3 years ago

djplaner commented 3 years ago

Currently it's too manual and too separate from the content interface

djplaner commented 3 years ago

Design

Use case

Course has the content interface installed, typically using the Card Interface to organise. Needs PDF on each page.

Process

  1. [ ] Generate PDFs
    1. [ ] Generate data about PDFs to produce: for each course, list of URLs and filenames
    2. [ ] Scrape Blackboard to generate PDFs and copy to filenames
  2. [ ] Add links to appropriate pages in Blackboad
    1. [ ] Generate data about links: for each course, unique id for the page + correctly shared link
    2. [ ] add data to content.js
djplaner commented 3 years ago

Generate PDFs

  1. [ ] Generate courseData.py
    1. [ ] Provide a list of URLs for the Card Interface
    2. [ ] Extract the list and output nascent courses.py
      1. [ ] Do filenames need to be generated manaually? do it automatic!
      2. [ ] provide BASEURL for the PDFs
  2. [ ] generatePDFs