Hi there,
I'm trying to find a way to use the dotnetwiki api to generate HTML from WikiMarkup
In other words, is there a dotnetwiki function for this kind of call? http://en.wikipedia.org/w/api.php?action=parse&format=xml&text=mytext []
Thanks!
No, currently not.
Thanks for your prompt reply. Any plan for adding this?
I'm not sure. What can it be used for?
For converting wikimarkup into HTML…
Wikimarkup is automatically converted into HTML by MediaWiki parser when wiki page is saved. But you require the separate parser interface. Why?
So let me ask me another question. Is there a way to get the HTML for a specific page?
Yes. The function is called GetPageHTM(string pageURL) in Site class. It returns the HTML of the specified page.
Log in to post a comment.
Hi there,
I'm trying to find a way to use the dotnetwiki api to generate HTML from WikiMarkup
In other words, is there a dotnetwiki function for this kind of call?
http://en.wikipedia.org/w/api.php?action=parse&format=xml&text=mytext []
Thanks!
No, currently not.
Thanks for your prompt reply. Any plan for adding this?
I'm not sure. What can it be used for?
For converting wikimarkup into HTML…
Wikimarkup is automatically converted into HTML by MediaWiki parser when wiki page is saved. But you require the separate parser interface. Why?
So let me ask me another question. Is there a way to get the HTML for a specific page?
Yes. The function is called GetPageHTM(string pageURL) in Site class. It returns the HTML of the specified page.