List Info

Thread: how to export to html?




how to export to html?
user name
2006-12-31 10:25:00
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

-- 
===================================
Ittay Dror, 
Chief architect, openQRM group leader, 
R&D, Qlusters Inc.
ittaydqlusters.com
+972-3-6081994 Fax: +972-3-6081841

www.openqrm.org - Data Center Provisioning
_______________________________________________
MediaWiki-l mailing list
MediaWiki-lWikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l

how to export to html?
user name
2006-12-31 19:41:55
On 31/12/06, Ittay Dror <ittaydqlusters.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
_______________________________________________
MediaWiki-l mailing list
MediaWiki-lWikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l

how to export to html?
user name
2006-12-31 21:08:25

Rob Church wrote:
> On 31/12/06, Ittay Dror <ittaydqlusters.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-lWikimedia.org
> http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
> 


-- 
===================================
Ittay Dror, 
Chief architect, openQRM group leader, 
R&D, Qlusters Inc.
ittaydqlusters.com
+972-3-6081994 Fax: +972-3-6081841

www.openqrm.org - Data Center Provisioning
_______________________________________________
MediaWiki-l mailing list
MediaWiki-lWikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )