Summary and post generation algo