Showing posts with label Bash. Show all posts
Showing posts with label Bash. Show all posts

April 21, 2021; Updated on

Bash Scripting to Update Blogger Posts for Local Changes through API

On this blog, I edit drafts in a local text editor, not in Blogger CMS, and more often update posts than post new ones. To simplify the updating process, I create a Bash script that automatically extracts specific elements from local HTML files and sends PATCH requests with them through the Blogger API 3.0.

April 14, 2021; Updated on

Bash Scripting to Obtain Access Token from Google Authorization Server

I am trying to simplify the process of updating posts on this blog. In this post, to update them using the Blogger API, I create a Bash script that supports the OAuth 2.0 authorization sequence used in Google APIs and obtains an access token from the Google Authorization Server.

December 14, 2020; Updated on

Bash Scripting to Submit Appropriate URLs through Bing Webmaster API

The Accessing Bing Webmaster Tools API using cURL post demonstrated how to submit URLs in batches to Bing. All you need to do is pass the appropriate URLs to this API. In this post, I will create a Bash script that automatically specifies the URLs of updated web pages by referring to the last modified dates in the sitemap.