Skip to content

Broken links and pages in elm-lang.org #450

@berndca

Description

@berndca

I did some testing in the context of converting elm-lang.org to static pages. All tests were done using a local installation of the server.

There is a Debug.crash statement in pages:

The following internal links (http://elm-lang.org/...) are broken, i.e. the target does not exist.:

  • /blog/escape-from-callback-hell
  • /blog/announce/Workshop-2013.elm
  • /examples/WebGL/Thwomp.elm
  • /learn/Modules.elm
  • /learn/Interactive-UI-Elements.elm
  • /learn/JavaScript-Integration.elm
  • /learn/Getting-started-with-Types.elm
  • /Tango-Palette.png
  • /edit/examples/Intermediate/Circles.elm
  • /edit/examples/Elements/ToForm.elm
  • /edit/examples/Elements/Sprite.elm
  • /edit/examples/Elements/Typeface.elm
  • /edit/examples/Intermediate/Slide.elm
  • /edit/examples/Intermediate/ColorWheel.elm
  • /Documentation.elm
  • /edit/examples/Elements/Position.elm
  • /edit/examples/Elements/Spacer.elm
  • /edit/examples/JavaScript/ZipCodes.elm
  • /Contribute.elm
  • /edit/examples/Reactive/Draw.elm
  • /edit/examples/Intermediate/Turtle.elm
  • /edit/examples/Reactive/Touch.elm
  • /edit/examples/Reactive/Taps.elm
  • /edit/examples/Reactive/Touches.elm
  • /edit/examples/Intermediate/Mario.elm
  • /edit/examples/Intermediate/Flickr.elm
  • /edit/examples/Intermediate/Pong.elm
  • /edit/examples/WebGL/Cube.elm
  • /edit/examples/Reactive/ZipCodes.elm
  • /edit/examples/Functional/Either.elm
  • /edit/examples/Elements/Texture.elm
  • /edit/examples/Elements/Markdown.elm

Some of these links can be migrated to /examples/existingEample others don't have any existing equivalent.

Here is a list of defunct external links:

Broken link detection for elm-lang.org required a slightly different approach than usual because the server pretty much always return status code 200. I had to extract the title and compare against the title of the 404 page to verify that these links were broken. I do have a linkchecker logfile for my static version of the site with additional information such as parent page of broken links and line numbers in the static versions of these pages. I'm not sure how helpful this would be since there is no direct relation to the elm code line numbers of the current version of the site. Please let me know if you need additional information.

I'm almost done converting everything to a Hykall database.

Bernd

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions