generate link to view the list of each category or tag with ruby script