Saturday, August 8, 2009

How can get wikipedia contents to my webpage without using my host space?

I want to put wikipedia content on my web page.



but i have few MB space only.



How can i put the contents from wikipedia like rss or any other method



please help me



How can get wikipedia contents to my webpage without using my host space?





copy to an external drive ........floppy, cd, thumb drive and then copy from that medium to your webpage



How can get wikipedia contents to my webpage without using my host space?



I think you can make a reference on your webpage to an article on wikipedia and tag it as a link anyone can click on the link and go there. I think.



Other Replys:One way to do this is to put the article you want to display in a inline frame



The name of the tag is iframe



You first need to have atricle URL then you can put this code in the desired part of your web page



Example :



%26lt;iframe src=%26quot;http://en.wikipedia.org/wiki/IFrame...



height=%26quot;100%26quot; width=%26quot;200%26quot; frameborder=%26quot;0%26quot; scrolling=%26quot;no%26quot;%26gt;



Wikipedia Article



%26lt;/iframe%26gt;



Hope it helps.



Other Replys:OK, since you mentioned ASP, I will assume that you have decent VBScript skills. What you want to do is have your server retrieve the Wikipedia article, then write it out to your own page. Create an ASP file with this code:



%26lt;%



Dim strWikiUrl



Dim strWikiPage



%26#039; This next line is the article you want to retrieve:



strWikiUrl=%26quot;http://en.wikipedia.org/wi...



set xmlhttp = CreateObject(%26quot;MSXML2.ServerXMLHTTP%26quot;)



xmlhttp.open %26quot;GET%26quot;, strWikiUrl, false



xmlhttp.send %26quot;%26quot;



strWikiPage = xmlhttp.responseText



set xmlhttp = nothing



response.write strWikiPage



%26gt;%



So what this code does is to make an HTTP request to retrieve the contents specified by the URL in strWikiUrl. If you want to customize it, you%26#039;ll have to parse the string and make whatever tweaks you want.



Other Replys:You can go to a YouTube video, and on the right hand side of it there is normally somewhere that says %26quot;Embed:%26quot; copy the text next to that, and paste it into MySpace.

No comments:

Post a Comment