tommy351/hexo-plugins — pull request #1 by jjgod (2013-01-02 18:39:15+00:00)
Title: Use post_id as file name instead when neither title and post_name are available

Hit this problem when migrating from my wordpress archive. I happened to have an untitled draft post with both title and wp:post_name are empty.

Existing migrator will throw the following error:

node_modules/hexo-migrator-wordpress/index.js:50
postLink = postTitle.toLowerCase().split(' ').join('-');
^
TypeError: Object #