Trying to check HTML5 on Joomla 2.5 site, but I have some meta problems

I'm currently trying to clean up the Joomla 2.5 site to check for HTML5, but I have a problem.

The HTML5 validator reports the following errors:

"Bad og value: name for attribute name in item meta meta: Keyword og: title not registered."

"Bad og value: enter the attribute name in the element meta: Keyword og: type not registered"

"Bad og: url value for attribute name in element meta meta: Keyword og: url not registered"

"Bad value og: site_name for attribute name in element meta meta: Keyword og: site_name not registered

I found that the meta name attribute "og: xxxx" is only generated on pages associated with the article menu item. Unfortunately, the first page is associated with this menu item, and I do not know if the "og:" part was.

I tried to solve the Google problem, and the only thing I can think of is that it works with Open Graph.

I hope someone can help me fix this problem.

0
source share
1 answer

og:title , og:type , og:url and og:site_name are values ​​from the Open Graph protocol .

If they are not hardcoded in your theme, they probably come from the plugin (find the plugins "Facebook", "Share" or "SEO").

However: the use of these name values is not invalid ! They are registered with MetaExtensions in the WHATWG wiki , which makes them valid according to the HTML5 specification . The validator is probably not being updated.

+2
source

Source: https://habr.com/ru/post/948002/


All Articles