Skip to content

Fix: correctly source expandedTitle (the full title of the journal) in ACM Digital Library.#3591

Closed
Bluesbreaker45 wants to merge 1 commit intozotero:masterfrom
Bluesbreaker45:master
Closed

Fix: correctly source expandedTitle (the full title of the journal) in ACM Digital Library.#3591
Bluesbreaker45 wants to merge 1 commit intozotero:masterfrom
Bluesbreaker45:master

Conversation

@Bluesbreaker45
Copy link
Copy Markdown

Problem

When saving a paper from ACM Digital Library, the snippet to get the full title of the journal wrongly grabs span.epub-section__title, which points to the artifact of the paper:

<span class="epub-section__title">{The title of the paper} (Artifact)</span>

which results in wrong journal field {The title of the paper} (Artifact).

To reproduce the problem, one can try to save the paper in this link.

Fix

The bug is caused by the wrong specification of the class. The correct class is span.serial-title:

<span class="serial-title">Proceedings of the ACM on Programming Languages</span>

The correct class of the full title of the journal is `span.serial-title`.
@Bluesbreaker45 Bluesbreaker45 changed the title Fix: correctly source expandedTitle (the full title of the journal). Fix: correctly source expandedTitle (the full title of the journal) in ACM Digital Library. Mar 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant