Editor sentenced to six-month jail term