The beginning of this post explains how you can build an index.json with all your posts. Leave everything out except url and title in line 5 of the JSON part. Ignore the search part after that Then you will have to search for some Javascript that loads this file and gets 5 random pieces. That is nothing I have available right now