![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Professional Programmer
Join Date: May 2005
Location: Woo - Boot Sector!
Posts: 294
Rep Power: 4
![]() |
Hey guys, over the past month or so I have been developing my own wiki software (many of you will have seen it in the current projects section). It utilises a set of classes called Text_Wiki which are part of the PEAR project. I really like the usability etc. and basically would like to add to the project.
Text_Wiki parses wikitext (a simple syntax) and renders it in html, easy! What I though would be neat is if the users had the ability to insert a mathematical formula to their pages. With a bit of hunting I came up with the PhpMathPublisher package written by some French guy, released under GNU. No problems so far. This takes anything between <m></m> tags and creates a pretty image of it. Sweet. I even got as far as looking at the source code (which I had already tinkered with so I knew what was involved) and thinking this won't be too hard. Then I hit the problems: I tried simply copying the parse page for html and changing the regular expression from <html> to <m>. By introducing known errors I am positive that this page is called, but the render page is definitely not called. I am looking for someone(s) to help me trawl through the classes and figure out what needs doing. I repeat I am looking for someone who is good with Classes, not PHP. Okay now we have that cleared up I tell you about my progress. Initially I tried playing with code myself, this didn't work. I posted on the dedicated (yet deserted) mailing list, got no response. I posted on a number of dedicated php forums, no one was really interested in what I was doing. I have even emailed the author a few times but he hasn't responded yet (although I still live in hope that he is on holiday as his blog hasn't been update since the end of last month :o ). If you could possibly help me, here is the cvs of the project. The particular pages of interest: Basically all that needs to go in the render function is: [PHP]require "../Math/mathpublisher.php5"; $output = mathfilter($options['text'],"15","../Math/img"); return $output;[/PHP] I would really appreciate getting some help on this, and if we're successful, who knows, maybe we could get it in the next release, or even release the entire wiki to rival other lightweight versions (!!) :beard: But for now any help on the problem at hand would be much appreciated!
__________________
www.heldtogether.co.uk |
|
|
|
|
|
#2 |
|
Unverified User
Join Date: Aug 2005
Location: none
Posts: 146
Rep Power: 0
![]() |
1. "released under GNU" makes no sense in that context. GNU is an OS.
2. You're reinventing the wheel. MediaWiki has all this.
__________________
Warning: My posts may change (dramatically) within the first 15 minutes they're posted. Got 'Nux?—GNU/Linux and other free software support. It's GNU/Linux, not just Linux. |
|
|
|
|
|
#3 |
|
Programming Guru
![]() Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 5
![]() |
MediaWiki is a bit of a heavyweight, though.
|
|
|
|
|
|
#4 |
|
Professional Programmer
Join Date: May 2005
Location: Woo - Boot Sector!
Posts: 294
Rep Power: 4
![]() |
I meant to write GNU GPL, and no, mediawiki relies on a server farm, go figure.
The one I'm writing relies on a "one man and his dog" kinda show, with flat files and xml.
__________________
www.heldtogether.co.uk Last edited by LOI Kratong; Feb 22nd, 2007 at 12:14 PM. |
|
|
|
|
|
#5 | |
|
Unverified User
Join Date: Aug 2005
Location: none
Posts: 146
Rep Power: 0
![]() |
Quote:
In that case, just set up a bunch of blogs.
__________________
Warning: My posts may change (dramatically) within the first 15 minutes they're posted. Got 'Nux?—GNU/Linux and other free software support. It's GNU/Linux, not just Linux. |
|
|
|
|
|
|
#6 |
|
Professional Programmer
Join Date: May 2005
Location: Woo - Boot Sector!
Posts: 294
Rep Power: 4
![]() |
Yes thank you oh wise one!
Now if we can get back to the op, the question is rendering mathematical equations, not how I should go about my project, for which I have extensively researched and concluded that nothing currently available suits my needs. Has anyone managed to have a quick browse through the links above? Thanks.
__________________
www.heldtogether.co.uk |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Choosing a License for Open Source Project | smith.norton | Project Ideas | 23 | Oct 7th, 2006 3:27 AM |
| Open Source | kp4621 | Coder's Corner Lounge | 51 | May 19th, 2006 8:58 AM |
| How to meet these cross-platform project goals? | mattengland | C++ | 1 | Apr 3rd, 2006 4:01 AM |
| what open source code is good to read for a beginner? | linuxpimp20 | Other Programming Languages | 22 | Aug 30th, 2005 3:01 PM |