asp.net上的Wikipedia [英] Wikipedia in asp.net
问题描述
我必须将Wikipedia并入asp.net.
我正在寻找第三方组件(开放源代码引擎),但是可使用的开放源代码不提供我可以根据自己的要求进行修改的代码.
请为此类代码提供一些链接.
我已经检查了FlexWikiCore-2.1.0.274-web-full-Release,
ScrewTurnWiki-3 [1] .0.3.555和Sushiwiki-v1-RC1-for.NET1
在此先感谢
关于Makarand
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
推荐答案
ScrewTurn由ASP.NET使用,并具有多个扩展和转换点.
我认为,如果您描述了您提到的软件包中无法满足的一些要求,就会更容易找到所需的内容.
干杯.
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.
我认为Wikipedia.org可能对此有所帮助,但怀疑将它转换为html的工作量很大.
进行了一些谷歌搜索发现:
(它将Wiki搜索嵌入到网页中)
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)
<!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 [后面的代码]
----------------------------
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.
这篇关于asp.net上的Wikipedia的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!