Skip to content

Support subsections that lack Identifiers #574

Closed

Description

@krusynth

I may have already opened this before, but I keep coming across it more and more often. There are lots of legal codes that have a preamble, or other notes that are not purely attached to structures, just random pages glued in with everything else. See Miami-Dade Part II or the SF Charter for examples.

In these cases, I'm inclined to:

  • add a flag for the section_number to mark it as not-an-identifier in the database
  • use this flag to determine if we should show the identifier as the heading of the row in the frontend display
  • make this field much bigger to allow more content than just a number
  • use that to generate the shortlink per the usual, after slugification

Activity

  1. added this to the 1.0 milestone on Mar 10, 2015
  2. waldoj commented on Mar 10, 2015

    @waldoj
    Member

    That's fascinating. I had no idea that was a thing. Do you have any sense as to how much content should be allowed? Is it elastic enough that we should go up to 255 characters, or perhaps even longer?

  3. krusynth commented on Mar 10, 2015

    @krusynth
    MemberAuthor

    I honestly haven't done enough research to be sure. I would be on board for 255, and if anyone has anything longer than that they'll just have to create a custom case in their parser to do anything smarter than just simple truncation.

  4. krusynth commented on Mar 10, 2015

    @krusynth
    MemberAuthor

    (Updated the AMLegal link because it doesn't work to copy and paste their URLs. Obvious comment redacted.)

  5. krusynth commented on Mar 10, 2015

    @krusynth
    MemberAuthor

    Wordpress slugs are limited to 200 chars.

  6. waldoj commented on Mar 10, 2015

    @waldoj
    Member

    Huh. That's a weird length. I'm surprised they didn't just go for 255. I'm sure there's some reason.

  7. changed the title [-]Sections without real Identifiers[/-] [+]Support subsections that lack Identifiers[/+] on May 2, 2015
  8. added a commit that references this issue on Mar 19, 2017
    47f100b
  9. krusynth commented on Mar 19, 2017

    @krusynth
    MemberAuthor

    screen shot 2017-03-19 at 1 17 16 pm

  10. waldoj commented on Mar 19, 2017

    @waldoj
    Member

    Makes sense to me!

  11. added a commit that references this issue on Mar 20, 2017
    9707926
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions