Page 1 of 1

Text_Wiki

Posted: Tue Jul 12, 2005 10:14 pm
by MySchizoBuddy
How do i use it.
I installed it and checked yes to all the options that said "default is on"
and copied a sample wiki from wikipedia and nothing happens. It shows it only as code :(

Re: Text_Wiki

Posted: Wed Jul 13, 2005 9:23 am
by garvinhicking
Text_Wiki is a PEAR class, it's documentation can be found here:

http://wiki.ciaweb.net/yawiki/index.php?wiki=Text_Wiki
and
http://pear.php.net/package/Text_Wiki

Actually it is a bit different than Wikipedia markup.

Regards,
Garvin

Posted: Wed Jul 13, 2005 9:37 am
by MySchizoBuddy
O then tell me how can i copy content from wikipedia and post it in my blog.
What plugin i need to do that

Posted: Wed Jul 13, 2005 9:38 am
by garvinhicking
I think there is none, if Text_Wiki does not work.

You could copy the HTML code of Wikipedia or paste it unformatted...

Maybe you can see how the syntax differs and maybe it's just a few minor things.

Regards,
Garvin

Posted: Wed Jul 13, 2005 9:55 am
by MySchizoBuddy
thanks garvin
One last thing, When i use text_wiki plugin, does it have to be at the top of the plugin hierachy. and do i have to wrap it under some tag to make it work, like i warp geshi code for eg.

Posted: Wed Jul 13, 2005 10:12 am
by garvinhicking
It depends on the list of event plugins you have installed. If you tell me your event plugins I'll tell you where you should best stack it.

It should work without any prefixing tags, you writing "//test//" should italicize the text.

Regards,
Garvin

Posted: Wed Jul 13, 2005 10:21 am
by MySchizoBuddy
thanks.it works.
just have to figure out the differences between wikipedia

btw how come the directory structure of text_wiki installed with s9y is different than the one u get from pear. Pear one doens't have the rules folder, it has Xhtml, Latex and plane.

does s9y have a customized version text_wiki

Posted: Wed Jul 13, 2005 12:52 pm
by garvinhicking
I think s9y has an older version of text_wiki. Since the maintainer has not committed changes yet, it is a bit unmaintained and I personally don't use it nor see a reason to use it in a blog context. I rather use bbcode or geshi or whatever happens to be in place. Or mostly HTML. :)

Regards,
Garvin