jogoterbaire@ 發表於 14:17:18

How to ingest and test structured data

At this point the question comes naturally: how do I insert schema.org markup into my site? Where do I leave from?The starting point is definitely a schema.org markup generator like the one from TechnicalSEO or Google's structured data markup assistant , both free. Keeping in mind the web page to which we want to add structured data, we can create the markup in a very simple and guided way.There are mainly 3 formats in which schema.org markup can be added: microdata , RDFa and JSON-LD .The Microdata format consists of a series of span tags (to be added in the body of your web page) that contain the specified properties.Here is an example:the appearance of schema.org markup in the Microdata output format.


The appearance of schema.org markup in the Microdata Special Data output format.This format, acting on the entire web page, whose markup should be modified in many parts or overwritten entirely, is the least convenient and therefore least used .The RDFa format is conceptually similar to Microdata, as it is inserted within the HTML body itself through <span> or <div> tags. Here is an example in RDFa for the Neting address:the appearance of schema.org markup in RDFa format.The appearance of schema.org markup in the RDFa format.This is probably the least used format , certainly due to the fact that it is not covered by Google's schema.org structured data assistant.The third insertion method, and also the most widespread, is made up of JSON-LD , which is not inserted into the various HTML tags but must be placed in its entirety within the code of the web page, where all the structured data of the web page will be concentrated. aforementioned.Below is an example of the JSON-LD format:the appearance of schema.


http://www.asiadata.co.uk/wp-content/uploads/2024/03/Special-Data-3-300x150.png


markup in the JSON-LD output formatThe appearance of schema.org markup in the JSON-LD output formatAs can easily be imagined, the JSON-LD format is the one preferred by developers , as it is less wasteful in terms of time and energy. JSON-LD is also Google's favorite format, most likely because it contains all the information in a single point, meaning less crawling resources are needed for the Robot.Do you use WordPress ? Don't worry, as you will imagine there are several valid plugins that allow you to add Schema.org Markup for each post or article, quickly and easily. Try searching for them in the WP plugin directory !Have you inserted the Tag Manager on your site? Did you know that you can also use it to add Schema.org? Here is our article about it.Ok, you have created and added the schema.org markup to your site, now all you have to do is check that everything has been done correctly.To do this, the official Google tester comes to our aid , to which you just need to feed your URL to detect any errors and get suggestions for solving them.

頁: [1]
查看完整版本: How to ingest and test structured data

一粒米 | 中興米 | 論壇美工 | 設計 抗ddos | 天堂私服 | ddos | ddos | 防ddos | 防禦ddos | 防ddos主機 | 天堂美工 | 設計 防ddos主機 | 抗ddos主機 | 抗ddos | 抗ddos主機 | 抗攻擊論壇 | 天堂自動贊助 | 免費論壇 | 天堂私服 | 天堂123 | 台南清潔 | 天堂 | 天堂私服 | 免費論壇申請 | 抗ddos | 虛擬主機 | 實體主機 | vps | 網域註冊 | 抗攻擊遊戲主機 | ddos |