Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add functionality to ping BING #16

Open
lewismc opened this issue May 26, 2017 · 0 comments
Open

Add functionality to ping BING #16

lewismc opened this issue May 26, 2017 · 0 comments

Comments

@lewismc
Copy link
Member

lewismc commented May 26, 2017

We can easily ping BING when we generate new sitemap's... this is documented at https://www.bing.com/webmaster/help/how-to-submit-sitemaps-82a15bd4 and I've copied the sentiment below for convenience. We should add similar functionality to how ping'ing works for Google.

Pinging Bing Using a HTTP request

If you have an automated system that generates your sitemap, you may find it easier to inform Bing about your sitemap by sending a HTTP request. Using your favorite method to send the request, use the following URL, replacing the example with your sitemap location and URL encoding everything behind the sitemap parameter:

http://www.bing.com/ping?sitemap=http%3A%2F%2Fwww.example.com/sitemap.xml

The server will respond with HTTP Status 200 (OK) if the submission was successful. Unlike the submission options inside Webmaster Tools you will not get any information about the validity about the actual sitemap itself.

noteNote
If you’d like more programmatic flexibility consider using the Bing Webmaster API and its methods to submit and get details about sitemaps. 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant