Comments (5)
Just to add here, since it's an interesting feature request...
The itemprop
attribute is part of the WHATWG Microdata specification draft for semantic web: https://html.spec.whatwg.org/multipage/microdata.html and https://www.w3.org/TR/microdata/ 👍
So it should be called Microdata and its API could use something like Microdata::addProperty('name', 'Hello world!')
to render a <meta itemprop="name" content="Hello world!">
meta tag. 😀
BTW it's the recommended snippet for Google+ platform, as documented here – it's allowed to use just <meta>
tags, as exemplified here.
Hope I've added something useful. :)
from seotools.
BTW this could be merged with #71, both proposals are looking for Microdata implementation. 👍
from seotools.
Any updates on this feature?
from seotools.
Microdata markup is nearly outdated nowadays.
Today 'JSON Linked Data' is recommended to be used instead.
Even examples at https://schema.org contains 'json-ld' snippets as an alternative to 'itemprop' usage.
JsonLd
support is already provided by this extension.
Using microdata markup usually relates to internal HTML (e.g. contained in 'body' tag not 'head'), which is better to be control as any other markup.
I consider this issue can be closed.
from seotools.
Closed by #176
from seotools.
Related Issues (20)
- Setup new Github workflow /tests
- Bug - `SeoTools::setTitle` not setting `JsonLdMulti` title
- application/ld+json data add auto 0: when i add multiple context HOT 5
- Escape HTML special chars in render like 'Test "quote" > test' HOT 2
- Support for PHP 8.1
- Laravel 10 released HOT 1
- Laravel dependency - Error facade HOT 1
- Documentation - OpenGraph - setProduct missing
- OpenGraph - Missing Product attributes
- I have installed artesaos via composer and published after trying to use it doesnt work, please help me HOT 1
- beforeTitle doen't work HOT 1
- Question: SEO Title Different HOT 1
- Support PHPUnit 10
- Livewire
- Non-static method Artesaos\SEOTools\SEOMeta::setTitle() cannot be called statically HOT 1
- missing attribute for setProduct
- - Root composer.json requires artesaos/seotools ^v0.23.0 -> satisfiable by artesaos/seotools[v0.23.0]. HOT 1
- do this package can cache result HOT 2
- Add support for returning the generated seo as an array of strings. Integration with Inertia.js HOT 2
- [Request] Proposal for Google Trends Integration in Laravel SEO Tools
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from seotools.