Added:
/wiki/pp_tag_recommendations.wiki
=======================================
--- /dev/null
+++ /wiki/pp_tag_recommendations.wiki Wed Feb 9 05:17:03 2011
@@ -0,0 +1,33 @@
+#summary To load this tag include {% load tag_helpers %} at the top of the
html file.
+#sidebar TableOfContents
+
+= Custom Tag: `pp_tag_recommendations` =
+====_Module: pirate_core_====
+
+This template tag populates the namespace `pp_tag` with a list of
recommended tags for this Object. Recommendations are currently based on
Model, in the future they can be based on similarity metrics or
collaborative filtering.
+
+==_Arguments and Parameters_==
+
+ * object: the object that tags will be recommended for
+
+==_Return value_==
+
+ * `pp_tag.taglist`: Contains a tag cloud listing of tags that are being
recommended. This is also dynamically generated HTML, that contains links.
Each link, if clicked, will tag `object` with that Tag using the
javascript 'add_tag()' function.
+
+==_Usage Notes_==
+ * *Assumptions*: None
+
+ * *Errors*: None
+
+==_Examples_==
+====Basic form====
+The following code will display the reputation integer.
+{{{
+ <div id="ajax_link_tag_list">
+ {% pp_tag_recommendations object=request.object %}
+
+ {{pp_tag.taglist|safe}}
+
+ {% endpp_tag_recommendations %}
+ </div>
+}}}