Facet map would be a macro that would render a pseudo-hierarquical view of the wiki facets. Through them it creates a pseudo-hierarquical access of the wiki contents.This request comes from FacetedClassificationInMoin, MetaDataInMoin and FacetBrowsingTheme.



Instead of a Theme, creating a macro would allow inclusion in any place that could be relevant (sections, sidebars, a "site map" page, etc.). In order to work like this, the macro should render facets in a way that are presentation neutral.This proposal suggests a list of ul (facets-names) including each li another ul (facet-values). A possible html rendering (usingFacetBrowsingTheme examples) would be:

<ul id="facetmap">
 <li class="facetname">About (6)
  <ul class="facetvalue">
   <li>Development ()</li>
   <li>Market (24)</li>
   <li>Translation (17)</li>
   <li>Administration (5)</li>
   <li>Planning (12)</li>
   <li>Help (31)</li>
  </ul>
 </li>
 <li class="facetname">Kind (5)
  <ul class="facetvalue">
   <li>Tutorial (7)</li>
   <li>Reference (20)</li>
   <li>Article (3)</li>
   <li>Discussion (9)</li>
   <li>Roadmap (1)</li>
  </ul>
 </li>
 <li class="facetname">State (4)
  <ul class="facetvalue">
   <li>New (7)</li>
   <li>Flux (31)</li>
   <li>Stable (12)</li>
   <li>Inmutable (5)</li>
  </ul>
 </li>
 <li class="facetname">Uncategorized (18)
 </li>
 </ul>

This output is easy to layout with CSS as a vertical or horizontal bar, and can also be collapsed/expanded with JS and CSS as noted in FacetBrowsingTheme. Please note a couple of differences from FacetBrowsingTheme.

Any interested party should see FacetsEngine for a implementation discussion. And vote for this request! :)

Discussion

How do you use the list of facets? Possible uses:

I don't see how a standalone macro can be used - it must be part of some application, e.g facet browser. Each application may have a different output.Also, the idea of a macro is that in the future it can accept other modifiers like show only one facet, or limit the depth, etc. . Yes, that is exactly why I suggested this simple output. Because it can be ajusted to be used in the 2 most desired scenarios (as a facet map page,AKA "site map", and integrated in a faceted theme) and because in the future it can be controlled in a more fine grained way. Nir, I am not suggesting something different or negating your ideas. On the contrary, I am suggesting something that (if it works as supposed to be) integrates all our ideas in one simple way. :) -- EduardoMercovich 2005-06-08 20:21:53


CategoryFeatureRequest

MoinMoin: FeatureRequests/FacetMapMacro (last edited 2009-09-05 14:41:24 by ReimarBauer)