[Config]
Name = Comments
Summary = Extracts information about feed item comments.

[Description]
This metadata module supports the two feed extensions (the Well-Formed Web
<a href="http://wellformedweb.org/CommentAPI/" target="_blank">Comment API</a> and
<a href="http://purl.org/rss/1.0/modules/slash/" target="_blank">slash:comments</a>)
commonly used to indicate the presence of comments and and comment feeds.
<p>It also recognizes the <a href="http://feedvalidator.org/docs/warning/CommentRSS.html" target="_blank">incorrectly-capitalized</a>
<tt>wfw:commmentRSS</tt> tag.</p>

[Namespaces]
wfw = http://wellformedweb.org/CommentAPI/
slash = http://purl.org/rss/1.0/modules/slash/

[Item Metadata]
comments/url = wfw:comment
comments/feed/url = wfw:commentRss | wfw:commentRSS
comments/count = slash:comments

[Item Pane Columns]
_AvailabilityMsg=Available for channels that embed comment information into their feed items.
Comments=comments/count

[Item Details Template Block]
{%?ITEM-METADATA% comments}
    <div class="mm-comments">
    {%REPEAT% comments/url}
        <a href="{%ITEM-METADATA% comments/url encode=sgml chars=<&\"}">Comments</a>
    {%/REPEAT%}
    {%?ITEM-METADATA% comments/count} ({%@%}) {%ENDIF%}
    {%REPEAT% comments/feed/url}
        <a href="{%ITEM-METADATA% comments/feed/url encode=sgml chars=<&\"}">
            <img src="file://{%APP-BASE-DIR%}/Resources/Images/feed.png" border="0" alt="Comments feed" />
        </a>
    {%/REPEAT%}
    </div>
{%ENDIF%}

