Skip to content

FYI: anchors aren't in .html thus cannot be easily validated #343

@yarikoptic

Description

@yarikoptic

JS-powered https://w3c.github.io/json-ld-syntax is really nice, but we encountered difficulty with linkchecker to verify that URLs we use are still correct. The reason is that it seems that the anchors are populated and/or handled by JS, so anything which just downloads the page without running JS would fail to find those id's.

E.g. in our case it is https://w3c.github.io/json-ld-syntax/#named-graphs link, for which there is no "named-graphs" id in the actual source .html:

$> wget -q -O- 'https://w3c.github.io/json-ld-syntax/#named-graphs' | grep 'named-graphs' | grep -v 'href="#named-graphs"'
$> 

I am not sure if there is an easy workaround at any level, or may be some alternative link which would lead to an .html version with those anchors?

PS Please pardon my ignorance if it is something really simple ;)

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