Giter Site home page Giter Site logo

Comments (8)

thomaszbz avatar thomaszbz commented on June 14, 2024

It seems there was an update of validator.w3c.org. However, the error still persists for

<link rel="schema.dcterms" href="http://purl.org/dc/terms/">

from typo3-metaseo.

mblaschke avatar mblaschke commented on June 14, 2024

Should we wait of this issue? schema.dcterms is valid for xhtml but currently not for html5.

from typo3-metaseo.

thomaszbz avatar thomaszbz commented on June 14, 2024

I'm undecided what the intention of W3C is here. Right now, I did not read about a statement saying that it's explicitly forbidden. Maybe it was just forgotten.

It could be possible that there will be another update for the validator. However, I can't see a contact-button besides the error in the validator. This could mean that it's final or a fix is already on the way. In case it's final, there seems to be an inconsistency to the meta extension document where the link is still required explicitly.

I guess it's not valid because it's not in the HTML5 link types definition. Therefore, it should be removed in HTML5. Right now, there's no error reported by the validator when the link is missing.

References:
http://www.w3.org/TR/html5/links.html#linkTypes
https://wiki.whatwg.org/wiki/MetaExtensions

from typo3-metaseo.

thomaszbz avatar thomaszbz commented on June 14, 2024

There is a W3C bug report:

https://www.w3.org/Bugs/Public/show_bug.cgi?format=multiple&id=22520

from typo3-metaseo.

thomaszbz avatar thomaszbz commented on June 14, 2024

For instance, PR #37 gives me a clean HTML5 validation (together with #13)

from typo3-metaseo.

thomaszbz avatar thomaszbz commented on June 14, 2024

PR #37 is merged already. Thus, this issue can be closed.

from typo3-metaseo.

thomaszbz avatar thomaszbz commented on June 14, 2024

The doctype has changed from html_5 to html5 since 4.5 (was right for 6.2, just to mention it somewhere):
https://forge.typo3.org/issues/27661

Plus, after some debugging,

$GLOBALS['TSFE']->config['config']['doctype']

returns null. There's something wrong in current develop 50ca181

from typo3-metaseo.

thomaszbz avatar thomaszbz commented on June 14, 2024

At least in 6.2, it should be

$GLOBALS['TSFE']->config['config']['config.']['doctype']

instead. PR #46 for that.

References: http://docs.typo3.org/typo3cms/TyposcriptReference/Setup/Config/Index.html#doctype

from typo3-metaseo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.