Skip to content

Update all the data of the application #122

Open

Description

@GeorgeApos

We need some one from the University of Macedonia (or not) to update all the data and all the JSON files, meaning proffesors, their title, the restaurant menu, services etc

Also, we need to add the EDIP professors in this issue.

Activity

  1. NikolasPpd commented on May 4, 2024

    @NikolasPpd
    Member

    A few months ago I created a scraper that automatically gets the latest faculty info from UoM's website. The output format is a little different to what is currently being used here.

    Currently, we have one .js file for every department: https://github.com/open-source-uom/myuom/tree/main/src/assets/data/professors

    Each such file has an array of objects containing faculty information. For example:

    {
        imgUrl: 'https://www.uom.gr/assets/site/public/nodes/1234/some-image.jpg',
        fname: i18n.t('first_name'),
        lname: i18n.t('last_name'),
        title: i18n.t('title'),
        tel: '2310 000 000',
        email: 'example@uom.edu.gr',
        building: 'ABC',
        office: '000'
    },
    

    Some fields are hardcoded directly in here, while others get their localized values from i18n.

    The scraper outputs one .json file per department per language
    image

    with similar json objects to the one above

    {
        "imgURL": "https://www.uom.gr/assets/site/public/nodes/1234/some-image.jpg",
        "profileURL": "https://www.uom.gr/example",
        "fullName": "John Smith",
        "phoneNumber": "2310 000 000",
        "email": "example@uom.edu.gr",
        "department": "Βαλκανικών, Σλαβικών & Ανατολικών Σπουδών",
        "title": "Ε.Ε.Π. (Ειδικό Εκπαιδευτικό Προσωπικό)",
        "building": "ABC",
        "office": "000"
    },
    

    This way there is some repetition on fields that don't change between locales, but the reasoning behind the output files and their structure is you run the scraper periodically, get the latest faculty info, drag and drop the files into a folder within the myUoM project and you're done.

    The goal is to minimize manual intervention to the maximum extent. With our current approach when faculty info changes you have to manually look through different files in different folders with information being all over the place which can quickly turn into a tedious task.

  2. Gorachand-Senapati commented on Mar 14, 2025

    @Gorachand-Senapati
    Contributor

    Hi @GeorgeApos ,

    I’d like to work on this issue. I can help update the data and JSON files, including professors' information (titles, EDIP professors, etc.), restaurant menus, services, and other related details.

    Here’s my plan:

    Collect the necessary data (e.g., professor titles, EDIP professors, etc.) from reliable sources.

    Update the JSON files with the new data.

    Verify the updates for accuracy and consistency.

    Let me know if there are any specific guidelines or priorities I should follow. I’m happy to collaborate and make sure everything is up-to-date!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestfrontendThis issue is related to frontendgood first issueGood for newcomershelp wantedExtra attention is neededp.HighPriority: High

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions