-
Notifications
You must be signed in to change notification settings - Fork 0
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
Dynamic publications page #28
Comments
Following approaches can be taken to achieve thisPython Script followed by a jekyll build
Using JavaScript to dynamically fetch real time data and append the HTML to DOM
|
What's the design? Do you plan to have a drop-down that can toggle between different years, or different tabs for different years? |
The design should be like it is displayed on https://www.rebuildingakidney.org/publications/ - all publications listed by month/year in descending order, with Headings for each year. |
Yes, that's how the design would look. |
There's one other approach I want to explore. Instead of building HTML pages to represent the publications, we could just send users to the Chaise listing of publications. Especially since this allows users to filter the list and see any connections to other data. But I would still want a dynamic method for using JavaScript to dynamically fetch real time data (the second approach listed above) but just to grab the x number of most recent entries for:
I'll be meeting with NIDDK program staff on 9/5 to get clarity on whether they think we should be listing particulars per consortium (ie, news and publications). But at the very least, I will want to be able to list the 4 or 5 most recent entries for all of atlas to appear on the homepage in a list with the following HTML (most recent publication first):
|
@hongsudt This last comment is the new "needs" for representing publications. We'll just use Chaise as the destination but I want to be able to display the most recent posts on the jekyll site where needed. Does this need any further discussion before I ask Aniket to implement this? |
The publications page should update from the listings of publications from Chaise:
Source in Chaise:
https://dev.rebuildingakidney.org/chaise/recordset/#2/Common:Publication
Instructions are in README.md (see attached ZIP)
This is an example script I was given, which generates the bib file (see attached ZIP):
python3 -m atlas_d2k.cli.publication.export2bib --host dev.rebuildingakidney.org --consortium GUDMAP --from-year 2021 --to-year 2021
Goals:
The format should be similar to what we have currently - groups publications by year and shows by date in descending order.
Also add a tag in the HTML output for each publication at the very end that includes the consortium - much like it shows in recordset here: https://www.atlas-d2k.org/chaise/recordset/#2/Common:Publication.
publications script.zip
The text was updated successfully, but these errors were encountered: