Skip to content

Normalizer. What features needed out of box? #1

Closed

Description

@puzrin

Linkification process expect 2 additional steps:

  1. Links normalization
  2. Text normalization

Adding too many features tend to api clobbering. Instead i'd prefer to simplify modifications. Some things i know about (with unknown usefulness):

  • text
    • decode encoded texts
    • drop http:// (but don't drop for links with user/pass)
    • drop www
    • cut length (leave domain & tail, cut the middle & query)
  • url
    • usually, nothing needed, but it would be nice to correctly encode host + path + query

  1. It would be interesting to get feedback from big deployments, how do they care about links.
  2. Do we need to enchance normalization in this pkg, or move to plugins?

Gitter

Activity

  1. hemanth commented on Feb 16, 2015

    @hemanth

    Something like:

    Would be nice to have out of the box.

  2. puzrin commented on Mar 12, 2015

    @puzrin
    MemberAuthor

    Closed - no longer actual. Methods are rewriteable.

  3. hemanth commented on Mar 13, 2015

    @hemanth

    👍

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

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions