Closed thierrylahaije closed 1 year ago
Inspiration: web-scraping.org
Potential new categories:
- Easy updates to make your projects more reproducible
- e.g., make, package managers (versions), install R packages
- Refresh your knowledge about reproducible science
- Project management
- Why is open science/reproducible science important, etc.
- Learn something new (e.g., a new programming language, about web scraping)
- Starters for new stuff, but pretty basic
- Most important categories - show popular content
Hi Hannes,
I think I am quite far now building the home page structure and I am curious what you think about it.
Column descriptions:
I made a python script which exports the data in json format for the cards. The example in the picture above a basic html structure which is dynamically filled by javascript when the index page is loaded. Javascript fetches the json file and then populates the cards.
The custom categories can easily be set in an .md file. For example, I now created 2 categories called 'reproducible' and 'learn'. If someone wishes to add something to that specific category, he/she can simply add the argument "category: reproducible" to the top of the .md file, below the title and description. Someone can also add the argument "icon", followed by the class of a FontAwesome Icon (which can easily be found at fontawesome.com) to add an icon to that specific article. In the example above, I added icons to the articles of the learn category.
Hi @thierrylahaije - I LOVE IT!
How can we bring that tech to our site? Have it on a separate branch for now so I can test it myself, please!
Let's push ahead!
I have now made a local layout for the card structure on the homepage which can be seen in the image:
To make sure that we can display the most read pages correctly, we will need to use Google Analytics Reporting API. I do not have access to the tilburgsciencehub Google account so I currently cannot set this up.
The task is quite simple:
@hannesdatta if you like the card structure in the image we can proceed to check who is going to set up the Google Analytics Reporting API.