This phrase is currently synonymous with "bullshit."

This term was first used to describe farmers' kitchen refuse that would be fed to the pigs. The pigs, in turn, would be fed to the farmers. So continues the great circle of life.