WakabaMark (70)

1 Name: !WAHa.06x36 2004-11-10 02:39 ID:kWJiZ8wA [Del]

I'm meaning to do a complete re-write of the WakabaMark code. With this re-write, I could support things like nested quotes and lists, and quoted lists, and such. The thing is, though, to accomplish this I'd have to make the code strip out the ">"s in front of quoted text. Now, personally, I like quotes to have ">" in front of them, but I could make a much more flexible text parser without them.

Anyone have any strong opinions on this subject?

21 Name: !WAHa.06x36 2005-07-29 05:30 ID:v4YlUyyM [Del]

No, I still maintain BBcode is a usability nightmare. The only reason people know that is that they have been forced to learn it by other broken software. If I were to use some more explicit markup, I'd use a subset of HTML.

The only real problems I see are with AA (thus the discussion for autodetecting it), and with cut-and-paste, where Firefox has a tendency to insert spaces in front of text you paste, triggering code blocks. Some accidential triggerings of WakabaMark is exactly what I want - ideally, you should be able to use it without knowing it. The list parsing should work like that, for instance, but in practice it has some problems. I should maybe make it a bit more intelligent.

22 Name: Anonymous 2005-09-16 06:38 ID:N5OO2wT0 [Del]

People fuck it up way too often. I really think this would work better as a Firefox extension. Enabling/disabling it in your browser would be much more convenient for me than waiting dozens of years until people get it right (which they won't).

23 Name: !WAHa.06x36 2005-09-16 06:42 ID:5es7BckB [Del]

I was thinking of a solution that would please most people, which is to add support for several different types of markup, and make it selectable one way or the other. I was thinking "no markup" (except for the default Futaba/0ch stuff), "WakabaMark", and "HTML", or rather a subset of HTML. This requires two things, though: A good place to put the GUI for it, and me actually writing some code.

Suggestions are welcome, and no, I wouldn't put in BBcode.

24 Name: Anonymous 2005-09-16 06:52 ID:N5OO2wT0 [Del]

> A good place to put the GUI for it

Tools -> Extensions -> WakabaMark

Really, this seems to be the most convenient way for me to keep the ability for markup and not annoy the users all the time or forcing them to go out of their way to disable something that's built into the site itself.
Adding more and more options to the site seems to be leading to eventual design overkill. Which brings to mind: Stylesheet selection could also be outsourced to an extension. But meh...

The main point for me here is that the markdown should not take place on the side itself in that it actually writes the <em> tags into the HTML code.

I like how Thunderbird does this (although I know the analogy is slightly flawed), it only interprets the markdown. It doesn't automatically rewrite my markdown into some HTML characters and then sends the EMail as HTML or something.

25 Name: Anonymous 2005-09-16 07:08 ID:N5OO2wT0 [Del]

Regarding that Thunderbird example... that's actually the "Quote Colors" extension that does this. Not as customizable as you would like (seems really like every software has its own standards for interpreting text as bold, italic, underlined, etc.), but pretty nifty anyway.

26 Name: !WAHa.06x36 2005-09-16 08:30 ID:5es7BckB [Del]

No, an extension is really out of the question. It's far too limiting, since many don't use Firefox, and few of those who do would be willing to install it.

27 Name: Anonymous 2005-09-16 08:42 ID:N5OO2wT0 [Del]

Then ditch it. :(

28 Name: !WAHa.06x36 2005-09-16 09:31 ID:5es7BckB [Del]

Would it be that horrible to have a popup to select the formatting method?

29 Name: Anonymous 2005-09-16 09:48 ID:N5OO2wT0 [Del]

I guess not. I just think all these kinky bonus features that transcend mere transfer of pure text and certain filetypes should be outsourced...

Maybe that's because I am still dreaming of a Kareha browser/FF extension.

30 Name: Anonymous 2005-09-16 14:54 ID:GW9hwnxw [Del]

A preview function? It seems odd to have your text changed mysteriously without any feedback whatsoever, especially for non-coders who are more familiar with the WYSIWYG model.

As for deleting messed up posts, well...apparently a group of people still don't know how to do that, or don't like cookies, or something.

31 Name: Anonymous 2005-09-16 16:30 ID:B0yP7RYz [Del]

Or post on 4-ch.net, which has disabled the ability to delete your own posts on most boards for some reason.

32 Name: Anonymous 2005-09-17 00:59 ID:Os3CWpLB [Del]

It's been disabled because some people deleted their posts for no apparent reason which made the discussions turn pretty incoherent for newcomers.

I agree that WakabaMark should probably be turned off by default. The motivation behind is good but at the moment it just doesn't seem practical.

33 Name: test 2005-09-17 10:52 ID:FKoxP2KE [Del]

I like WakabaMark but I wish it'd be a bit more predictable.

For example, only works for 15 or so characters. _ can be unpredictable across multiple sentences (or was that "?). Mixing italics and bold just doesn't work.

34 Name: test 2005-09-17 10:53 ID:FKoxP2KE [Del]


^H only works for 15 or o characters.

35 Name: Anonymous 2005-09-17 11:06 ID:Mgi+JHQ6 [Del]


36 Name: Anonymous 2005-09-17 11:08 ID:Mgi+JHQ6 [Del]

↑ successful test with 30

Also _ only works in one paragraph, using it over more than one will break it.

And mixing isn't supposed to work, I guess.

37 Name: !WAHa.06x36 2005-09-17 15:23 ID:v4YlUyyM [Del]

^H is really just a joke, and isn't really supposed to be very useful for anything.

Also, since I'm a semantic markup fag, * and ** don't mean "italic" and "bold", they mean "emphasis" and "strong emphasis", (<em> and <strong>). How they are rendered is entirely up the browser and/or stylesheet. Thus, mixing them doesn't really make sense.

38 Name: test 2005-09-17 22:27 ID:Heaven [Del]

Shouldn't that be left to the browser then?

If a poster wants to mix it, let them.

39 Post deleted by moderator.

40 Post deleted by moderator.

41 Name: Anonymous : 2005-12-23 10:54 ID:Heaven [Del]

Is ^H more of a joke than Microsoft's Windows X POS XP OS?

Personally, I like the feature. :)

43 Name: Anonymous : 2006-01-31 09:11 ID:Heaven [Del]


44 Name: !WAHa.06x36 : 2006-01-31 09:28 ID:Heaven [Del]

Wow, that is one stubborn spam bot. Check out the logs: - - [31/Jan/2006:06:07:49 -0700] "GET /sup/kareha.pl/1100047195 HTTP/1.1" 200 31487 "http://wakaba.c3.cx/sup/kareha.pl/1100047195" "Mozilla/5.0" - - [31/Jan/2006:06:07:53 -0700] "GET /sup/kareha.pl/1100047195 HTTP/1.0" 200 31487 "http://wakaba.c3.cx/sup/kareha.pl/1100047195" "Mozilla/5.0" - - [31/Jan/2006:06:08:12 -0700] "POST /sup/kareha.pl HTTP/1.0" 200 202 "-" "Mozilla/5.0" - - [31/Jan/2006:06:08:25 -0700] "GET /sup/kareha.pl/1100047195 HTTP/1.1" 200 31487 "http://google.com" "Mozilla/5.0" - - [31/Jan/2006:08:10:17 -0700] "GET /sup/kareha.pl/1100047195 HTTP/1.1" 200 31487 "http://wakaba.c3.cx/sup/kareha.pl/1100047195" "Mozilla/5.0" - - [31/Jan/2006:08:10:31 -0700] "GET /sup/kareha.pl/1100047195 HTTP/1.1" 200 31487 "http://wakaba.c3.cx/sup/kareha.pl/1100047195" "Mozilla/5.0" - - [31/Jan/2006:08:10:39 -0700] "POST /sup/kareha.pl HTTP/1.1" 200 202 "-" "Mozilla/5.0" - - [31/Jan/2006:08:10:53 -0700] "GET /sup/kareha.pl/1100047195 HTTP/1.1" 200 35522 "http://google.com" "Mozilla/5.0"

Note that it tried to POST once, and failed, probably because spam.txt blocked it. Not to be deterred, it posted again, with completely randomzied data! Awesome plan!

45 Name: Anonymous : 2008-06-01 02:51 ID:jY98Bre0 [Del]


46 Name: Anonymous : 2008-06-01 10:03 ID:rGfV5rsS [Del]


47 Name: test : 2008-10-05 06:58 ID:Heaven [Del]


48 Name: Fou-Lu!Id1gMYGA52!!UIR4DE3n : 2008-12-04 19:51 ID:fJkq4qWN [Del]

Hmmm, is the do_wakabamark() function in http://wakaba.c3.cx/docs/docs.html

49 Name: Fou-Lu!Id1gMYGA52!!UIR4DE3n : 2008-12-04 19:53 ID:fJkq4qWN [Del]

Shit, I just completely blanked out there,

is that function up to date with the current implementation of WakabaMark.

50 Name: !WAHa.06x36 : 2008-12-06 17:15 ID:Heaven [Del]


I think the Javascript one might actually be a bit more solid than the Perl one, but it doesn't have the stupid joke features.

51 Name: test : 2008-12-08 04:32 ID:Bz5WlQ5L [Del]


52 Name: Anonymous : 2008-12-08 15:19 ID:Heaven [Del]


53 Post deleted by moderator.

54 Post deleted by moderator.

55 Post deleted by moderator.

56 Post deleted by moderator.

57 Post deleted by moderator.

58 Post deleted by moderator.

59 Post deleted by moderator.

60 Post deleted by moderator.

61 Post deleted by moderator.

62 Post deleted by moderator.

63 Name: Anonymous : 2009-09-18 13:28 ID:Heaven [Del]


64 Post deleted by moderator.

65 Name: Your Momma : 2009-12-02 12:09 ID:RNuCbuN6 [Del]

Bitch why do you list as spam boards that actually may help sell your product?
You are just a punk no-good motherfucker.
Afraid to even list a Contact me section...lmao.

66 Name: Anonymous : 2009-12-02 13:46 ID:Heaven [Del]

We are >>65's courtiers. We are sorry that our lord has posted such a stupid reply.
After the last war we had completely lost, our lord got mental illness. Everyday, he kidnaps girls from the village. Every night he gets drunk and tries to chop courtiers with his katana.
Now the lady of the house is ill in bed. The people in our country are suffering badly from famine. The neighboring Daimyos is taking advantage of this situation, they try to pass across the border and take over our land.
Quite a few of our fellow courtiers have intention to rise in rebellion.
We are now in dire straits. Our clan would be destroyed.
But, don't worry. We arranged that our Lord become a Buddhist priest.
In his way to the temple, our skilled assassin should take his life.
That is arranged perfectly. After that we will hail Master Monaminokami, the nephew of our lord, as our new lord. We, all courtiers, would do our best to serve this new lord with faith.
We apologize for any inconvenience our lord may have caused you.
Please wait for a while. Please forgive the evil deeds done by our lord.

67 Post deleted by moderator.

68 Name: Anonymous : 2010-03-05 19:01 ID:/KXs7XSm [Del]

lol, firefox, not working with this page
xml error... etc..

69 Post deleted by moderator.

70 Post deleted by user.

Name: Link:
Leave these fields empty (spam trap):
More options...