cuny-academic-commons / dirt-directory-client

WordPress client for the DiRT Tools Directory
Other
1 stars 0 forks source link

Display tool tag data #2

Closed boonebgorges closed 9 years ago

boonebgorges commented 10 years ago

DiRT tools have tags attached - see http://dirtdirectory.org/resources/proprofs-knowledgebase-software for an example. It'd be nice to show and use these in some ways. Initial thoughts:

  1. When searching the DiRT directory ("Explore"), display tags on found tools. These would be parsed out of the DiRT API response
  2. When displaying tools that are used by users/groups, display tags for each tool. In the case of these tools, we'd probably want to store them locally for performance reasons. Probably makes sense to mirror relevant DiRT tags locally (as a post type so we can store the association with term ID on the Drupal end)
  3. In both case, tags would be displayed as links. Clicking a link would lead you to a relevant WP page that queries DiRT for tools matching that tag. Likely: if you're searching from a member's DiRT tab, links would go to that same tab, with the Explore section filtered by the tab; likewise for groups. (Important to stay on the WP site here rather than returning to DiRT, because we want to provide the ability to star items.)
  4. Implement a counterpart to the "Search" interface that would allow for browsing by tags. Something like:

    EXPLORE
    Search [ enter search terms ]
     or
    Browse by tag [ show 10 most popular tags, or 10 random tags, with a link to display all tags ]

    For performance reasons, it probably makes sense to store all DiRT tags locally. It's unlikely that these will change often, so we can cache them for a day at a time or more.