From thiago.arrais at gmail.com Wed Nov 19 06:37:46 2008 From: thiago.arrais at gmail.com (Thiago Arrais) Date: Wed, 19 Nov 2008 08:37:46 -0300 Subject: [Mediacloth-talk] plain text generator In-Reply-To: <54de02ae0810200005g1f7afd98n816841715f3c5bde@mail.gmail.com> References: <54de02ae0810200005g1f7afd98n816841715f3c5bde@mail.gmail.com> Message-ID: On Mon, Oct 20, 2008 at 4:05 AM, Ashutosh Chauhan wrote: > Is it possible to generate plain text output from MediaCloth instead > of html? [...] Let me know if its possible directly or how to modify the > sources to achieve this. Take a loot at the mediacloth.rb file. The component responsible for the output is the MediaWikiWalker (MediaWikiHTMLGenerator is an example). You can write your own walker that just emits the text without the markup or modify the html generator somehow to strip all the tags. Good luck, Thiago Arrais