Re: BBCodeParser (transition to Text_Wiki)

From: Date: Sat, 15 Oct 2005 00:36:54 +0000
Subject: Re: BBCodeParser (transition to Text_Wiki)
References: 1 2 3 4 5 6  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-40206@lists.php.net to get a copy of this message
Dear bertrand, I have noticed that there seems to be a language barrier. I've been dealing with that the best I can and not getting upset (in English we call this "patience"). From what I can tell, that makes one of us. If you look at my original email to the list (Sept. 27th), or if you look at my email to you earlier this week (Oct. 10th), or if you look at my email to you earlier today (Oct. 14th), or if you look at my *other* email to the list earlier today (Oct. 14th), there is a chance that you will see my test cases. Before I continue, I will include the link twice here, because that is simply the best I can do from where I am: http://pricepages.org/bbcode/BBCodeParser.phpt.zip http://pricepages.org/bbcode/BBCodeParser.phpt.zip If you look at the test cases you will notice that all of the examples that you kindly posted are included in the testcases. That includes the test cases posted over two weeks ago. You might be surprised to find that I've run these test cases as recently as today, and while I've had no problems with a fresh copy of HTML_BBCodeParser, I have yet to successfully run them in Text_Wiki_BBCode. This is too bad, because recently I've put a lot of time into trying to get support from the "community". Anyway, you can understand my confusion when you posted to say that things are "_wrong_". My testcases find no "first empty element" and there is "wrong numbering" but this is because CSS 2.0 and XHTML 1.1 does not support altering the number values of lists. The same thing applies to links that open in new windows. It is possible if you want to use JavaScript and DOM, but I haven't had time or energy to code that, so numbering and target attributes remain ignored. If you have any better solutions, please provide a unified diff and I'll take a look. ~Seth On Oct 14, 2005, at 5:38 PM, bertrand Gugger wrote:
re I agree with Justin, your technic to cut the message you reply looks like disinformation, so I will be only 1 point Seth Price wrote:
I upgraded from CVS including your patch commited by arnaud. I installed it and run the provided example. Simply copied/paste the integrated help. Pehaps your <li> <ul> 's are better Xhtml, but they are _wrong_, adding in all case a first empty element and wrong numbering (the stack :) ? )
I'm not sure if I understand what is going wrong. Can you send me your input and output for this?
I'm french, my english is bad, I try to repeat. My input is simply the copy of the integrated help in BBCodeParser/example/parser.php what you see in the screen when you load it, copy/paste here under. The output is on the screen, this funny thing you have in front of you. Stop playing the fool , please. possible codes: <pre> [b]bold[/b] [i]italic[/i] [u]underline[/u] [s]strike[/s] [sub]subscript[/sub] [sup]superscript[/sup] [color=blue]blue text[/color] [size=18]the size of this text is 18pt[/size] [font=arial]different font type[/font] [align=right]yes, you're right, this isn't on the left[/align] he said: [quote=http://www.server.org/quote.html]i'm tony montana[/quote] [code]x + y = 6;[/code] http://www.server.org [url]http://www.server.org[/url] [url=http://www.server.org]server[/url] [url=http://www.server.org t=new]server[/url] guest@anonymous.org [email]guest@anonymous.org[/email] [email=guest@anonymous.org]mail me[/email] [img]http://www.server.org/image.jpg[/img] [img w=100 h=200]http://www.server.org/image.jpg[/img] [ulist] [*]unordered item 1 [*]unordered item 2 [/ulist] [list] [*]unordered item 1 [*]unordered item 2 [/list] [list=1] [*]ordered item 1 [*]ordered item 2 [/list] [list=i] [*]ordered item 1 type i [li=4]ordered item 4 type i[/li] [/list] [list=I] [*]ordered item 1 type I [/list] [list=a s=5] [li]ordered item 5 type a[/li] [*]ordered item 6 type a [/list] [list=A] [li]ordered item 1 type A[/li] [li=12]ordered item 12 type A[/li] [/list] [list=A s=3] [li]ordered item 1, nested list: [list=I] [li]nested item 1[/li] [li]nested item 2[/li] [/list][/li] [li]ordered item 2[/li] [/list] </pre> I guess you never tried it. I'm really sorry to loose my time on such stuff. Try to understand. à+ --bertrand "toggg" Gugger --PEAR Development Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.pear.dev (#40206) next »