Rewrite publish post feature