Using the way of weight functions and the technique of real analysis, a half-discrete Hilbert-type inequality with a general homogeneous kernel is obtained, and a best extension with two interval variables is given. The equivalent forms, the operator expressions, the reverses and some particular cases are considered.