use a filter fn to filter items before fetching html