Forums

Username:

Password:

User accounts

Register new account
Forgot password

Forum stats

List of members

Search the forums


Advanced search

Recent discussions

- Elsear brings super-fast Networking to Risc PC/A7000/A7000+ (News:)
- November 2024 News Summary (News:1)
- Latest hardware upgrade from RISCOSbits (News:)
- WROCC November 2024 talk o...ay - Andrew Rawnsley (ROD) (News:3)
- Accessing old floppy disks (Gen:3)
- November developer 'fireside' chat on saturday night (News:)
- RISCOSbits releases a new laptop solution (News:4)
- Announcing the TIB 2024 Advent Calendar (News:2)
- RISC OS London Show Report 2024 (News:1)
- Code GCC produces that makes you cry #12684 (Prog:39)

Latest postings RSS Feeds

RSS 2.0 | 1.0 | 0.9
Atom 0.3
Misc RDF | CDF
 
View on Mastodon
@www.iconbar.com@rss-parrot.net

Site Search

 
Article archives
The Icon Bar: Site Comments: Quoting on the forums
 
  Quoting on the forums
  (10:59 11/1/2002)
  alpha (13:53 11/1/2002)
    john (13:58 15/6/2002)
      alpha (13:58 15/6/2002)
        john (13:58 15/6/2002)
          alpha (13:58 15/6/2002)
            Loris (11:07 16/1/2002)
              alpha (15:15 17/1/2002)
            [mentat] (13:58 15/6/2002)
            john (13:58 15/6/2002)
              rich (12:35 18/1/2002)
                alpha (01:22 19/1/2002)
                  john (13:58 15/6/2002)
              alpha (13:58 15/6/2002)
                john (13:58 15/6/2002)
 
john Message #5796, posted at 10:59, 11/1/2002
Unregistered user Since no-one seems to read the tfountain.co.uk forums, I'll post this here instead:

When you reply quoted and you want to interleave your stuff with their stuff you have to type in those quote and /quote tags which is annoying, wouldn't it be better to just have "> " at the start of the lines, which can then be autoconverted on the server backinto normal quotes? It'd be a lot easier that way.

  ^[ Log in to reply ]
 
alpha Message #5797, posted at 13:53, 11/1/2002, in reply to message #5796
Unregistered user
Since no-one seems to read the tfountain.co.uk forums, I'll post this here instead:

Woops, sorry. Those forums don't get much traffic so I don't check them very often.

When you reply quoted and you want to interleave your stuff with their stuff you have to type in those quote and /quote tags which is annoying, wouldn't it be better to just have "> " at the start of the lines, which can then be autoconverted on the server backinto normal quotes? It'd be a lot easier that way.

It might appear a little easier for people used to the standard email/usenet quoting, but I really don't think that method would work.

For a start, how would you define 'the start of the lines'? Unlike on email/news, there's no fixed line width here. I guess you could use the width of the textarea box, but there would be no way to reformat a block of quoted text so things could get very messy. It would also become quite complicated for the script to work out which text is quoted and which isn't when the post is submitted.

I have been considering displaying a coloured line down the left hand side of indented text, using a table (one cell for the line and one for the text, with a lot of cell spacing), but as we'd then need an extra nested table for every section of quoted text I don't think that'd be a good idea either.

Also, unfortunately the majority of Internet users won't be used to the '>' quoting prefix. Most email users unfortunately use MS Outlook, which encourages users not to make any change to the message they are quoting and simply include their new message at the start.

  ^[ Log in to reply ]
 
Loris Message #5803, posted at 11:07, 16/1/2002, in reply to message #5801
Unregistered user I'd have reply-and-quoted, but that gives an error-page..

I've not been posting to this forum for a long time, and I've really no idea about the code so I'm probably wrong.

Can't you just search paragraphs starting with > ?
No need to have a new > on each wrapped line.
Then just scan for two consecutive new-para characters (ie returns)
I imagine you'd need to check for multiple >'s, but not modify the end-point.

>>Doubly quoted text{return}
{return}
>singly quoted text{return}
{return}
some more text{return}

Enhancements would be to strip spaces etc.

Is it just me or do <quotes> currently sometimes turn into <blockquotes> which are then printed and don't indent?


On a related note, would it be possible to make the message box a little bigger? I seem to fill it up very quickly, and there is a lot of empty space on either side.

  ^[ Log in to reply ]
 
alpha Message #5804, posted at 15:15, 17/1/2002, in reply to message #5803
Unregistered user
I'd have reply-and-quoted, but that gives an error-page..

It does? What error exactly?

Is it just me or do <quotes> currently sometimes turn into <blockquotes> which are then printed and don't indent?

I've noticed that actually, not sure what's causing it though. Seems to be a problem when you're quoting quoted text.

On a related note, would it be possible to make the message box a little bigger?

Possibly...

  ^[ Log in to reply ]
 
rich Message #5806, posted at 12:35, 18/1/2002, in reply to message #5805
Unregistered user Line endings are entirely dependant on the browser - i.e. whether it supports textareas with physical wrapping or not. Fresco certainly doesn't seem to be very good at wrapping at all. So, you'd only get line breaks when the author specifically presses the return key, i.e. at the end of paragraphs, which makes email-type quoting on a HTML forum a bit of a non-starter. And no, not everyone has an alternative to Fresco.

Also I prefer the [ quote ] method, if only it hadn't started doing the <blockquote> thing on nested quotes.

  ^[ Log in to reply ]
 
alpha Message #5808, posted at 01:22, 19/1/2002, in reply to message #5806
Unregistered user
Line endings are entirely dependant on the browser - i.e. whether it supports textareas with physical wrapping or not.

That's what I thought John meant at first, but although if all browsers supported hard wrapping it would make writing the script easier, I think it might be possible without, which is what I think he meant.

Also I prefer the [ quote ] method, if only it hadn't started doing the <blockquote> thing on nested quotes.

I've fixed that bug now. And if the alternate quote method was introduced it'd certainly be an option rather than replace the current method, 'cause as I said, it's the standard approach in discussion forums.

  ^[ Log in to reply ]
 
john Message #5798, posted at 13:58, 15/6/2002, in reply to message #5797
Unregistered user Nono, I mean to convert it with > for the text reply box, then convert it back after. It should follow similar rules as ZapEmail for reformatting with returns, if there's only one it makes it one line, if there's a double line it's a gap, and if there's a line without > at the start it's new text. If the box has soft wrap then it's all going to com eback the same unless the y change it, in which case it shouldn't be quoted.

I think I know what I mean anyway smile

  ^[ Log in to reply ]
 
alpha Message #5799, posted at 13:58, 15/6/2002, in reply to message #5798
Unregistered user Yes I think I know what you mean, so re-read my reply with that in mind smile.

People may not 'edit' quoted text exactly, but if you have a portion of quoted text like this:

> It's at that posh new restaurant you say? In
> That case I think I will come. What time should
> we meet?

And you wanted to reply with a time, you only need to quote:

What time should
> we meet?

In most email programs you can then hit a key to reformat that so that it's on one line starting with a >. There is no way of doing this in a textarea box.

And the rest of what I said still applies - it's still very fiddley for the script to work out what's quoted and what isn't (what happens if the text is meant to contain a '>' symbol for example?), and the majority of users (unfortunately) won't be used to the quoting method.

  ^[ Log in to reply ]
 
john Message #5800, posted at 13:58, 15/6/2002, in reply to message #5799
Unregistered user The only email thing I know of that reformats is Zap (the PC ones seem to fail) which has a button on the bar to do it. I just add missing > in automatically though smile
I find that typing > is far easier than what I have to do now, type </quote><quote> around it! I don't know any email system that requires you to do that, so surely no-one will know to do that... if you split what you've done above, the new text will also appear quoted as well, os the reader may just skip over it altogether, thinking it's all quoted? Maybe I'm wrong though smile

As for the script, it can just compare the start character of each line with > to see if it's quoted or not, if the text /does/ contain a >, it'd be just like if an email contained a >, everyone would get confused smile As an overall thing, I still think I've got an idea. Email me if you like (I find email more user friendly seeing as it's dedicated smile

Thanks,
john

  ^[ Log in to reply ]
 
alpha Message #5801, posted at 13:58, 15/6/2002, in reply to message #5800
Unregistered user
The only email thing I know of that reformats is Zap (the PC ones seem to fail)

Pluto certainly used to, and my PC email program ("The Bat" ) does. I'm sure Marcel used to as well, but it's been a while.

I find that typing > is far easier than what I have to do now, type </quote><quote> around it! I don't know any email system that requires you to do that, so surely no-one will know to do that...

It's a standard method in discussion forum software, but I don't think either method is particularly intuitive.

The point I was trying to make before was that as most Internet users' only experience of email is through Outlook Express, I think most of them will be used to just ignoring quoted text completely rather editing it like you and me.

As for the script, it can just compare the start character of each line with > to see if it's quoted or not, if the text /does/ contain a >, it'd be just like if an email contained a >, everyone would get confused smile

When forms are submitted, the contents of each textarea box gets lumped together in a variable, so the script has no way of knowing where lines start and end. Even if we assumed that every > was the start of a line, there would be no way of knowing where that portion of quoted text ended. If you assumed it ended after at the next line break, then if anyone didn't leave a line between quoted text and new text, that would break it. If you assumed the quoted text ended after a maximum of a certain number of characters (probably the width of the textarea box), then when people only want to quote part of a paragraph of quoted text like in my example above, that would break the script, as they wouldn't have been able to reformat it like you would in an email program. And we can't assume people will edit the quoted text to make sure that each lines starts with a > smile.

As an overall thing, I still think I've got an idea. Email me if you like (I find email more user friendly seeing as it's dedicated smile

But if we discuss it here, other people can contribute smile.

It's nice to have feedback though, and it's certainly useful seeing as I'm currently working on the commercial version of the software; so keep it coming smile.

  ^[ Log in to reply ]
 
I don't have tourettes you're just a cun Message #5802, posted by [mentat] at 13:58, 15/6/2002, in reply to message #5801
[mentat]Fear is the mind-killer
Posts: 6266
Just to add my 3 pence worth, I quite like the <quote></quote> system as it is, whether I'm editing it or not... cool
  ^[ Log in to reply ]
 
john Message #5805, posted at 13:58, 15/6/2002, in reply to message #5801
Unregistered user
The only email thing I know of that reformats is Zap (the PC ones seem to fail)

Pluto certainly used to, and my PC email program ("The Bat" ) does. I'm sure Marcel used to as well, but it's been a while.

Well marcel certainly, and I thought pluto didn't even have an editor built in, let alone a split lines while preserving quoting feature. Are you sure it wasn't Zap (or maybe StrongEd) providing the feature? Anyway, I use other PC programs and manage to add it in easily every time.

I find that typing > is far easier than what I have to do now, type </quote><quote> around it! I don't know any email system that requires you to do that, so surely no-one will know to do that...

It's a standard method in discussion forum software, but I don't think either method is particularly intuitive.

The point I was trying to make before was that as most Internet users' only experience of email is through Outlook Express, I think most of them will be used to just ignoring quoted text completely rather editing it like you and me.

But surely if they are just ignoring it, they aren't going to be confused by that system either?

As for the script, it can just compare the start character of each line with > to see if it's quoted or not, if the text /does/ contain a >, it'd be just like if an email contained a >, everyone would get confused smile

When forms are submitted, the contents of each textarea box gets lumped together in a variable, so the script has no way of knowing where lines start and end.

No, the browser submits them including all line breaks, as you say below. PHP variables can contain line breaks, IIRC. This means you can check the start of the lines smile

Even if we assumed that every > was the start of a line, there would be no way of knowing where that portion of quoted text ended.

Ah, well that'd obviously be on the first line that doesn't start with "> ".

If you assumed it ended after at the next line break, then if anyone didn't leave a line between quoted text and new text,

How are you supposed to do that? Yes, if you just click in the source text and start typing it'll just insert it there, but it's the same with the curent system. You have to surround with those quote tags, where in my system it'd be surrounded with returns.

that would break it. If you assumed the quoted text ended after a maximum of a certain number of characters (probably the width of the textarea box),

No need, just wait for the next reutrn char

then when people only want to quote part of a paragraph of quoted text like in my example above, that would break the script, as they wouldn't have been able to reformat it like you would in an email program. And we can't assume people will edit the quoted text to make sure that each lines starts with a > smile.

They don't need to, there are already > chars in every line at the start. If they split a line, then as they do with email they'll have to add in the > whcih is far easier than adding a pair of tags.

As an overall thing, I still think I've got an idea. Email me if you like (I find email more user friendly seeing as it's dedicated smile

But if we discuss it here, other people can contribute smile.

Yeah but email's easier as I don't have to fiddle about with quote tags!!

It's nice to have feedback though, and it's certainly useful seeing as I'm currently working on the commercial version of the software; so keep it coming smile.

Hehe smile

And I agree with the thing about making the box bigger, if it was 80 chars and you formatted the return-"> " every, say 76 chars it'd look nice smile

  ^[ Log in to reply ]
 
alpha Message #5807, posted at 13:58, 15/6/2002, in reply to message #5805
Unregistered user

The only email thing I know of that reformats is Zap (the PC ones seem to fail)

Pluto certainly used to, and my PC email program ("The Bat" ) does. I'm sure Marcel used to as well, but it's been a while.

Well marcel certainly, and I thought pluto didn't even have an editor built in, let alone a split lines while preserving quoting feature. Are you sure it wasn't Zap (or maybe StrongEd) providing the feature? Anyway, I use other PC programs and manage to add it in easily every time.

Pluto does have an editor built in, unless I'm going mad. I used to use Zap's email mode with Marcel (I think), so I know the difference.

I find that typing > is far easier than what I have to do now, type </quote><quote> around it! I don't know any email system that requires you to do that, so surely no-one will know to do that...

It's a standard method in discussion forum software, but I don't think either method is particularly intuitive.

The point I was trying to make before was that as most Internet users' only experience of email is through Outlook Express, I think most of them will be used to just ignoring quoted text completely rather editing it like you and me.

But surely if they are just ignoring it, they aren't going to be confused by that system either?

They'll probably ignore the 'reply with quote' option, but they may be confused by the presence of > characters in the message itself. Or are you suggesting only using the > character in the textarea box when you're replying and quoting a message?

Even if we assumed that every > was the start of a line, there would be no way of knowing where that portion of quoted text ended.

Ah, well that'd obviously be on the first line that doesn't start with "> ".

If you assumed it ended after at the next line break, then if anyone didn't leave a line between quoted text and new text,

How are you supposed to do that? Yes, if you just click in the source text and start typing it'll just insert it there, but it's the same with the curent system. You have to surround with those quote tags, where in my system it'd be surrounded with returns.

Hmmm. Good point.

As an overall thing, I still think I've got an idea. Email me if you like (I find email more user friendly seeing as it's dedicated smile

But if we discuss it here, other people can contribute smile.

Yeah but email's easier as I don't have to fiddle about with quote tags!!

Yes, it is getting quite annoying when the message has as many levels of quotes as this one, so I'm starting to see what you mean smile.

Anyway, you've half convinced me, so I might have a play and see how feasible it is in practice. But you won't ever see it on this forum unless Rich decides to install MySQL on the server so I can install the commercial version (when it's done) grin.

  ^[ Log in to reply ]
 
john Message #5809, posted at 13:58, 15/6/2002, in reply to message #5808
Unregistered user
Line endings are entirely dependant on the browser - i.e. whether it supports textareas with physical wrapping or not.

That's what I thought John meant at first, but although if all browsers supported hard wrapping it would make writing the script easier, I think it might be possible without, which is what I think he meant.

Well it'd be harder with, because then you might get text coming back thus:

> and here is some quoted
text
> which has been wrapped
incorrectly

That'd be hard to deal with. However if it was only soft wrapped in the browser, and previously hard wrapped by the script to include the quote chars that would be ok. Any sort of instertion of wrapping by the browser would break it badly (maybe that's why you're not seeing what I mean wink

If the script wraps it to say 77 chars, and the text box is 80 chars wide then it'll look nice and it'll still be obvious what's quoted and what's not.


Also I prefer the [ quote ] method, if only it hadn't started doing the <blockquote> thing on nested quotes.

I've fixed that bug now. And if the alternate quote method was introduced it'd certainly be an option rather than replace the current method, 'cause as I said, it's the standard approach in discussion forums.

Well I don't mind at all, so long as I can have it turned on smile
  ^[ Log in to reply ]
 
john Message #5810, posted at 13:58, 15/6/2002, in reply to message #5807
Unregistered user

Pluto does have an editor built in, unless I'm going mad. I used to use Zap's email mode with Marcel (I think), so I know the difference.
Well anyway, the people who use the common PC packages won't have it anyway wink


They'll probably ignore the 'reply with quote' option, but they may be confused by the presence of > characters in the message itself. Or are you suggesting only using the > character in the textarea box when you're replying and quoting a message?
Yes, but the server transparently converts between the two. smile) Now we're on the same frequency smile


Anyway, you've half convinced me, so I might have a play and see how feasible it is in practice. But you won't ever see it on this forum unless Rich decides to install MySQL on the server so I can install the commercial version (when it's done) grin.
Hehe, well if there's anything you get stuck with, ask me because you might be doing it in a way which I don't mean. It's a pity I won't see it here, this is the forum I use most. Ah well such is life :/
  ^[ Log in to reply ]
 

The Icon Bar: Site Comments: Quoting on the forums

© Copyright One Point Nought 2000 - 2024.About | Staff | Contact us | Privacy policy