Merge Title Prefix into Title Field

Bug #262265 reported by Edward Betts
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Open Library
Confirmed
Medium
Edward Betts

Bug Description

The title prefix for http://openlibrary.org/b/OL7146598M should be "The ", but the trailing space is stripped when the edition is edited.

Tags: marc
Revision history for this message
George (george-archive) wrote :

Anand - I would expect that this space could be put in the HTML itself and always stripped, not placed in the prefix field itself. If you agree, can you pls make sure there is a   at the template level if/when the prefix displays?

Changed in openlibrary:
assignee: nobody → Anand Chitipothu (anandology)
importance: Undecided → Low
Revision history for this message
Edward Betts (edwardbetts) wrote :

What about titles written in French that start with L' there is no space in the title prefix, and it is wrong to add one? I think we should have the whole title in the title field and use a title_prefix_len field to indicate the lenght of the title prefix. We don't need to make users enter a number, we can still have then enter the title and prefix in different boxes.

I built a prototype for how I think the edit interface should look for title and title prefix:

http://edwardbetts.com/ol/title_prefix.html

Here it is on dev:

http://dev.openlibrary.org/b/OL13567995M/adventures-of-Huckleberry-Finn.?m=edit&template_root=/user/edward

Revision history for this message
Edward Betts (edwardbetts) wrote :

The title prefix of "Al-Khia al-Tawfiqiyah al-jadidah" is "Al-" it doesn't include a trailing space.

See http://openlibrary.org/b/OL22877181M

Revision history for this message
George (george-archive) wrote :

Just making a note of this reference page that Karen found, about common international prefixes. Perhaps we'll be able to use it later: http://www.loc.gov/marc/bibliographic/bdapndxf.html

Changed in openlibrary:
status: New → Confirmed
Revision history for this message
George (george-archive) wrote :

So, let's not do it at the HTML level. We've decided to merge Title Prefix values back into the Title field.

Changed in openlibrary:
assignee: Anand Chitipothu (anandology) → Edward Betts (edwardbetts)
importance: Low → Medium
milestone: none → upstream
Revision history for this message
George (george-archive) wrote :

Be good to do a quick sweep of the codebase to find/destroy any references to displaying Title Prefix as part of this.

summary: - Trailing spaces are stripped from title prefix
+ Merge Title Prefix into Title Field
Revision history for this message
George (george-archive) wrote :

Edward - did you tell me yesterday that the Title Prefix merge is complete?

Close this?

tags: added: marc
Revision history for this message
Edward Betts (edwardbetts) wrote :

Waiting for a fix to the Open Library query API so I can search for books with a title_prefix.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.