You are not logged in. Your edit will be placed in a queue until it is peer reviewed.
We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.
Required fields*
-
2Currently (July 2017), Google recommends unsing JSON-LD "wherever possible": developers.google.com/search/docs/guides/intro-structured-dataMichael Jaros– Michael Jaros2017-07-21 08:11:57 +00:00Commented Jul 21, 2017 at 8:11
-
Do I understand right, JSON-LD can only let you specify general info about whole page, but you can't express which exactly parts of the webpage correspond to which object in JSON-LD? Like, if you have a list of books, you can specify in JSON-LD that this page shows a list of books, but you won't be able to tell which of the books described in the JSON-LD correspond to which exactly element on the webpage? If so, Microdata/RDFa have one more important advantage: providing context to screenreaders used by blind people, but maybe I'm missing something in how JSON+LD works.Klesun– Klesun2023-06-15 04:55:51 +00:00Commented Jun 15, 2023 at 4:55
-
1@Klesun: Correct, with JSON-LD, there is no native way to connect the HTML elements with the JSON-LD statements. But even with Microdata and RDFa, the HTML is just the carrier. Microdata/RDFa parsers will just extract the statements, without any coupling to the HTML. I suppose it could be conceivable for user agents (like screen readers) to use Microdata/RDFa to get more context about the HTML, but AFAIK no one does that yet, and Microdata/RDFa were not designed for this to begin with.unor– unor2023-06-16 12:14:26 +00:00Commented Jun 16, 2023 at 12:14
-
in the case of JSON-LD, why not using anchors to connect HTML elements? Or is it too cumbersome?Ooker– Ooker2023-12-15 11:44:28 +00:00Commented Dec 15, 2023 at 11:44
-
@Ooker I had similar thoughts. You could adopt that convention. However, many people have not adopted the convention. A tool parsing the file would not know if such convention is followed. Sometimes it would be followed & sometimes not. I wonder what % of implementations fully or partially couple the DOM Element's id with the schema Element's id.Brian Takita– Brian Takita2024-03-09 16:09:57 +00:00Commented Mar 9, 2024 at 16:09
Add a comment
|
How to Edit
- Correct minor typos or mistakes
- Clarify meaning without changing it
- Add related resources or links
- Always respect the author’s intent
- Don’t use edits to reply to the author
How to Format
-
create code fences with backticks ` or tildes ~
```
like so
``` -
add language identifier to highlight code
```python
def function(foo):
print(foo)
``` - put returns between paragraphs
- for linebreak add 2 spaces at end
- _italic_ or **bold**
- indent code by 4 spaces
- backtick escapes
`like _so_` - quote by placing > at start of line
- to make links (use https whenever possible)
<https://example.com>[example](https://example.com)<a href="https://example.com">example</a>
How to Tag
A tag is a keyword or label that categorizes your question with other, similar questions. Choose one or more (up to 5) tags that will help answerers to find and interpret your question.
- complete the sentence: my question is about...
- use tags that describe things or concepts that are essential, not incidental to your question
- favor using existing popular tags
- read the descriptions that appear below the tag
If your question is primarily about a topic for which you can't find a tag:
- combine multiple words into single-words with hyphens (e.g. design-patterns), up to a maximum of 35 characters
- creating new tags is a privilege; if you can't yet create a tag you need, then post this question without it, then ask the community to create it for you