अपने कॉन्टेंट का आईडी, यूआरएल, और नाम इकट्ठा करना
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
आपके कैटलॉग की सभी इकाइयों के लिए, ये प्रॉपर्टी ज़रूरी हैं:
@id
, url
, और name
का उदाहरण:
"@id": "http://www.example.com/episode/video/432432432",
"url": "http://www.example.com/episode/video/432432432",
"name": "My example episode",
पहचानकर्ता
आइडेंटिफ़ायर (@id
) को इन ज़रूरी शर्तों को पूरा करना होगा:
- आपके कैटलॉग में दुनिया भर में यूनीक हो
- उदाहरण के लिए,
TVSeries
और TVSeason
के लिए एक ही @id
का इस्तेमाल न करें.
- स्टैटिक
@id
को बाद में नहीं बदला जा सकता.
- यूनिफ़ाइड रिसॉर्स आइडेंटिफ़ायर (यूआरआई) के तौर पर
- अगर आपके कॉन्टेंट का स्थानीय आइडेंटिफ़ायर (आईडी) यूआरआई फ़ॉर्मैट में नहीं है, तो इस ज़रूरी शर्त को पूरा करने के लिए, आईडी के आगे अपना डोमेन जोड़ें. उदाहरण के लिए, अगर आपके कॉन्टेंट का आईडी 1234abc और आपका डोमेन https://example.com है, तो
@id
https://example.com/1234abc हो सकता है.
@id
के लिए, यह ज़रूरी नहीं है कि वह काम करने वाला यूआरएल हो. यह सिर्फ़ यूआरआई फ़ॉर्मैट में होना चाहिए.
@id
में इस्तेमाल किए गए डोमेन (उदाहरण के लिए, https://example.com) का मालिकाना हक आपके संगठन के पास होना चाहिए.
किसी इकाई का url
, आइडेंटिफ़ायर के तौर पर सभी ज़रूरी शर्तों को पूरा करता है. जैसे, दुनिया भर में यूनीक, स्टैटिक, और यूआरआई के तौर पर मौजूद होना. इसलिए, हमारा सुझाव है कि आप किसी इकाई के url
को @id
के तौर पर इस्तेमाल करें.
कैननिकल यूआरएल
कैननिकल यूआरएल (url
) की मदद से, Google आपके कैटलॉग के कॉन्टेंट को Google के डेटाबेस में मौजूद कॉन्टेंट से सटीक तरीके से मेल करता है.
"कैननिकल यूआरएल उस पेज का यूआरएल होता है जिसे Google आपकी साइट पर मौजूद डुप्लीकेट पेजों में से सबसे ज़रूरी मानता है. उदाहरण के लिए, अगर आपके पास एक ही पेज के कई यूआरएल हैं (जैसे: example.com?dress=1234 और example.com/dresses/1234), तो Google इनमें से किसी एक को कैननिकल यूआरएल के तौर पर चुन लेता है." (सोर्स: डुप्लीकेट यूआरएल को मिलाकर एक करना)
कैननिकल यूआरएल के लिए ये ज़रूरी शर्तें हैं:
url
, दुनिया भर में यूनीक होना चाहिए.
url
में एक ऐसा कैननिकल यूआरएल होना चाहिए जिसे Google क्रॉल कर सके.
- (सिर्फ़ सुनने की कार्रवाइयां)
url
को कॉन्टेंट की जानकारी वाले ऐसे पेज पर ले जाना चाहिए जिसे paywall ने ब्लॉक न किया हो.
आईडी, यूआरएल, और नाम इकट्ठा करना
तो निम्न कार्य करें:
- अपने कैटलॉग में मौजूद कॉन्टेंट के नाम इकट्ठा करें.
- कॉन्टेंट के कैननिकल यूआरएल की पहचान करें. हमारा सुझाव है कि आप कॉन्टेंट के
url
को @id
के तौर पर इस्तेमाल करें.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
[null,null,[],[[["\u003cp\u003eAll catalog entities must have an \u003ccode\u003e@id\u003c/code\u003e, \u003ccode\u003eurl\u003c/code\u003e, and \u003ccode\u003ename\u003c/code\u003e property for identification and discoverability.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003e@id\u003c/code\u003e should be a globally unique, static URI, preferably the same as the \u003ccode\u003eurl\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eurl\u003c/code\u003e must be a working canonical URL for Google to crawl and reconcile content effectively, pointing to a public content description page for Listen Actions.\u003c/p\u003e\n"],["\u003cp\u003eYou need to collect and provide the \u003ccode\u003ename\u003c/code\u003e, \u003ccode\u003eurl\u003c/code\u003e (recommended for \u003ccode\u003e@id\u003c/code\u003e), and canonical \u003ccode\u003eurl\u003c/code\u003e for each entity in your catalog.\u003c/p\u003e\n"]]],["Entities require `@id`, `url`, and `name` properties. `@id` must be a globally unique, static URI, which can be a prepended domain to a local ID. `url` must be a globally unique, working canonical URL, crawlable by Google. It's recommended to use the `url` as the `@id` because it satisfies the identifier requirements. The process involves collecting content names and identifying their canonical URLs.\n"],null,["# Collect the ID, URL, and name of your content\n\nAll the entities in your catalog require the following properties:\n\n- `@id`: A global [identifier](#identifier) for the content.\n- `url`: A [canonical URL](#canonical_url) for the content.\n- `name`: The name of the content.\n\nExample of `@id`, `url`, and `name`: \n\n \"@id\": \"http://www.example.com/episode/video/432432432\",\n \"url\": \"http://www.example.com/episode/video/432432432\",\n \"name\": \"My example episode\",\n\nIdentifier\n----------\n\nAn identifier (`@id`) must meet the following requirements:\n\n- Globally unique across your catalog\n - For instance, don't use the same `@id` for a `TVSeries` and a `TVSeason`.\n- Static\n - You cannot change `@id` later.\n- In the form of Unified Resource Identifier (URI)\n - If your content's local identifier (ID) is not in a URI format, prepend your domain to the ID to satisfy this requirement; for example, if your content's ID is *1234abc* and your domain is *https://example.com* , `@id` can be *https://example.com/1234abc.*\n - `@id` does not have to be a working URL; it only needs to be in a URI format.\n - The domain used in `@id` (for example, *https://example.com*) must be owned by your organization.\n\nBecause an entity's `url` meets all the requirements as an identifier (that is, globally unique, static, and in the form of a URI), we recommend you use an entity's `url` as `@id`.\n\nCanonical URL\n-------------\n\nA canonical URL (`url`) helps Google accurately reconcile the content in your catalog with the content in Google's databases.\n\n\"A canonical URL is the URL of the page that Google thinks is most representative from a set of duplicate pages on your site. For example, if you have URLs for the same page (for example: *example.com?dress=1234* and *example.com/dresses/1234* ), Google chooses one as canonical.\" (Source: [Consolidate duplicate URLs](https://support.google.com/webmasters/answer/139066))\n\nThe following are the requirements for the canonical URL:\n\n- `url` must be globally unique.\n- `url` must contain a working canonical URL that Google can crawl.\n- (Listen Actions only) `url` needs to point to a content description page that is not blocked by a paywall.\n\nCollect the ID, URL, and name\n-----------------------------\n\nDo the following:\n\n1. Gather the names of the content in your catalog.\n2. Identify the canonical URLs of the content. (We recommend you use the content's `url` as its `@id`.)"]]