【Kareha】 Comma Thread Syntax? (26)

5 Name: !WAHa.06x36 2005-01-12 13:45 ID:dSNfvVxs [Del]

>>3

Call it a joke. That one's MrVacBob's. I've put some of my own in Kareha, but it up to you to figure them out.

>>4

That's a pretty good idea, I think. Would be easier if one saved some metadata, but quite possible to do anyway. Hard to correctly parse references to range and such, though. One could maybe even add a link somewhere in each post to that.

25 Post deleted by moderator.

21 Name: !WAHa.06x36 2005-01-20 07:48 ID:TAFsRkJX (Replies) [Del]

Some notes:

  • I add the parent post by hand to the start, and then scan, explicitly skipping the parent post which would otherwise match because of the javascript code for quoting. This has the effect of putting forward references after the parent post. I am not sure if this is the better behaviour or not.
  • The generalization to support replies-to-replies is easy to see: Make in_range() accept an array of post numbers to match against the range, and feed back the @posts array to it. This wouldn't catch forward references to replies, but maybe we can live without those.
  • If you don't want to catch forward references at all, start the scan from $num+1 instead of 1.
This thread has been closed. You cannot post in this thread any longer.