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.
Thanks, Ittay
View it in print format and view the source. Save the source file as an HTML file.
To view the page in print format, do http://www.mydomain.com/wiki/index.php?page=Title&print=yes, replacing the path to your wiki as required.
Rob Church
On 29/09/05, Ittay Dror ittayd@qlusters.com 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.
Thanks, Ittay
--
Ittay Dror (ittayd@qlusters.com) Application Team Leader, R&D Qlusters Inc. +972-3-6081994 Fax: +972-3-6081841 _______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
Am 29.09.2005 um 09:56 schrieb Rob Church:
View it in print format and view the source. Save the source file as an HTML file.
To view the page in print format, do http://www.mydomain.com/wiki/index.php?page=Title&print=yes, replacing the path to your wiki as required.
actually there's a saveHTML.py in the pywikipediabot. can download all the images too.
ciao, tom
-- http://de.wikipedia.org/wiki/Benutzer:TomK32 http://www.tomk32.de
Rob Church wrote:
View it in print format and view the source. Save the source file as an HTML file.
To view the page in print format, do http://www.mydomain.com/wiki/index.php?page=Title&print=yes, replacing the path to your wiki as required.
I run a relatively small private mediawiki with 'all my knowledge' in it. I need to make an entire dump of the content to run it as a static mirror on my pda. How do I make that dump?
Daniel
thanx for the help,
to test this, i tried http://en.wikipedia.org/wiki/index.php?page=Blitzkrieg&print=yes, which gives an error page.
thanx, ittay
Rob Church wrote:
View it in print format and view the source. Save the source file as an HTML file.
To view the page in print format, do http://www.mydomain.com/wiki/index.php?page=Title&print=yes, replacing the path to your wiki as required.
Rob Church
On 29/09/05, Ittay Dror ittayd@qlusters.com 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.
Thanks, Ittay
--
Ittay Dror (ittayd@qlusters.com) Application Team Leader, R&D Qlusters Inc. +972-3-6081994 Fax: +972-3-6081841 _______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
Sorry, that ought to have been printable=yes, so http://en.wikipedia.org/w/index.php?title=Main_Page&printable=yes, for instance.
Rob Church
On 29/09/05, Ittay Dror ittayd@qlusters.com wrote:
thanx for the help,
to test this, i tried http://en.wikipedia.org/wiki/index.php?page=Blitzkrieg&print=yes, which gives an error page.
thanx, ittay
Rob Church wrote:
View it in print format and view the source. Save the source file as an HTML file.
To view the page in print format, do http://www.mydomain.com/wiki/index.php?page=Title&print=yes, replacing the path to your wiki as required.
Rob Church
On 29/09/05, Ittay Dror ittayd@qlusters.com 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.
Thanks, Ittay
--
Ittay Dror (ittayd@qlusters.com) Application Team Leader, R&D Qlusters Inc. +972-3-6081994 Fax: +972-3-6081841 _______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
--
Ittay Dror (ittayd@qlusters.com) Application Team Leader, R&D Qlusters Inc. +972-3-6081994 Fax: +972-3-6081841
Rob Church wrote:
Sorry, that ought to have been printable=yes, so http://en.wikipedia.org/w/index.php?title=Main_Page&printable=yes, for instance.
doesn't work either.
but http://en.wikipedia.org/wiki/Blitzkrieg?printable=yes does work
but, what i want is to get the html (with links, colors), but just remove the sidebar, tab headers and footer. can i do that?
thanx, ittay
Rob Church
On 29/09/05, Ittay Dror ittayd@qlusters.com wrote:
thanx for the help,
to test this, i tried http://en.wikipedia.org/wiki/index.php?page=Blitzkrieg&print=yes, which gives an error page.
thanx, ittay
Rob Church wrote:
View it in print format and view the source. Save the source file as an HTML file.
To view the page in print format, do http://www.mydomain.com/wiki/index.php?page=Title&print=yes, replacing the path to your wiki as required.
Rob Church
On 29/09/05, Ittay Dror ittayd@qlusters.com 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.
Thanks, Ittay
--
Ittay Dror (ittayd@qlusters.com) Application Team Leader, R&D Qlusters Inc. +972-3-6081994 Fax: +972-3-6081841 _______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
--
Ittay Dror (ittayd@qlusters.com) Application Team Leader, R&D Qlusters Inc. +972-3-6081994 Fax: +972-3-6081841
Am 29.09.2005 um 11:15 schrieb Ittay Dror:
thanx for the help, to test this, i tried http://en.wikipedia.org/wiki/index.php? page=Blitzkrieg&print=yes, which gives an error page.
there's the (virtual) /wiki/ directory and the /w/ directory where the actual php-files are in.
about the converting, there's some tool that should be even better than my saveHTML.py but I'm not sure if it is complete: http://people.ucsc.edu/~merphant/wiki2html.html There's once also was wiki2static but it seems to have disappeared :-(
ciao, tom
-- http://de.wikipedia.org/wiki/Benutzer:TomK32 http://www.tomk32.de
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.
mediawiki-l@lists.wikimedia.org