Menu

#1336 Update copyright year and use HTML entity for copyright symbol

Approved
closed
5
2020-03-25
2020-03-25
No

A really minor change, but one that would actually make my life a lot easier when submitting new publications...

In isfdb.py (not sure if that's the original filename pre- the build process; I have multiple identical copies in biblio/, common/, /edit/ etc), change the definition of COPYRIGHT as follows:

Currently we have:

COPYRIGHT  = "Copyright (c) 1995-2019 Al von Ruff and the ISFDB team"

Which should be changed to:

COPYRIGHT  = "Copyright © 1995-2020 Al von Ruff and the ISFDB team"

The year increment is obvious and trivial.

Switching to an HTML entity for (c) will make my life easier, because I can never remember how to enter that symbol, so when I'm entering a new publication and the details from the book's copyright page, I invariably open up a new browser window, search for "copyright symbol unicode", and copypaste the result into the ISFDB textarea. It'd be easier if I could just scroll down to the bottom of the ISFDB form/edit page and copy it from there - plus it would look slightly nicer.

Given that the ENGINE definition on the preceding line uses HTML tags, I'm hoping that using the HTML entity instead of ASCII won't have any issues e.g. that copyright message being output to a text terminal.

(Sorry for making this change locally, testing it, and submitting a patch, but my local copy of the ISFDB source is a bit of a mess right now.)

Discussion

  • Ahasuerus

    Ahasuerus - 2020-03-25

    Ticket moved from /p/isfdb/bugs/749/

     
  • Ahasuerus

    Ahasuerus - 2020-03-25
    • summary: Update copyright year, and use HTML entity for copyright symbol --> Update copyright year and use HTML entity for copyright symbol
    • status: open --> closed
    • assigned_to: Ahasuerus
    • Group: v1.0 (example) --> Approved
     
  • Ahasuerus

    Ahasuerus - 2020-03-25

    Implemented in common/isfdb.py, installed in SVN 510. Closing the FR.

     
  • ErsatzCulture

    ErsatzCulture - 2020-03-25

    Thanks !

     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB