gutenbergtools / autocat3

CherryPy App that serves dynamic content for Project Gutenberg
GNU General Public License v3.0
4 stars 6 forks source link

Relocating 520 field to top of page #130

Open gbnewby opened 3 weeks ago

gbnewby commented 3 weeks ago

As you've seen, we have automatically-generated summaries in the MARC 520 field, for nearly every title.

To make these easier for readers to find, I'd like to move those fields to the top of the landing page- under the title.

The idea would be to take the first N words (N=50 or so), with an "About this book:" label. Then, a "More..." link at the end to display the full summary.

We have a designer who has mocked up some bigger changes, which we could consider simultaneously. But moving the summary to the top of the page might be its own separate task.

The 520 fields are not currently used for anything else - just the summaries.

Let me know how this sounds, and I can provide a more detailed diagram to consider.

eshellman commented 2 weeks ago
  1. You don't want to truncate, you want to use a :hover pseudoclass in css and you probably want to suppress it on small screens.
  2. the template code is not hard, just annoying because of the way autocat3 works.
  3. There are (mid 2 digits) books with 2 520 entries.
  4. I can't work on autocat3 till December.
gbnewby commented 2 weeks ago

Let's queue that up for December then. I have some additional design parameters that will be available by then.

Thanks for the reminder of the duplicate 520. I left those as-is, and should put some effort into deduplicating.

On Fri, Oct 18, 2024 at 6:15 PM Eric Hellman @.***> wrote:

  1. You don't want to truncate, you want to use a :hover pseudoclass in css and you probably want to suppress it on small screens.
  2. the template code is not hard, just annoying because of the way autocat3 works.
  3. There are (mid 2 digits) books with 2 520 entries.
  4. I can't work on autocat3 till December.

— Reply to this email directly, view it on GitHub https://github.com/gutenbergtools/autocat3/issues/130#issuecomment-2423423749, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFQRDLR7LXILY426WTZMDULZ4GXC7AVCNFSM6AAAAABQGITVDGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMRTGQZDGNZUHE . You are receiving this because you authored the thread.Message ID: @.***>