Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import sessions from Django website #3

Open
1 task
roskakori opened this issue Dec 5, 2023 · 0 comments
Open
1 task

Import sessions from Django website #3

roskakori opened this issue Dec 5, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@roskakori
Copy link
Contributor

roskakori commented Dec 5, 2023

Goals

  • All sessions from the Django website are converted to blog articles.

Implementation

The relevant parts of the database of the Django website have been exported to CSV:

  • user
  • session
  • meetup
  • location
  • session type

Each row in the session CSV should be converted to a lektor document blog/<date>-<slug>/contents.lr with:

  • date: The date when the session was/is to be held as YYYY-MM-DD
  • slug: A sytem _slug.

The fields of the CSV are to be mapped to the contents.lr as:

  • title -> title
  • abstract -> body
  • speakername -> author
  • slides_url -> slides_url
  • notes -> body with sub-heading "## Notes"
  • session_type.csv@type_id:name -> session_type using the following Lektor field:
    [fields.session_type]
    label = Session type
    type = select
    choices = talk, lightning-talk, coding-dojo
    choice_labels = Vortrag, Kurzvortrag, Coding Dojo
  • user.csv@speaker_id:github_user -> github_user
  • meetup.csv@meetup_id:meetup_com_id -> meedupcom_id
  • meetup.csv@meetup_id : location,csv@location_id:name -> location ℹ️ at a later point, this will be changed to a link to a location page.
@roskakori roskakori added the enhancement New feature or request label Dec 5, 2023
@roskakori roskakori self-assigned this Dec 5, 2023
@roskakori roskakori added this to pyGRAZ Dec 5, 2023
@github-project-automation github-project-automation bot moved this to Backlog in pyGRAZ Dec 5, 2023
@roskakori roskakori moved this from Backlog to In Progress in pyGRAZ Dec 5, 2023
roskakori added a commit that referenced this issue Dec 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: In Progress
Development

No branches or pull requests

1 participant