Identifying Blogger blog posts with size bloat
Quick Info
Details
This post follows up my previous post: Fixing Gemini chat to Blogger Compose post copy-paste causing 1.5 MB post size bloat due to unnecessary CSS.Gemini chat: Blogger Feed Request Issue
This part of the chat happened over a few days from end February to early March 2026, and was interspersed with work related to above mentioned blog post creation.
[In response to Gemini question: Are there any other posts you noticed in your feed that might still be carrying that Gemini/Dark Reader bloat?]
Me: I am sure there are other posts too but the content copy-pasted from Gemini was limited and so I did not encounter this issue. I did notice that my incremental blog backup size had become much more than usual (into few MBs instead of being less than an MB). I need to first identify which are the specific posts which are big in size. Blogger dashboard is not showing it to me. So I will have to figure it out some other way. any suggestions?
----- end chat segment -----
Above response led to a series of exchanges which culminated in creation of two Powershell scripts to help measure the payload size of individual Blogger posts and to automate the process of scanning multiple posts of a blog for size analysis. These scripts and associated data are shared in a public GitHub repo which also has a detailed Readme covering how I used these scripts to generate size data for all posts of this blog. The two Powershell scripts are:
- postsize.ps1 which reports post size. See Readme section for details.
- postsInListSize.ps1 which parses a local HTML file containing a list of Blogger post URLs (in a particular format) and invokes postsize.ps1 for each URL to generate a comprehensive report of sizes for all posts in the list. See Readme section for details.
The Readme section Scan Data Processing and Payload Analysis details the steps taken to transform the comprehensive report (raw scan output) of postsInListSize.ps1 for this blog into an Excel workbook with one sheet having sorted list of posts in descending order of post size.
Comments
Post a Comment