Re: nocomments property

will guaraldi <[email protected]>
Newsgroups gmane.comp.web.pyblosxom.user
Message-ID <[email protected]>
On Tue, 4 Oct 2005, Lance Levsen wrote:
>
> My question is, how can I enable this in an entry when the entry is only 
> the text of the post?

I'm not sure what you mean by that last question.  But the default 
entryparser is the .txt entryparser.  Posts using that entryparser look 
like this:

%<---------------------
title
<p>
   body goes here
</p>
%<---------------------

The first line is the title.  Then you have optional metadata lines.  Then 
the body.  So you could do something like this:

%<---------------------
title
#nocomments yes
<p>
   body goes here
</p>
%<---------------------

The metadata section is a series of lines that start with # and are in the 
form of "#name value".  metadata is available in the story template.

Hope that helps.

/will


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.