internetarchive / internetarchive/iare

links: as a patron I want the frontend to try to fix URL typing errors before checking the URLs so I get more reliable output

Open
#69 0 comments 0 reactions 0 assignees View on GitHub
enhancement url fixing
Dominant language
JavaScript
Stars
5
Forks
5
PR merge metrics
No merged PRs in 30d

Description

# def __fix_doi_typing_errors__(self, string):
# """This fixes common typing errors that we found"""
# # From https://s3.documentcloud.org/documents/23782225/mwg-fdr-document-04-16-23-1.pdf page 298
# if "https://doi.org:" in string:
# self.urls_fixed.append("https://doi.org:")
# string = string.replace("https://doi.org:", "https://doi.org/")
# # From https://s3.documentcloud.org/documents/23782225/mwg-fdr-document-04-16-23-1.pdf page 298
# if "https://doi.or/" in string:
# self.urls_fixed.append("https://doi.or/")
# string = string.replace("https://doi.or/", "https://doi.org/")
# return string

Contributor guide

No contributing guide indexed for this repository

Research direction

No file, test, or entry point is named. Start by locating the frontend URL-checking path and compare it with the commented DOI correction examples in the issue. Done means common DOI typing errors are corrected before URL checks and the resulting output is more reliable.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.