I have been harassed by Bing Webmaster Tools for a while now that I should use the IndexNow service/method.
So I have built this little package which does it.
It basically has two ways of doing things:
Upon Installation, it will create a Task that will publish all existing pages to IndexNow, if they are part of the search index. This can also be run through CLI. I have tested it with a few dozen pages which works fine. If there’s a huge website with thousands of pages, I don’t know when there would be a limit, how the task handler can do it. I am happy to get feedback and pull requests to improve that scenario.
If a new page is published from now on. it will automatically be pushed to IndexNow, if a API key is set.
PS: IndexNow does not publish a status or index of the indexed pages. Only the response at the time of submission can show if anything failed.
Just one very minor point in your README you state :
Manual Task
To submit all public pages manually, run the task from:
Dashboard → Automated Jobs → IndexNow Submit
it should be
Dashboard > System & Settings> Automation> Tasks > IndexNow: Bulk Submit All URLs
To better support larger websites, you might consider processing the bulk submission task in batches, perhaps by using pagination, in order to limit server load and stay within the
IndexNow API’s submission limits.
I’m unsure about the IndexNow API’s latency. To prevent publishers from waiting during publication, we could queue the submission to be handled asynchronously. This isn’t an immediate concern, but it’s a good solution if we notice publishing slowdowns.