Skip to content
This repository was archived by the owner on May 25, 2025. It is now read-only.
This repository was archived by the owner on May 25, 2025. It is now read-only.

Import sessions from Django website #3

@roskakori

Description

@roskakori

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.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions