a reference implementation of reading data from web directly