RichsnippetsDataObjectAttribute

AI Overview😉

  • The potential purpose of this module is to extract and process structured data from web pages, such as microformats and RDFa, to enhance search results with "rich snippets" that provide additional information to users. This module appears to be responsible for handling attributes of data objects, including their values, names, and nested structures.
  • This module could impact search results by allowing Google to better understand the context and meaning of data on a web page, leading to more informative and accurate search results. Rich snippets can also increase the visibility and click-through rate of a website in search engine results pages (SERPs). Additionally, this module may influence the ranking of websites that provide high-quality, structured data.
  • A website may change things to be more favorable for this function by implementing structured data markup, such as schema.org, on their web pages. This includes using microformats and RDFa to provide explicit information about entities, events, and reviews on their website. Additionally, ensuring that the structured data is accurate, up-to-date, and follows Google's guidelines for rich snippets can increase the likelihood of being displayed in search results.

Interesting Module? Vote 👇

Voting helps other researchers find interesting modules.

Current Votes: 0

GoogleApi.ContentWarehouse.V1.Model.RichsnippetsDataObjectAttribute (google_api_content_warehouse v0.4.0)

Other attributes of the object.

Attributes

  • cdata (type: String.t, default: nil) -
  • idata (type: String.t, default: nil) - idata holds integer data under the attribute name, and could be interpreted differently according to the attribute name. Example: stores the ImadeData.docid used to generate thumbnails. idata will not be automatically converted into xml (the default behavior), but the behavior can be overwritten if necessary.
  • name (type: String.t, default: nil) -
  • subobject (type: GoogleApi.ContentWarehouse.V1.Model.Proto2BridgeMessageSet.t, default: nil) - A data object can have other data objects nested inside it. This is needed to represent Microformats and RDFa which have nestings e.g., a review with a business with an address, or a review with a rating object. See the Webmaster Central 2009/05 blog on "Introducing Rich Snippets".
  • tokenize (type: boolean(), default: nil) - Whether we should tokenize the value and cdata when generating restricts from this attribute.
  • value (type: String.t, default: nil) - Either of cdata or value should be present.

Summary

Types

t()

Functions

decode(value, options)

Unwrap a decoded JSON object into its complex fields.

Types

Link to this type

t()

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.RichsnippetsDataObjectAttribute{
  cdata: String.t() | nil,
  idata: String.t() | nil,
  name: String.t() | nil,
  subobject:
    GoogleApi.ContentWarehouse.V1.Model.Proto2BridgeMessageSet.t() | nil,
  tokenize: boolean() | nil,
  value: String.t() | nil
}

Functions

Link to this function

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.