I know this article is in danish, but looking at the pictures you'll probably be able to figure out how to convert an eheim compact pump to inline:
http://www.overclocking.dk/litteratur.asp?id=3267
the yellow stuff in one of the last pictures (thats looks like its retouched in paint) is araldite (spelling?)