The prison blog of a New Zealand political activist jailed for the rare crime of sedition has outraged opposition politicians but corrections officials say it's within the law.

After being jailed this month, Timothy Selwyn begun publishing the internet diary via an outside supporter and his latest entry gives an account of a jail-yard assault by prisoners on a fellow inmate.

He has also criticised the judge who sentenced him.