Skip to content

Commit 6dcafcc

Browse files
authored
Merge branch 'master' into yueqiao_page_update
2 parents 5cdfb7f + a226c1a commit 6dcafcc

File tree

131 files changed

+3115
-584
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

131 files changed

+3115
-584
lines changed

.github/workflows/broken-link-checker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
- name: Execute Link Checker and Show Broken Links
3434
env:
3535
TEMPORARY_WEBSITE_URL: "http://127.0.0.1:8000"
36-
ACTUAL_WEBSITE_URL: "https://ddmal.music.mcgill.ca"
36+
ACTUAL_WEBSITE_URL: "https://ddmal.ca"
3737
run: |
3838
output=$(blc $TEMPORARY_WEBSITE_URL -re | \
3939
grep -v -E '├───OK───|└───OK───' | \

404.html

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -15,49 +15,49 @@
1515
404: Page not found · DDMAL
1616
</title>
1717
<!-- CSS -->
18-
<link rel="stylesheet" href="https://ddmal.music.mcgill.ca/assets/css/main.css" />
18+
<link rel="stylesheet" href="https://ddmal.ca/assets/css/main.css" />
1919
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=PT+Serif:400,400italic,700%7CPT+Sans:400">
2020
<link href="https://fonts.googleapis.com/css?family=Montserrat|Raleway:300,400,500" rel="stylesheet">
2121
<!-- Icons -->
22-
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="https://ddmal.music.mcgill.ca/public/mcgill_crest.png">
23-
<link rel="shortcut icon" href="https://ddmal.music.mcgill.ca/public/mcgill_crest.png">
22+
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="https://ddmal.ca/public/mcgill_crest.png">
23+
<link rel="shortcut icon" href="https://ddmal.ca/public/mcgill_crest.png">
2424
<!-- RSS -->
25-
<link rel="alternate" type="application/rss+xml" title="RSS" href="https://ddmal.music.mcgill.ca/atom.xml">
25+
<link rel="alternate" type="application/rss+xml" title="RSS" href="https://ddmal.ca/atom.xml">
2626
</head>
2727
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
2828
<nav class="navbar navbar-light fixed-top navbar-expand-lg bg-white">
29-
<a class="navbar-brand" href="https://ddmal.music.mcgill.ca/">DDMAL</a>
29+
<a class="navbar-brand" href="https://ddmal.ca/">DDMAL</a>
3030
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
3131
<span class="navbar-toggler-icon"></span>
3232
</button>
3333
<div class="collapse navbar-collapse" id="navbarSupportedContent">
3434
<ul class="navbar-nav ml-auto" id="nav-items">
3535
<li class="nav-item">
36-
<a class="nav-link" href="https://ddmal.music.mcgill.ca/index.html">Home <span class="sr-only">(current)</span></a>
36+
<a class="nav-link" href="https://ddmal.ca/index.html">Home <span class="sr-only">(current)</span></a>
3737
</li>
3838
<li class="nav-item">
39-
<a class="nav-link" href="https://ddmal.music.mcgill.ca/lab_members/">Lab Members</a>
39+
<a class="nav-link" href="https://ddmal.ca/lab_members/">Lab Members</a>
4040
</li>
4141
<li class="dropdown">
4242
<a class="dropdown-toggle" role="button" data-toggle="dropdown" href="#">Activities<span class="caret"></span></a>
4343
<ul class="dropdown-menu" role="menu">
44-
<li><a href='https://ddmal.music.mcgill.ca/activities/media/' target='_top' >Media</a></li>
45-
<li><a href='https://ddmal.music.mcgill.ca/activities/posters/' target='_top' >Posters</a></li>
46-
<li><a href='https://ddmal.music.mcgill.ca/activities/presentations/' target='_top' >Presentations</a></li>
47-
<li><a href='https://ddmal.music.mcgill.ca/activities/publications/' target='_top' >Publications</a></li>
44+
<li><a href='https://ddmal.ca/activities/media/' target='_top' >Media</a></li>
45+
<li><a href='https://ddmal.ca/activities/posters/' target='_top' >Posters</a></li>
46+
<li><a href='https://ddmal.ca/activities/presentations/' target='_top' >Presentations</a></li>
47+
<li><a href='https://ddmal.ca/activities/publications/' target='_top' >Publications</a></li>
4848
</ul>
4949
</li>
5050
<li class="nav-item">
51-
<a class="nav-link" href="https://ddmal.music.mcgill.ca/research/">Research</a>
51+
<a class="nav-link" href="https://ddmal.ca/research/">Research</a>
5252
</li>
5353
<li class="nav-item">
54-
<a class="nav-link" href="https://ddmal.music.mcgill.ca/software/">Software</a>
54+
<a class="nav-link" href="https://ddmal.ca/software/">Software</a>
5555
</li>
5656
<li class="nav-item">
57-
<a class="nav-link" href="https://ddmal.music.mcgill.ca/events/">Events</a>
57+
<a class="nav-link" href="https://ddmal.ca/events/">Events</a>
5858
</li>
5959
<li class="nav-item">
60-
<a class="nav-link" href="https://ddmal.music.mcgill.ca/resources/">Resources</a>
60+
<a class="nav-link" href="https://ddmal.ca/resources/">Resources</a>
6161
</li>
6262
</ul>
6363
</div>
@@ -69,20 +69,20 @@
6969
<div class="container content">
7070
<div class="page">
7171
<h1 class="page-title">404: Page not found</h1>
72-
<p class="lead">Sorry, we've misplaced that URL or it's pointing to something that doesn't exist. <a href="https://ddmal.music.mcgill.ca/index.html">Head back home</a> to try finding it again.</p>
72+
<p class="lead">Sorry, we've misplaced that URL or it's pointing to something that doesn't exist. <a href="https://ddmal.ca/index.html">Head back home</a> to try finding it again.</p>
7373
</div>
7474
</div>
7575
</div>
7676
<label for="sidebar-checkbox" class="sidebar-toggle"></label>
7777
<footer id="sticky">
7878
<div class="footer-img-wrap">
79-
<img class="mcgill-img-footer" src="https://ddmal.music.mcgill.ca/assets/schulich_logo.png" alt="">
80-
<img class="ddmal-img-footer" src="https://ddmal.music.mcgill.ca/assets/Ddmal_logo_transp-bg_no-border_1600w.png" alt="">
79+
<img class="mcgill-img-footer" src="https://ddmal.ca/assets/schulich_logo.png" alt="">
80+
<img class="ddmal-img-footer" src="https://ddmal.ca/assets/Ddmal_logo_transp-bg_no-border_1600w.png" alt="">
8181
</div>
8282
</footer>
8383
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
8484
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.6/umd/popper.min.js" integrity="sha384-wHAiFfRlMFy6i5SRaxvfOCifBUQy1xHdJ/yoi7FRNXMRBu5WHdZYu1hA6ZOblgut" crossorigin="anonymous"></script>
85-
<script src="https://ddmal.music.mcgill.ca/js/bootstrap.js"></script>
85+
<script src="https://ddmal.ca/js/bootstrap.js"></script>
8686
<script type="text/javascript">
8787
$(document).ready(function () {
8888
var url = window.location;

CNAME

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ddmal.music.mcgill.ca
1+
ddmal.ca

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,16 @@ Assuming you have [Git](https://www.atlassian.com/git/tutorials/install-git) ins
2222
git clone https://github.com/DDMAL/ddmal.github.io.git
2323
```
2424

25-
Enter the directory with `cd ddmal.github.io`, and pull from the repository to your local folder. Specifically, pull from the 'deforested' branch, the branch used by GitHub Pages to host the site.
25+
Enter the directory with `cd ddmal.github.io`, and pull from the repository to your local folder. Specifically, pull from 'master' (NOTE: this was once 'deforested'), the branch used by GitHub Pages to host the site.
2626

2727
```
28-
git pull origin deforested
28+
git pull origin master
2929
```
3030

31-
At this point, the site is able to be edited and run locally. Use the VSCode "Live Server" extension to view the static website in your browser and track changes automatically.
31+
At this point, the site is able to be edited and run locally. Use the VSCode "Live Server" extension to view the static website in your browser and track changes automatically. Make sure you make your own branch to be merged later.
32+
33+
> [!CAUTION]
34+
> As of [7 July 2023]([url](https://github.com/DDMAL/ddmal.github.io/pull/120)), deforested was merged with master; at this stage make sure you are pulling from master **not deforested** or you will get an error (probably "fatal:..." etc.). See https://github.com/DDMAL/ddmal.github.io/pull/120 .
3235
3336
## Creating your lab member page
3437

TEMPLATES/lab_member_template/index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
<!-- TODO: add your name here -->
7575
<h1 style="text-align: left;" class="page-title">Your Name</h1>
7676
<!-- TODO: link your cv in the href attribute here, or comment this line out -->
77-
<a href="../../../assets/lab_members/cv/functionalsample.pdf"><img class="cv-icon" src="../../assets/resume-document.png" /></a>
77+
<a href="../../../assets/lab_members/cv/functionalsample.pdf"><img class="cv-icon" src="../../../assets/resume-document.png" /></a>
7878
<!-- NOTE: make sure to add your pdf file to the assets/lab_members/cv directory -->
7979
</div>
8080
<div class="img-wrap">
@@ -142,7 +142,7 @@ <h1 style="text-align: left;" class="page-title">Your Name</h1>
142142
</div>
143143
</div>
144144
<div class="lab_member_bio">
145-
<!-- TODO: add your bio in the <p> tag here. Visit https://ddmal.music.mcgill.ca/lab_members/ for reference. -->
145+
<!-- TODO: add your bio in the <p> tag here. Visit https://ddmal.ca/lab_members/ for reference. -->
146146
<p>Your bio goes here.</p>
147147
</div>
148148
<div class="flex-wrap">
@@ -167,7 +167,7 @@ <h4 class="lab_member_subtitles">Academic Record</h4>
167167
<div class="publications">
168168
<h4 class="lab_member_subtitles">Publications </h4>
169169
<ul>
170-
<li>https://doi.org/10.1145/2970044.2970047</li>
170+
<li>https://doi.org/10.1000/182</li> <!--https://doi.org/10.1145/2970044.2970047-->
171171
</ul>
172172
</div>
173173
</div>
@@ -195,4 +195,4 @@ <h4 class="lab_member_subtitles">Publications </h4>
195195
});
196196
</script>
197197
</body>
198-
</html>
198+
</html>

activities/posters/content.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
{
2+
"2025": [
3+
"Kun Fang, Kyrie Bouressa, Yu-Chia Kuo, Anna de Bakker, and Ichiro Fujinaga. 2025. \u201cUniversal Musical Instrument Lexicon: A Crowdsourced Platform for Expanding Multilingual Vocabularies and Enhancing Global Access to Musical Instrument Metadata.\u201d Accepted by 12th International Conference on Digital Libraries for Musicology, Sogang University, Seoul, South Korea."
4+
],
25
"2019": [
36
"Hopkins, Emily, Yaolong Ju, Gustavo Polins Pedro, Cory McKay, Julie Cumming, and Ichiro Fujinaga. 2019. \u201cSIMSSA DB: Symbolic Music Discovery and Search.\u201d Poster presented at the 6th International Conference on Digital Libraries for Musicology, Den Haag, Netherlands, November 9.",
4-
"Ju, Yaolong. 2019. \u201cAn Interactive Workflow for Generating Chord Labels for Homorhythmic Music in Symbolic Formats.\u201d Presented at the The 20thInternational Society of Music Information Retrieval Conference, Delft, Netherlands, November 8. <a href=\"http://cloud.simssa.ca/index.php/f/996\">http://cloud.simssa.ca/index.php/f/996</a>.",
7+
"Ju, Yaolong. 2019. \u201cAn Interactive Workflow for Generating Chord Labels for Homorhythmic Music in Symbolic Formats.\u201d Poster presented at the 20th International Society of Music Information Retrieval Conference, Delft, Netherlands, November 8. <a href=\"http://cloud.simssa.ca/index.php/f/996\">http://cloud.simssa.ca/index.php/f/996</a>.",
58
"N\u00e1poles, N\u00e9stor L\u00f3pez, Gabriel Vigliensoni, and Ichiro Fujinaga. 2019. \u201cThe Effects of Translation between Symbolic Music Formats: A Case Study with Humdrum, Lilypond, MEI, and MusicXML.\u201d Poster presented at the annual Music Encoding Conference, Vienna, Austria, June 29.",
69
"Reuse, Tim de, and Ichiro Fujinaga. 2019. \u201cCopyForward: Point-Set Matching for Predicting Patterns.\u201d Poster presented at the 15th running of the Music Information Retrieval Evaluation eXchange at the 20th International Society for Music Information retrieval Conference, Delft, Netherlands, November 4."
710
],
@@ -104,4 +107,4 @@
104107
"McEnnis, Daniel, Cory McKay, Ichiro Fujinaga, and Philippe Depalle. 2005. \u201cJAudio: A Feature Extraction Library.\u201d Posrer presented at the 6th International Conference on Music Information Retrieval, London, UK, September 11.",
105108
"Sinyor, Elliot, Cory McKay, Rebecca Fiebrink, Daniel McEnnis, and Ichiro Fujinaga. 2005. \u201cBeatbox Classification Using ACE.\u201d Poster presented at the 6th International Conference on Music Information Retrieval, London, UK, September 11."
106109
]
107-
}
110+
}

activities/posters/gallery.js

Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
// gallery.js — Parses a CSV file of poster filenames and years, then dynamically generates a thumbnail gallery grouped by year.
2+
// Also controls view switching between list and grid.
3+
4+
document.addEventListener("DOMContentLoaded", function () {
5+
console.log("Page loaded, starting CSV parsing...");
6+
7+
// Toggle view logic
8+
function showView(view) {
9+
document.getElementById('text-view').classList.toggle('hidden', view !== 'text');
10+
document.getElementById('gallery-view').classList.toggle('hidden', view !== 'gallery');
11+
12+
const icons = document.querySelectorAll('.toggle-buttons i');
13+
icons.forEach(icon => icon.classList.remove('active'));
14+
15+
if (view === 'text') {
16+
document.querySelector('.toggle-buttons i.fa-list-ul').classList.add('active');
17+
} else {
18+
document.querySelector('.toggle-buttons i.fa-grip').classList.add('active');
19+
}
20+
}
21+
22+
// Make showView globally accessible
23+
window.showView = showView;
24+
25+
// Set default view on load
26+
showView('gallery');
27+
28+
// Load and parse CSV
29+
Papa.parse("poster_filenames_v2.csv", {
30+
download: true,
31+
header: true,
32+
complete: function (results) {
33+
console.log("CSV parsed results:", results.data);
34+
35+
const data = results.data.filter(row => row.filename && row.year);
36+
const groupedByYear = {};
37+
38+
data.forEach(row => {
39+
const year = row.year.trim();
40+
if (!groupedByYear[year]) groupedByYear[year] = [];
41+
groupedByYear[year].push(row.filename.trim());
42+
});
43+
44+
const container = document.getElementById("poster-gallery-container");
45+
46+
Object.keys(groupedByYear).sort((a, b) => b - a).forEach(year => {
47+
// Create a wrapper for both heading and gallery
48+
const yearBlock = document.createElement("div");
49+
yearBlock.className = "year-block";
50+
// Add year heading and horizontal line
51+
yearBlock.innerHTML = `<h2 id="${year}">${year}</h2><hr />`;
52+
53+
// Create the gallery grid
54+
const gallery = document.createElement("div");
55+
gallery.className = "gallery";
56+
57+
groupedByYear[year].forEach(filename => {
58+
const posterDiv = document.createElement("div");
59+
posterDiv.className = "poster";
60+
61+
const img = document.createElement("img");
62+
img.src = `../../posters/jpg/${filename}`;
63+
img.alt = filename;
64+
65+
img.onerror = function () {
66+
console.warn("Image not found:", img.src);
67+
};
68+
69+
const link = document.createElement("a");
70+
link.href = `../../posters/jpg/${filename}`;
71+
link.target = "_blank";
72+
link.appendChild(img);
73+
74+
// const caption = document.createElement("p");
75+
// caption.textContent = filename;
76+
77+
posterDiv.appendChild(link);
78+
// posterDiv.appendChild(caption); // Removed caption text below thumbnail
79+
gallery.appendChild(posterDiv);
80+
});
81+
82+
yearBlock.appendChild(gallery); // Add gallery inside year block
83+
container.appendChild(yearBlock); // Append full block to container
84+
});
85+
}
86+
});
87+
88+
89+
});

0 commit comments

Comments
 (0)