Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Wiki functionality with rails?

What are the best plugins or gems to create a wiki functionality with rails ?

  1. How to maintain versions ?
  2. How to show html difference between two version ?

Any Idea ?

like image 557
krunal shah Avatar asked Nov 21 '25 16:11

krunal shah


2 Answers

I've got a wiki site which uses vestal_versions for versioning and this cool javascript diff for highlighting changes, similar to stack overflow. It works fine and was really simple to set up. By escaping html tags before diff'ing you can output changes to html tags and also display inserted javascript.

like image 92
mark Avatar answered Nov 24 '25 07:11

mark


If you don't want to build it yourself, you could just use Instiki:

http://instiki.org/show/HomePage

And even if you do want to build it yourself, the source is a good resource to answer your questions:

https://github.com/parasew/instiki

like image 21
Michael Kohl Avatar answered Nov 24 '25 06:11

Michael Kohl



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!