A former animal shelter worker has been sentenced to community service for attempting to sell human remains that were coughed up by dogs.