I got bored...

 Site Owner
 Posts: 104
 Joined: Tue, 19 2004 Oct 23:21:02
I got bored...
And I decided to see if I could get MathML working in phpBB. After nearly introducing a huge secuirty hole, I ended up fixing that, and going for a whitelist of MathML items. Thus, here is some MathML to prove that:
[mathml] <mrow> <munderover> <mo>∑</mo> <mrow> <mi>n</mi> <mo>=</mo> <mn>0</mn> </mrow> <infinity></infinity> </munderover> <mfrac> <mn>1</mn> <mrow> <mi>n</mi> <mo>!</mo> </mrow> </mfrac> </mrow>[/mathml]
Tada!
You *will* need either FireFox, Opera, a good browser, or a plugin for IE to view the MathML. If you don't have any, get Firefox or something, as IE sucks
NeoThermic
[mathml] <mrow> <munderover> <mo>∑</mo> <mrow> <mi>n</mi> <mo>=</mo> <mn>0</mn> </mrow> <infinity></infinity> </munderover> <mfrac> <mn>1</mn> <mrow> <mi>n</mi> <mo>!</mo> </mrow> </mfrac> </mrow>[/mathml]
Tada!
You *will* need either FireFox, Opera, a good browser, or a plugin for IE to view the MathML. If you don't have any, get Firefox or something, as IE sucks
NeoThermic
You should mention that even with MathML capable browsers, you need to install fonts to correctly display it.
http://www.mozilla.org/projects/mathml/fonts/
Oh, and your VCS <censored> sucks, I am now on my tenth try and wasn't yet able to post.
http://www.mozilla.org/projects/mathml/fonts/
Oh, and your VCS <censored> sucks, I am now on my tenth try and wasn't yet able to post.

 Site Owner
 Posts: 104
 Joined: Tue, 19 2004 Oct 23:21:02
SHS` wrote:Pity the phpBB bit (this) isn't very XMLified...
Still in testing. Use the XHTML=1 debug value:
https://neothermic.com/phpBB/viewtop ... 34&XHTML=1
SHS` wrote:Dominik seems to love being tripped up by VCS... I don't think we need further proof that it's because he sucks.
Hehe. If he's so botherd by 10 attempts, he should of registerd, as they don't need to enter in a VCS code
NeoThermic

 Newbie
 Posts: 7
 Joined: Sat, 05 2005 Feb 12:11:53
 Location: Australia
 Contact:
I have the firefox fonts, but mathML is still not showing correctly,
I noticed this too trying to jump through hell enabling mathML on my blog, a BBcode seems much less trivial now. Anyway the summation's n= should be under the summation symbol, and in my blog at least the to value isn't even displayed when it's meant to be on top of. I did use wolfram's mathml viewing and previewed the mathML as a gif, so it's supposed to render correctly. Maybe it will only display correctly dare I say it in IE6 with the mathType plugin (which I've yet to try, but their word equation editor plugin was awesome, I wish the demo didn't expire , and it costs too much to buy)
edit: and dhn/SHS`, slackers for not registering
I noticed this too trying to jump through hell enabling mathML on my blog, a BBcode seems much less trivial now. Anyway the summation's n= should be under the summation symbol, and in my blog at least the to value isn't even displayed when it's meant to be on top of. I did use wolfram's mathml viewing and previewed the mathML as a gif, so it's supposed to render correctly. Maybe it will only display correctly dare I say it in IE6 with the mathType plugin (which I've yet to try, but their word equation editor plugin was awesome, I wish the demo didn't expire , and it costs too much to buy)
edit: and dhn/SHS`, slackers for not registering
I am something
thats right the MOD Team.
thats right the MOD Team.

 Site Owner
 Posts: 104
 Joined: Tue, 19 2004 Oct 23:21:02
smithy_dll wrote:I have the firefox fonts, but mathML is still not showing correctly
Where? On the index or here? If here, make sure you're using the XHTML flag (link in my previous post).
smithy_dll wrote:Anyway the summation's n= should be under the summation symbol
Thats due to me stripping all newlines in the [mathml] tags, as any newlines will actually be converted to illegal <br />'s
If you can think of away around it, it will help
NeoThermic

 Newbie
 Posts: 7
 Joined: Sat, 05 2005 Feb 12:11:53
 Location: Australia
 Contact: