You are not logged in.
A php5 parser that uses some type of wiki syntax. Originally I was shooting for phpwiki syntax, but any reasonable wiki syntax will do. The parser module is actually the most...um..modular.
The hope is that people will be able to write their own language specific parsers, and have it be drop in. That way they can edit wiki text in any external language they want. The internal structure is XML, so it is pretty extensible and malleable.
the parser I need would convert some external wikitext like format, to an xml document, or some datastructure that I could then later convert to the internal xml document..
hope that extra info is useful..
"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍
Offline
I have changed the concept of my parser many times. The first was a really two-pass parser. Currently I have a simple parser for some usefull codes.
Today I switched from my selfmade xml-like text-representation to XHTML. (Headings are marked as <h1> etc.) Converting to XML shouldn`t be that complicated.
Perhaps I will post the source and a link to a working demo.
Offline
yeah, we'll do solarwiki!
cactus, if you need help/suggestions/whatever post to the programming forum... or on cactuswax/whatever...
I'm not great with php... but if you want to throw some xslt in there, or something else, I can bust that out like mad...
Offline
and if I got my software ready, we could also have a own board *g*
Offline
I get errors in the wiki area quite a lot...blablabla database conection blablbala
There must be version of a wiki area with out errors (mostly when my connection is slow) and maybe a layout with quicker navigation would be nice, shotscuts to handy links, a bit the wikipedia layout.
But the text must be black with a white blackground !!!! and a lot images are also useless, wiki must be fast and a decent navigation
Offline
cool. thanks guys.
"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍
Offline
OK, here is a little status-report of my project. Currently supported tags are:
EDIT: Currently under heavy development...so it might not worked as described here ;-)
- Code-Tags like those in phpBB
- a line starting with a space is treated as code
- [quote]
- Lists like those from Mediawiki (starting with *)
- Headings with ==
- em-tags with ''
- Links from Mediawiki
- Autolinking
- Smilies ;-)
- Code-Highlightning
A test-page can be found under http://www.laber-land.de/~pierre/develop/MarkupTest.php
The source for the important files: http://www.laber-land.de/~pierre/develop.html/kernel/ (Those files are highlighted with the parser itself ;-))
How it works: Put a reference to a text in BbCode->encode($text) and you get a HTML-formated version.
Offline
Why don't you use Pear? -> http://pear.php.net/package/Text_Wiki
Offline
Why don't you use Pear? -> http://pear.php.net/package/Text_Wiki
1.0.0 (stable) was released on 2005-03-14
I saw it before, but it was still alpha then. I might give it another look now.
thanks.
"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍
Offline
I just looked at cowiki. It has some cool features, is very easy and fast.
Offline
I just looked at cowiki. It has some cool features, is very easy and fast.
I setup a demo site for testing cowiki. If you wan't to "play" in it, shoot me a pm.
"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍
Offline
Thanks, but I am currently tsting it on my server wiki.laber-land.de ;-)
PS: Did you also have troubels with the current stable version? I tested on two different Arch with PHP 5.0.3 an 5.0.4 and Debian Sarge with PHP 5.0.4. I allways get emtpy pages...no errors.
The CVS-Version works better...but the auth-plugins does not seem to work.
Offline
I had to set permissions properly for the mysql tables. You have to allow locking, which isn't something I normally have to think about.
Also, I found I couldn't run it in su_exec mode. I had to have it in the regular apache docroot somewhere (or a vhost). It would not work in ~user dirs.
"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍
Offline
OK, I tried it in a ~dir. :-) strange thing.
But I really like the unix-like file-management and the clear structure.
Offline
I guess it makes sense, since they use system gnu diff, and those apps cannot be called from an su_exec php instance unless those utilities are owned by the same user.
"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍
Offline
yes, but I don't use su_exec...
Offline
It is used by default for apache and user home dirs. anything executed in them (php, cgi, etc) is su_exec by default.
"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍
Offline
thread hijack!
Offline
Hi,
going back to the initial question: Is it good enough? I think it is not. I don't
mind that it's not pretty but I really miss some features:
- links within long documents (check my remote install and my courier-mta wiki to know what I mean)
- at least for shell-scripts/conf files a little color coding engine would be nice to highlight the comments, this would bumb the readability for some stuff a lot
- neri
Offline
http://www.s9y.org/
the above is a blog software project, but it is using cowiki for their website.
"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍
Offline
Maybe add something similar to this: http://wiki.garrysmod.com/wiki/?title=Main_Page
IMHO, the wiki look just ugly.
(I know this is an old thread.)
Birger
Last edited by MindTooth (2009-04-09 18:38:57)
Offline
(I know this is an old thread.)
No kidding. We've changed wiki backends at least once, I think twice since then.
Dusty
Offline
hmmm....5 years ago this thread began? Necro-bumped!
closed
Offline