action=parse

Help
Pat
2010-03-09
2013-05-13
  • Pat

    Pat - 2010-03-09

    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!

     
  • CodeDriller

    CodeDriller - 2010-03-09

    No, currently not.

     
  • Pat

    Pat - 2010-03-09

    Thanks for your prompt reply. Any plan for adding this?

     
  • CodeDriller

    CodeDriller - 2010-03-09

    I'm not sure. What can it be used for?

     
  • Pat

    Pat - 2010-03-09

    For converting wikimarkup into HTML…

     
  • CodeDriller

    CodeDriller - 2010-03-09

    Wikimarkup is automatically converted into HTML by MediaWiki parser when wiki page is saved. But you require the separate parser interface. Why?

     
  • Pat

    Pat - 2010-03-10

    So let me ask me another question. Is there a way to get the HTML for a specific page?

     
  • CodeDriller

    CodeDriller - 2010-03-10

    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.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks