Implement the "publishChapter" method