[Mediawiki-l] how to export to html

Ben Fitzgerald ben_m_f at yahoo.co.uk
Thu Sep 29 11:55:38 UTC 2005


On Thu, Sep 29, 2005 at 10:36:30AM +0300, Ittay Dror wrote:
> Hi,
> 
> How can I export a MediaWiki page to HTML? What I want is to get a page 
> without the left sidebar, the tabs, and the bottom bar, just the actual 
> content.

How about simply using wget <URL> and then using the following
escapes to grab what you want:

<!-- start content -->
...your content here...
<!-- end content -->

These appear on my mediawiki pages, version 1.4.7.

You could use grep -n, tail and head to top 'n' tail it.

HTH,

Ben.

-- 
Registered Linux user number 339435



More information about the MediaWiki-l mailing list