palaniraja / blog2md

Convert Blogger & Wordpress backup blog posts to hugo compatible markdown documents
162 stars 43 forks source link

Post without title #35

Open fornaeffe opened 2 years ago

fornaeffe commented 2 years ago

Blogger allows posts without title, but if I run node index.js b ... against a backup of a blog with some posts without title, I get an error from sanitize function: "Input must be a string".

I resolved by manually adding a title to the only two posts without a title in .xml file, but I think it would be better manage this case in the script.

However, thank you very much for this script, it saved me lot of time!