Re: First round of comments merging done
Bill Mill <[email protected]>
| Newsgroups | gmane.comp.web.pyblosxom.devel |
|---|---|
| Message-ID | <[email protected]> |
On Thu, 09 Dec 2004 12:49:05 -0500, Blake Winton <blake-dlUKtbW3TlBcVw/[email protected]> wrote: > Bill Mill wrote: > > If I had my druthers, we'd pickle the comments instead of putting them > > in xml. When would they ever need to be read by anything but Python? I > > don't see much advantage there. > > I'm really fond of being able to edit the comments in vi on my server. > Removing links to sites that I'm not fond of, or slanderous terms. That > sort of thing. > That's a reasonable use case. Doing it the pickle way, we could store plain-text pickles which look like: (dp1 S'description' p2 S'This is a comment with a motherf*($ing swear in it' p3 sS'author' p4 S'Bill Mill' p5 Not incredibly user friendly, but certainly readable, and also faster for the program to parse than xml is. (That last bit is an untested intuitive assumption on which I may be wrong, but I think I'm right.) Really, though, don't you mostly just delete offending comments? That just seems to me to be the way that I would do it, but I've never actually had to manage a web site that people go to, so I have no idea about it. Also, it'd be a piece of cake to implement a swear filter, just let me know if you want that. I could do it in about 10 minutes. And, finally, if we did do an alternative comments module, we would certainly keep the original one around. A lot of people use it and like it, so it won't be going away any time soon. Peace Bill Mill bill.mill at gmail.com > Later, > Blake. > > ------------------------------------------------------- > > > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Pyblosxom-devel mailing list > Pyblosxom-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > https://lists.sourceforge.net/lists/listinfo/pyblosxom-devel > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/