Closed hammady closed 1 year ago
Related to this: store them when scraped in a specific order (alphabetically for e.g.). Theoretically there is no order in JSON objects, but practically they are displayed in the same order they are read from the file.
@fayez-nazzal new schema including metadata:
"WestEndIslamicCenter": {
"display_name": "West End Islamic Center",
"website": "https://weicenter.ca/",
"address": "12,13-4161 Sladeview Crescent, Mississauga, ON L5L 5R3",
"iqamas": {},
...
...
We can show the masjid display name in the header instead of the code and make it linkable with the website. We can also show the display name in the subscribe sidebar. The address can be shown in a smaller font below the masjid name.
@hammady Insha'allah will do it tomorrow's morning
Currently the only metadata is the masjid name, and because it is used as the topic name, it has some restrictions (cannot have spaces). We can add more metadata like display name, URL, and address.