Make Blogger Posts Book(s) by (Feed) Index Range or Index List; List Posts By Index - GAS programs - Test versions

Last updated on 9 Sep. 2023 

9 Sep. 2023 Update: I rarely use the software covered in this post now. To see the current software for creating Blogger blogbooks that I use, please visit: Short User Guide to creating Blogger Blogbooks from Backup/Export File using ExportFileFilterAndGenBook and another VBA projects' macros/code (free and open source), https://ravisiyermisc.blogspot.com/2023/09/short-user-guide-to-creating-blogger.html .

end-Update 9 Sep. 2023

I decided to put up and publish this post now on 19 Jul 2023 while this work is in progress, as I wanted to ensure that whatever work I have done till now is available for interested readers. 

I wanted to have the facility to make blog post books of my blogs based on range of indexes, with index being the index number of the post in the blog feed. This would give better control over the way the books are partitioned rather than a number like 100 posts or 150 posts. But for that we also need to be able to easily generate the list of indexes for posts in a blog feed.

That led to these two Google Apps Script (GAS) projects which are currently test versions but which are producing what seems to be correct output for the test cases.

  • ListPostsByIndex
  • makePostsBookByIndexRange

Then I wanted to have facility to choose a set of non-contiguous posts which, say, could satisfy a search criteria for the post title, and make a posts book out of that. For example, I could provide the word meditation as the search criteria and get a posts book having all posts from my blog (or any other blog, for that matter) which have meditation in the title of the post.

That led to usage of one simple Windows command which searched through the list of posts by index created by ListPostsByIndex GAS program (for a particular blog) and another GAS project:

  • FindStr Windows command which is like UNIX grep and output lines from an input file matching a search criteria
  • makePostsBookByIndexList GAS project

Examples of the output files created by the above are given below:

Shared folder and other info. for above projects and command

Comments

Archive

Show more