Skip to content

#14 Update clients.py to pass remote URL to DOAJ when it's available#15

Open
justingonder wants to merge 2 commits intoopenlibhums:masterfrom
justingonder:Remote-URL-fix
Open

#14 Update clients.py to pass remote URL to DOAJ when it's available#15
justingonder wants to merge 2 commits intoopenlibhums:masterfrom
justingonder:Remote-URL-fix

Conversation

@justingonder
Copy link

@justingonder justingonder commented May 22, 2025

In order to pass remote URLs to DOAJ when they are available, replaced reference to article.url with {% if article.is_remote and article.remote_url %}{{ article.remote_url }}{% else %}{{ article.url }}{% endif %} and since there seems to be no remote equivalent to article.pdf_url, replaced that reference with same.

Closes #14

In order to pass remote URLs to DOAJ when they are available, replaced reference to article.url with {% if article.is_remote and article.remote_url %}{{ article.remote_url }}{% else %}{{ article.url }}{% endif %} and since there seems to be no remote equivalent to article.pdf_url, replaced that reference with same.
@ajrbyers ajrbyers self-assigned this Jun 11, 2025
@ajrbyers ajrbyers requested a review from mauromsl November 19, 2025 09:26
@ajrbyers ajrbyers assigned mauromsl and unassigned ajrbyers Nov 19, 2025
@ajrbyers ajrbyers requested review from joemull and removed request for mauromsl February 12, 2026 10:31
@ajrbyers ajrbyers assigned joemull and unassigned mauromsl Feb 12, 2026
Copy link
Member

@joemull joemull left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @justingonder, this won't work as intended since this is a Python file, and it won't recognize the curly-bracket syntax like {%. So it just needs to be rewritten in Python.

@joemull joemull assigned justingonder and unassigned joemull Feb 18, 2026
@joemull
Copy link
Member

joemull commented Feb 18, 2026

I'll go ahead and add this to Triage so we can slot it into work to be done.

@ajrbyers
Copy link
Member

Im not sure how I missed that...

@justingonder justingonder marked this pull request as draft March 11, 2026 22:27
@justingonder justingonder marked this pull request as ready for review March 11, 2026 22:29
@justingonder
Copy link
Author

@joemull gave it a shot

@joemull joemull self-requested a review March 12, 2026 09:39
@joemull joemull assigned joemull and unassigned justingonder Mar 12, 2026
@joemull joemull assigned mauromsl and unassigned joemull Mar 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remote URL should be passed to DOAJ for Remote journals

4 participants