Short display is displaying long

Project:OpenWAAND - Women Artist Archives National Directory Platform
Component:Code
Category:task
Priority:normal
Assigned:chadmills
Status:active
Description

About a week ago, some long collection descriptions from the extensive Iowa collections started displaying long as in the URL cited here. I.E. A search on Keyword "Iowa" fills the screen with detail on individual collections instead of giving a short display for all 21 collections.

Comments

#1

There are some new records with \015 chars (DOS hard carriage returns) that are forcing newlines in the XML which throw off John's regular expression that
truncates notes at the first word boundary after 150 characters. I haven't seen any records like these yet on waand-dev. I think we may need to add something to getwaand-vis.php to filter these out.

#2

(In reply to comment #1)
> There are some new records with \015 chars (DOS hard carriage returns) that are
> forcing newlines in the XML which throw off John's regular expression that
> truncates notes at the first word boundary after 150 characters. I haven't seen
> any records like these yet on waand-dev. I think we may need to add something
> to getwaand-vis.php to filter these out.
>

Yes - I can relate to this technical problem for 2 reasons: 1. It began to appear when our avid archivist at Iowa Women's Collections added extensive "Collection Descriptions." And 2. Everyone who describes collections via multiple paragraphs (including me) is having difficulty with the fact that we have no provision for paragraph breaks in our editor. Chad already commented on rogue characters that I had accidentally generated (they look like square boxes) by hitting two hard returns to try to get a blank line between paragraphs. Should I write a "Phase 2" bugzilla note on formatting of these fields?

#3

Yes add its as a Phase 2. I deliberately removed special formatting and if it needs to be added we need to discuss all the options.

Back to top