Pinging google sitemap after every new article submission

As you may know, by using the following url, you can 'ping' google to update its record of your sitemap: Ping Link I made a scr...