Is there a plugin for displaying wikipedia content? looked around but just could not find one. thanks
There was some discussion on the rails-wiki list about this a while back; the conclusion was the Wikipedia markup is both incompletely documented AND incredibly tricky to parse. That''s why they picked another system for wiki.rubyonrails.org... --Matt Jones On Jun 13, 12:22 pm, "tashfeen.ekram" <tashfeen.ek...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Is there a plugin for displaying wikipedia content? > > looked around but just could not find one. > > thanks
Matt Jones wrote:> There was some discussion on the rails-wiki list about this a while > back; the conclusion was the Wikipedia markup is both incompletely > documented AND incredibly tricky to parse. That''s why they picked > another system for wiki.rubyonrails.org...And given what they came up with, I''m really unimpressed. MediaWiki markup is probably the most familiar wiki syntax to most end-users, so I''m trying to keep it for a wiki feature I''m going to be adding to a project of mine. I''ve started writing a Treetop-based parser for MediaWiki markup and have found it surprisingly simple (at least at this early stage). Contributions are welcome; see http://github.com/marnen/rookie . Best, -- Marnen Laibow-Koser http://www.marnen.org marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org> > --Matt Jones >-- Posted via http://www.ruby-forum.com/.
Hi, You can use MediaCloth.Its a nice Mediawiki parser.You feed it with a media wiki syntax and it’s supposed to return a correct html. It works, it’s not perfect but it works. Thanks, On Sun, Jun 14, 2009 at 9:16 PM, Marnen Laibow-Koser < rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > Matt Jones wrote: > > There was some discussion on the rails-wiki list about this a while > > back; the conclusion was the Wikipedia markup is both incompletely > > documented AND incredibly tricky to parse. That''s why they picked > > another system for wiki.rubyonrails.org... > > And given what they came up with, I''m really unimpressed. MediaWiki > markup is probably the most familiar wiki syntax to most end-users, so > I''m trying to keep it for a wiki feature I''m going to be adding to a > project of mine. > > I''ve started writing a Treetop-based parser for MediaWiki markup and > have found it surprisingly simple (at least at this early stage). > Contributions are welcome; see http://github.com/marnen/rookie . > > Best, > -- > Marnen Laibow-Koser > http://www.marnen.org > marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org > > > > > --Matt Jones > > > -- > Posted via http://www.ruby-forum.com/. > > > >-- Hemali Chauhan Complitech Solutions (www.complitech.net) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Hemali Chauhan wrote:> Hi, > > You can use MediaCloth.Its a nice Mediawiki parser.Is MediaCloth actually usable? I thought it wasn''t mature enough yet. Best, -- Marnen Laibow-Koser http://www.marnen.org marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org -- Posted via http://www.ruby-forum.com/.
Yes thats right its not that mature yet but I have tried to parse basic Mediawiki tags (external link,internal link,image & many more...). That worked for me with Media Cloth. Thanks, Hemali Chauhan Complitech Solutions (www.complitech.net) On Sun, Jun 14, 2009 at 11:42 PM, Marnen Laibow-Koser < rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > Hemali Chauhan wrote: > > Hi, > > > > You can use MediaCloth.Its a nice Mediawiki parser. > > Is MediaCloth actually usable? I thought it wasn''t mature enough yet. > > Best, > -- > Marnen Laibow-Koser > http://www.marnen.org > marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org > -- > Posted via http://www.ruby-forum.com/. > > > >-- --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---