Open internetztube opened 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
orBroadcastEvent
embedded in aVideoObject
. 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?
@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
Going to keep this open because it's still potentially something I may implement.
Hands up for this feature 🙌
Are there any plans for adding support for the Google Search Indexing API?
https://developers.google.com/search/apis/indexing-api/v3/quickstart