Re: Comments error
John Sullivan <john-/[email protected]>
| Newsgroups | gmane.comp.web.pyblosxom.user |
|---|---|
| Message-ID | <[email protected]> |
Answering some of my own questions here. John Sullivan <john-/[email protected]> writes: > I'm having a lot of fun setting up my home page with pyblosxom. Thanks > to everyone who has contributed to the project. > > I'm working on getting comments set up. I'm having a couple of > problems, not sure if they are related. > > First, the comments form is only displaying below some stories and not > others. All of the comment*.html files are located in my datadir. > You have to manually put properties in the entry, like this (right after the title): #absolute_path "Ethics and Politics"/Vegan #fn entry-20040901 #file_path "Ethics and Politics"/Vegan/entry-20040901 That makes the comment form show up properly. I'm surprised that these properties have to be entered manually. Is there a renderer that puts them in automatically? > Second, there is the error below from the server logs. I've searched > the mailing list a bit, and saw some reports of similar errors, but > the causes don't seem to be the same here. For one, the comment files > are being written in the datadir/comments/entrydir. The comments were > also emailed successfully. So, I don't _think_ this is a permissions > thing. But, when I try to load the page for the story where the > comments are, I get the head and foot, but just blank space where the > story and comments should be. > The error doesn't happen anymore after making the above additions. > Finally, a question. I see mention in the docs of adding a > "nocomments" property to stories where comments aren't wanted. What is > the syntax for adding a property, and does it go in the entry file > itself? Is this what is causing the error below also---like, is there > something I need to be adding to the entry file beyond just the text > for the entry if I want comments to be displayed? Put #nocomments yes in the entry just after the title. Now, the comments themselves are not displaying after the story, so now I'm off to investigate that. -John
signature.asc
(application/pgp-signature, 188 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQBBRTQMCRwR0q6GALYRAty1AKCT9qcA+1UYrOENjvnMpl1TX89UFACeIbaH GmY8IwFJW/ySeTSmf7FAgaE= =Rgou -----END PGP SIGNATURE-----