nystudio107 / craft-seomatic

SEOmatic facilitates modern SEO best practices & implementation for Craft CMS 3. It is a turnkey SEO system that is comprehensive, powerful, and flexible.
https://nystudio107.com/plugins/seomatic
Other
165 stars 70 forks source link

[FR] Google Indexing API #518

Open internetztube opened 4 years ago

internetztube commented 4 years ago

Are there any plans for adding support for the Google Search Indexing API?

https://developers.google.com/search/apis/indexing-api/v3/quickstart

khalwat commented 4 years ago

I've actually looked into it. The thing is, it's only relevant in the very, very specific cases mentioned:

Currently, the Indexing API can only be used to crawl pages with either JobPosting or BroadcastEvent embedded in a VideoObject. For websites with many short-lived pages like job postings or livestream videos, the Indexing API keeps content fresh in search results because it allows updates to be pushed individually.

Given that narrow scope, I wasn't sure how many people would actually be interested in it?

jamesmacwhite commented 4 years ago

@internetztube I recently implemented this in a Craft project. As it's quite limited to certain schema (most common is JobPosting), you could code a quick module that listens on the saving or enabling/disabling of entries within specific section(s) to achieve this, then fire the appropriate API call to add, update or remove from Google based on the entry.

Some examples of the events you'd need are here:

https://docs.craftcms.com/v3/extend/updating-plugins.html#events

khalwat commented 3 years ago

Going to keep this open because it's still potentially something I may implement.

karensg commented 1 year ago

Hands up for this feature 🙌