Am 24.02.2009 10:02, _sc_ schrieb:
> On Tuesday 24 February 2009 2:34 am, Tom wrote:
>> 
>> > I wrote a hackish ruby script that converts the xml dump to a
>> > tagged help file.
>> 
>> The script can be downloaded from here if somebody is interested. The
>> output isn't perfect but it's okay for me.
>> http://github.com/tomtom/vimtlib/blob/83976d6b1572000b9950241749371206f7e03d59/ruby/vimtips2help.rb
>> 
>> Requirements: ruby, hpricot
> 
> i'll buy a cup of coffee for the first person to port tom's script
> to python/beautifulsoup...
> [...]

There's a specialized MediaWiki parser for Python:

http://code.pediapress.com/wiki/wiki

Perhaps that's easier to use than beautifulsoup.

If you want to get the tips as a XML file you can also use the Export
pages page <http://vim.wikia.com/wiki/Special:Export> and export pages
from the categories VimTip and VimTipProposed. By using this page you
automatically get only the current revision of the tips.


Dennis Benzinger

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to