method for getting articles of a category