internetarchive / internetarchive/openlibrary
Enable links for non-Arabic numbered pages in the Table of Contents
- Dominant language
- Python
- Stars
- 6.7k
- Forks
- 2k
- Avg merge
- 2d 14h
- Merged PRs (30d)
- 126
Description
### Feature Request
### Problem / Opportunity
OpenLibrary offers a very helpful Table of Contents, that allows one to directly jump onto the relevant pages of an Archive.org item. It only works with Arabic numbered pages though, and some books use non-Arabic numbers for example for the front- or backmatter. The most common replacement for those cases are Roman numerals.
It is helpful if I can directly access pages in books with an elaborate front- or backmatter, which are the most likely to use Roman numerals for those pages.
When the Table of Content offers a link to sites that are numbered in non-Arabic numerals
### Proposal
There is a short amount of Roman numerals used for this regard, they should be treated as if their were an Arabic-numeral within the Table of Contents.
- Description of the [relevant Roman numerals](https://www.tuomas.salste.net/doc/roman/unicode.html)
- [OL7107765W](https://openlibrary.org/books/OL14291591M/Men_of_the_trees) Work with a clearly laid out Table of Content that uses Roman numerals which allows for easy testing
### Breakdown
### Related files
Refer to [this map of common Endpoints](https://github.com/internetarchive/openlibrary/wiki/Endpoints):
*
### Requirements Checklist
Checklist of requirements that need to be satisfied in order for this issue to be closed:
* [ ]
### Stakeholders
*
Librarians
### Instructions for Contributors
* **Before** [creating a new branch](https://github.com/internetarchive/openlibrary/wiki/Git-Cheat-Sheet#making-changes-and-creating-a-pull-request) or pushing up changes to a PR, please first [run these commands](https://github.com/internetarchive/openlibrary/wiki/Git-Cheat-Sheet#working-on-your-branch) to ensure your repository is up to date, as the pre-commit bot may add commits to your PRs upstream.
Contributor guide
Research direction
Start with the common Endpoints map and inspect the Table of Contents behavior for OL7107765W, whose front or back matter provides a concrete Roman-numeral example. No implementation files or tests are named; done means the Table of Contents provides working links for pages numbered with the specified non-Arabic numerals.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- web-dev
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100