process articles from DB to get links