From: david p. <dp...@he...> - 2004-01-14 22:10:09
|
This seems like an obvious issue, but I've got to ask anyway. On our site, when someone posts a story I have to go back through pasting in paragraph breaks <p> or the text just all runs together. Is there an easy way to just save the stories as Plain Old Text? Any other solutions. It's a pain in the butt to have to do this. David www.news4neighbors.net |
From: alex <al...@ow...> - 2004-01-15 11:00:58
|
At 22:10 14/01/04, you wrote: >This seems like an obvious issue, but I've got to ask anyway. On our site, >when someone posts a story I have to go back through pasting in paragraph >breaks <p> or the text just all runs together. > >Is there an easy way to just save the stories as Plain Old Text? Any other >solutions. It's a pain in the butt to have to do this. > >David >www.news4neighbors.net I fear it isn't implemented as far as I know. There are two options here. One is to genuinely treat some articles as plain old text - perhaps by putting a pre tag at the front and close pre at the end. We would also need to check for funny chars most notably ampersand and less than sign. This assumes that the text is preformatted to some width, typically 80 chars wide. I get some newsletters and emails like this which I would like to submit to the site directly. Another issue is the case where someone has just forgotten to insert p tags to delimit the paragraphs. I have wondered about putting them in too. I'm thinking that we might be able to do this with some nifty Javascript activated by a button on the editors screen. If people encourage me I might implement it for my site and submit the patch for you. Alex McLintock |
From: Blake C. <li...@li...> - 2004-01-15 12:39:24
|
alex writes: > Another issue is the case where someone has just forgotten to insert p > tags to delimit the paragraphs. I have wondered about putting them in too. > I'm thinking that we might be able to do this with some nifty Javascript > activated by a button on the editors screen. Javascript eh? I hadn't thought of that one, neat idea. I was thinking more along the lines of what Shane suggested, a new drop down, it would then just do a regex and replace /n/n with <P> and/or /n with <br>. I've put something along those lines into other stuff and I liked it, and it would be nice if I had something (Javascript or perl) that did the same thing. My guess is it would save some time for all of us. -Blake |
From: Shane <sh...@lo...> - 2004-01-15 13:12:42
|
On Jan 15, 2004, at 7:37 AM, Blake Carver wrote: > alex writes: >> Another issue is the case where someone has just forgotten to insert >> p tags to delimit the paragraphs. I have wondered about putting them >> in too. >> I'm thinking that we might be able to do this with some nifty >> Javascript activated by a button on the editors screen. > > Javascript eh? I hadn't thought of that one, neat idea. > I was thinking more along the lines of what Shane suggested, a new > drop down, it would then just do a regex and replace /n/n with <P> > and/or /n with <br>. I've put something along those lines into other > stuff and I liked it, and it would be nice if I had something > (Javascript or perl) that did the same thing. > My guess is it would save some time for all of us. > -Blake > I *think*, that whenever this was mentioned before, it was pointed out that most people compose stories in their favorite editor (ie emacs, vi, homesite, dreamweaver, bbedit, whatever) and that they, most of the time, had just copy/pasted the articles into the slash story editor. Any problems with this were to be helped by the file-upload for the story text, incase copy/paste didn't work. And while all of that may be true (for me, too) there've been times where I didn't bother to do it that way, and composed it in the slash story editor. And I ran into the same problems that alex did, and everytime I've done that I've mumbled something about not having that dropdown there :) Shane |
From: Blake C. <li...@li...> - 2004-01-31 02:37:18
|
Hi All, I'm going to be moving servers before to long, and I'm pretty sure the new box will be running Red Hat Enterprise 3. Does anyone currently run slashcode on RHEL? Will it play nice with apache2 and mysql4? Anyone know of anything that I may need to worry about? Thanks! -Blake |
From: Shane <sh...@lo...> - 2004-01-15 12:13:18
|
On Jan 14, 2004, at 5:10 PM, david pool wrote: > This seems like an obvious issue, but I've got to ask anyway. On our > site, when someone posts a story I have to go back through pasting in > paragraph breaks <p> or the text just all runs together. > > Is there an easy way to just save the stories as Plain Old Text? Any > other solutions. It's a pain in the butt to have to do this. > > David > I guess what we need is a pulldown, underneath the story-text boxes, for *type*. ie "Plain Old Text", "HTML Formated", "Extrans", "Code". I'd suggest putting in a feature-request here, or just code it up and send in a patch for it. http://sourceforge.net/tracker/?group_id=4421&atid=354421 Shane |