Click here to Skip to main content
15,906,558 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have to incorporate wikipedia in asp.net.

I am looking for third party component, (opensource engine), but avilable opensource do not provide code which I can modify as per my requirements.

Please suggest some links for such code.

I have checked FlexWikiCore-2.1.0.274-web-full-Release,
ScrewTurnWiki-3[1].0.3.555 and Sushiwiki-v1-RC1-for.NET1

Thanks in advance

Regards Makarand
Posted
Updated 26-Jul-10 3:53am
v2
Comments
Dalek Dave 26-Jul-10 9:54am    
Edited for Readability, Spelling and Syntax.
TheyCallMeMrJames 30-Jul-10 17:16pm    
how did you make out with this?

ScrewTurn is used by ASP.NET and has several extension and transformation points.

I think it'll be easier to find what you're looking for if you describe some of your requirements that can't be met in the packages you've mentioned.

Cheers.
 
Share this answer
 
I think there may be help at Wikipedia.org for this, but suspect there will be a fair amount of work to turn it into html.


A bit of googling found this:
(It will embed a wiki search into a webpage)

XML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
    <title>Untitled Page</title>
</head>
<body>
<form action="search-redirect.aspx" id="searchform"><div>
   <input id="searchInput" name="search" type="text" />
   <input type='submit' name="go" class="searchButton" id="searchGoButton" value="Search" />
</div></form>
</body>
</html>


search-redirect.aspx [code behind]
----------------------------
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial class search_redirect : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        Response.Redirect("http://en.wikipedia.org/wiki/Special:Search?search="+Request.Params["search"]+"&go=Go");
    }
}



Hope it helps.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900