Hi,
I've asked this question more than a year ago and got two suggestions: * use 'printable=yes' * use saveHTML.py
using 'printable', the page formatting is not right (it looks different, e.g., preformatted text). also, the footer is still there. i couldn't make saveHTML work on my local site. it seems it has too many assumptions about the url paths used (in getting, and in regural expression searching)
Any other alternatives? I'd like to mediawiki to render the page exactly as it does for viewing (and previewing), but not add the decorations
I tried extracting just the section of the content from the page, but because it is not proper XML, i failed)
Thanks, Ittay
P.s., Happy new year
On 31/12/06, Ittay Dror ittayd@qlusters.com wrote:
using 'printable', the page formatting is not right (it looks different, e.g., preformatted text). also, the footer is still there.
That's because it's basically a format for printing, not for rendered HTML output.
Any other alternatives? I'd like to mediawiki to render the page exactly as it does for viewing (and previewing), but not add the decorations
* maintenance/dumpHtml.php * action=render
I tried extracting just the section of the content from the page, but because it is not proper XML, i failed)
MediaWiki wraps the actual content in a named div, and also inserts <!-- begin content --> and ending comments around it. You could use this in a regular expression....
Rob Church
Rob Church wrote:
On 31/12/06, Ittay Dror ittayd@qlusters.com wrote:
using 'printable', the page formatting is not right (it looks different, e.g., preformatted text). also, the footer is still there.
That's because it's basically a format for printing, not for rendered HTML output.
Any other alternatives? I'd like to mediawiki to render the page exactly as it does for viewing (and previewing), but not add the decorations
- maintenance/dumpHtml.php
- action=render
thanks! that was what i was looking for. where can i find all actions possible? is there a documentation as to how to add my own?
I tried extracting just the section of the content from the page, but because it is not proper XML, i failed)
MediaWiki wraps the actual content in a named div, and also inserts
<!-- begin content --> and ending comments around it. You could use
this in a regular expression....
Rob Church _______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org