Page MenuHomePhabricator

Add max character limit while creating identifier in Internet Archive and remove some special characters
Closed, ResolvedPublic

Description

IMPORTANT: Make sure to read the Outreachy participant instructions and communication guidelines thoroughly before commenting on this task. This space is for project-specific questions, so avoid asking questions about getting started, setting up Gerrit, etc. When in doubt, ask your question on Zulip first!

Currently, we are parsing the title of the book, removing special characters, trimming it and sending it to Internet Archive as an identifier (https://archive.org/details/<identifier>) but there are cases when the book name is too long, in which case, the book is not uploaded to Internet Archive. For instance, check Job ID 35 in Google Books Queue here.

We need to have a maximum character limit of 50 characters and the identifier must be alphanumeric.

If either of the validation fails, the user must be asked to provide the identifier. This component is already built in case the user enters the duplicate identifier, we need to reuse it.