IndexingEmbeddedContentEmbeddedContentInfo

AI Overview😉

  • The potential purpose of this module is to extract and process embedded content from web pages, such as images, CSS files, JavaScripts, and iframes, in order to better understand the structure and content of the page. This module seems to be responsible for rendering the page, extracting the embedded content, and storing the rendered page and its metadata.
  • This module could impact search results by allowing Google to better understand the content and structure of web pages, which could lead to more accurate and relevant search results. For example, if a page has a lot of high-quality images, the module could extract and analyze those images to improve the page's ranking for image-related searches. Additionally, the module could help Google to identify and penalize pages with low-quality or irrelevant content.
  • To be more favorable for this function, a website could ensure that its embedded content is properly formatted and easily accessible, such as by using descriptive alt tags for images and providing clear and concise metadata for CSS and JavaScript files. Additionally, a website could focus on creating high-quality, relevant, and engaging content that is easily crawlable and indexable by Google. This could include using semantic HTML, optimizing images, and providing a clear and concise page structure.

Interesting Module? Vote 👇

Voting helps other researchers find interesting modules.

Current Votes: 1

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

This protobuf is used (1) To pass data between EmbeddedExporter and the publisher, and (2) As a member of CompositeDoc, to stick embedded content output into the docjoins. Next tag available: 21

Attributes

  • compressedDocumentTrees (type: String.t, default: nil) - The document's DOM and render tree produced by WebKit as a side effect of rendering the page. It might be compressed or not. Thus, use indexing::embedded_content::UncompressWebkitDocument to decode it.
  • convertedContents (type: String.t, default: nil) - The converted contents, as produced by the same DocumentUpdater transaction that generated the render tree. Useful whenever one of our users wants to experiment with deriving an annotation from the render tree.
  • embeddedLinksInfo (type: GoogleApi.ContentWarehouse.V1.Model.IndexingEmbeddedContentEmbeddedLinksInfo.t, default: nil) - Information about all external resources needed to render this page, a.k.a. embedded links. This includes .css files, images embedded in a page, external javascripts, iframes etc.
  • headlessResponse (type: GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoRenderResponse.t, default: nil) - The headless response for rendering the document.
  • isAlternateSnapshot (type: boolean(), default: nil) - Indicate if the snapshot is generated from alternate snapshot. If true, the snapshot will be exported even if the snapshot quality score is low.
  • originalEncoding (type: integer(), default: nil) - The original encoding of the content crawled from trawler. It's the value of enum i18n::encodings::encoding. We put a int32 here instead of encoding proto to maintain the compatibility of "py_api_version = 1"
  • rawRedirectInfo (type: GoogleApi.ContentWarehouse.V1.Model.IndexingConverterRawRedirectInfo.t, default: nil) - DEPRECATED This field is only populated in fresh_doc which is shutting down.
  • referencedResource (type: list(GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoReferencedResource.t), default: nil) - Information about all external resources used to render this page, a.k.a. embedded links. This includes .css files, images embedded in a page, external javascripts, iframes etc.
  • renderedSnapshot (type: GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoImage.t, default: nil) - Only exist in dry run mode.
  • renderedSnapshotImage (type: String.t, default: nil) - Snapshot image of a rendered html document (possibly encoded as png, jpeg, or webp).
  • renderedSnapshotMetadata (type: GoogleApi.ContentWarehouse.V1.Model.SnapshotSnapshotMetadata.t, default: nil) - A collection of values which are needed by the users of the Kodachrome bigtable.
  • renderedSnapshotQualityScore (type: float(), default: nil) - The quality of the image, 0.0 is the worst, 1.0 is the best. If all dependencies are successfully crawled, the quality should be 1.0. If one or more of the dependencies are unknown, the quality will be lower.
  • renderingOutputMetadata (type: GoogleApi.ContentWarehouse.V1.Model.IndexingEmbeddedContentRenderingOutputMetadata.t, default: nil) -
  • richcontentData (type: GoogleApi.ContentWarehouse.V1.Model.IndexingConverterRichContentData.t, default: nil) - The rich content data to recover the original contents from the converted_contents. Useful for offline content analysis.

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.IndexingEmbeddedContentEmbeddedContentInfo{
    compressedDocumentTrees: String.t() | nil,
    convertedContents: String.t() | nil,
    embeddedLinksInfo:
      GoogleApi.ContentWarehouse.V1.Model.IndexingEmbeddedContentEmbeddedLinksInfo.t()
      | nil,
    headlessResponse:
      GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoRenderResponse.t()
      | nil,
    isAlternateSnapshot: boolean() | nil,
    originalEncoding: integer() | nil,
    rawRedirectInfo:
      GoogleApi.ContentWarehouse.V1.Model.IndexingConverterRawRedirectInfo.t()
      | nil,
    referencedResource:
      [
        GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoReferencedResource.t()
      ]
      | nil,
    renderedSnapshot:
      GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoImage.t()
      | nil,
    renderedSnapshotImage: String.t() | nil,
    renderedSnapshotMetadata:
      GoogleApi.ContentWarehouse.V1.Model.SnapshotSnapshotMetadata.t() | nil,
    renderedSnapshotQualityScore: float() | nil,
    renderingOutputMetadata:
      GoogleApi.ContentWarehouse.V1.Model.IndexingEmbeddedContentRenderingOutputMetadata.t()
      | nil,
    richcontentData:
      GoogleApi.ContentWarehouse.V1.Model.IndexingConverterRichContentData.t()
      | nil
  }

Functions

Link to this function

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.