Text_Wiki

Creating and modifying plugins.
Post Reply
MySchizoBuddy
Regular
Posts: 340
Joined: Sun Jun 12, 2005 5:28 am

Text_Wiki

Post by MySchizoBuddy » Tue Jul 12, 2005 10:14 pm

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 :(

User avatar
garvinhicking
Core Developer
Posts: 30020
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Text_Wiki

Post by garvinhicking » Wed Jul 13, 2005 9:23 am

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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/

MySchizoBuddy
Regular
Posts: 340
Joined: Sun Jun 12, 2005 5:28 am

Post by MySchizoBuddy » Wed Jul 13, 2005 9:37 am

O then tell me how can i copy content from wikipedia and post it in my blog.
What plugin i need to do that

User avatar
garvinhicking
Core Developer
Posts: 30020
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking » Wed Jul 13, 2005 9:38 am

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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/

MySchizoBuddy
Regular
Posts: 340
Joined: Sun Jun 12, 2005 5:28 am

Post by MySchizoBuddy » Wed Jul 13, 2005 9:55 am

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.

User avatar
garvinhicking
Core Developer
Posts: 30020
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking » Wed Jul 13, 2005 10:12 am

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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/

MySchizoBuddy
Regular
Posts: 340
Joined: Sun Jun 12, 2005 5:28 am

Post by MySchizoBuddy » Wed Jul 13, 2005 10:21 am

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

User avatar
garvinhicking
Core Developer
Posts: 30020
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking » Wed Jul 13, 2005 12:52 pm

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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/

Post Reply