[pmwiki-users] Rating cookbooks: a concrete suggestion

Eemeli Aro eemeli at gmail.com
Wed Feb 18 15:15:06 CST 2009


Last month there was a rather active discussion on the list regarding
rating cookbook recipes on pmwiki.org, but it kind of died down
without any resolution.

So, to re-start this topic I propose the following two changes to the
pmwiki.org cookbook section. These draw on mainly three preceding
messages for inspiration:
<http://pmichaud.com/pipermail/pmwiki-users/2009-January/053603.html>,
<http://pmichaud.com/pipermail/pmwiki-users/2009-January/053621.html>
and <http://pmichaud.com/pipermail/pmwiki-users/2009-January/053622.html>.


1. Add a new 'Users:' title as the last in the recipeinfo box on
Cookbook.Template. This can then be added to other recipes
organically, and should become a comma-delimited list of users of the
recipe. A link to a profile page is probably most appropriate, but
really anything goes.

2. Replace the 'Rating' column in Cookbook.RecipeList#recipelist with
'Users' and the corresponding '{=$Rating}' with '{(csvcount
"{=$:Users}")}'. This will also require the following markup
expression code to be added to the site:
  $MarkupExpr['csvcount'] = 'strlen($args[0]) ?
1+substr_count($args[0],',') : ""';


Together, these changes will allow the easiest and least intrusive way
for people to indicate their usage of a cookbook recipe, as well as
the presentation of that information. For more in-depth opinions on a
recipe, the Comments section remains the best forum to indicate one's
opinion.

Opinions?

eemeli



More information about the pmwiki-users mailing list