Document Type Classification in Online Digital Libraries