acl-org / acl-org/acl-anthology

Embed videos on paper page

Ouverte
#1,003 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
good first project help wanted videos
Langage dominant
Python
Étoiles
797
Forks
408
Merge moyen
3 j 19 h
PR mergées (30 j)
36

Description

It would be nice to embed videos on the paper pages. This shouldn't be hard to implement. It would require:

1. Modifying the paper page template, `hugo/layouts/papers/single.html`, to embed the video
2. Maybe writing a custom field in the generated YAML that is used by Hugo to build the Anthology. This would be done by creating a field, say `video_embed_link`, in the `from_xml()` function in `bin/anthology/papers.py`. (This file is used to load papers from the XML file, and all of its `attrib` attributes are dumped to the YAML).

We link to videos on Vimeo and Slideslives, which likely have different embedding code blocks, which is the reason for point 2 above.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

Start with hugo/layouts/papers/single.html and bin/anthology/papers.py, especially from_xml(), which the issue says feeds attributes into generated YAML. Check how paper metadata is currently exposed to Hugo and how video links for Vimeo and Slideslives are represented. Done means paper pages can render an embedded video when the new metadata field is present.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
hugo, python
Domaine
content, frontend
Type d'issue
Fonctionnalité
Difficulté
3/5
Temps estimé
1-2 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
35/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.