Re: [Wikitech-l] hosting wikipedia

2009-02-13 Thread Mark (Markie)
try JSON to call the results which can then be written to your page via js.
but really your gunna have to solve this your self, there are lots of
different ways and we cant make your site for you...

regards

mark

On Fri, Feb 13, 2009 at 2:17 PM, Stephen Dunn swd...@yahoo.com wrote:

 Any thoughts on this??
 What code would I use if decided to use Open Search? Any thoughts on how to
 manage the search results to integrate it with my website present it
 consistently with the rest of the site?




 - Original Message 
 From: Tei oscar.vi...@gmail.com
 To: Wikimedia developers wikitech-l@lists.wikimedia.org
 Sent: Wednesday, January 28, 2009 2:31:42 AM
 Subject: Re: [Wikitech-l] hosting wikipedia

 On Wed, Jan 28, 2009 at 8:28 AM, Tei oscar.vi...@gmail.com wrote:
  On Wed, Jan 28, 2009 at 1:41 AM, Aryeh Gregor
  simetrical+wikil...@gmail.com simetrical%2bwikil...@gmail.com wrote:
  On Tue, Jan 27, 2009 at 7:37 PM, George Herbert
  george.herb...@gmail.com wrote:
  Right, but a live mirror is a very different thing than a search box
 link.
 
  Well, as far as I can tell, we have no idea whether the original
  poster meant either of those, or perhaps something else altogether.
  Obviously nobody minds a search box link, that's just a *link*.  You
  can't stop people from linking to you.
 
 
  This one code don't even need to use
  http://en.wiktionary.org/wiki/Special:Search
 
  input box id=word /
  form id=form1
  input type=button onclick=searchWiktionary() value=Define /
  /form
 
  script
 
  function $(name){
   return document.getElementById(name);
  }
 
  function searchWiktionary(){
   var word = $(word).value;
   $(form1).setAttribute(action,http://en.wiktionary.org/wiki/+
  escape(word) );
   $(form1).submit();
  }
  /script
 
 

 postadata:
 I know the OP talk about OpenSearch. This snip of code is something
 different instead.

 --
 --
 ℱin del ℳensaje.

 ___
 Wikitech-l mailing list
 Wikitech-l@lists.wikimedia.org
 https://lists.wikimedia.org/mailman/listinfo/wikitech-l

 ___
 Wikitech-l mailing list
 Wikitech-l@lists.wikimedia.org
 https://lists.wikimedia.org/mailman/listinfo/wikitech-l

 ___
 Wikitech-l mailing list
 Wikitech-l@lists.wikimedia.org
 https://lists.wikimedia.org/mailman/listinfo/wikitech-l

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] hosting wikipedia

2009-01-28 Thread Stephen Dunn
I want to offer something like reference. com where the results are formatted 
in a manner consistent with the look and feel of my website. try a search on 
this site and you will see what I mean. So is this a live mirror? If ads are on 
the site, is the revenue shared?



- Original Message 
From: Aryeh Gregor simetrical+wikil...@gmail.com
To: Wikimedia developers wikitech-l@lists.wikimedia.org
Sent: Tuesday, January 27, 2009 7:41:24 PM
Subject: Re: [Wikitech-l] hosting wikipedia

On Tue, Jan 27, 2009 at 7:37 PM, George Herbert
george.herb...@gmail.com wrote:
 Right, but a live mirror is a very different thing than a search box link.

Well, as far as I can tell, we have no idea whether the original
poster meant either of those, or perhaps something else altogether.
Obviously nobody minds a search box link, that's just a *link*.  You
can't stop people from linking to you.

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


[Wikitech-l] hosting wikipedia

2009-01-27 Thread Stephen Dunn
Hi Folks:

I am a newbie so I apologize if I am asking basic questions. How would I go 
about hosting wiktionary allowing search queries via the web using opensearch. 
I am having trouble fining info on how to set this up. Any assistance is 
greatly appreciated.

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


Re: [Wikitech-l] hosting wikipedia

2009-01-27 Thread Thomas Dalton
2009/1/27 Stephen Dunn swd...@yahoo.com:
 Hi Folks:

 I am a newbie so I apologize if I am asking basic questions. How would I go 
 about hosting wiktionary allowing search queries via the web using 
 opensearch. I am having trouble fining info on how to set this up. Any 
 assistance is greatly appreciated.

Why do you want to host Wiktionary? It's already hosted at
en.wiktionary.org. And do you mean Wiktionary (as you said in the body
of your email) or Wikipedia (as you said in the subject line)? Or do
you actually mean your own wiki, unrelated to either of those?

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


Re: [Wikitech-l] hosting wikipedia

2009-01-27 Thread Stephen Dunn
I am working on a project to host wiktionary on one web page and wikipedia on 
another. So both, sorry..



- Original Message 
From: Thomas Dalton thomas.dal...@gmail.com
To: Wikimedia developers wikitech-l@lists.wikimedia.org
Sent: Tuesday, January 27, 2009 12:43:49 PM
Subject: Re: [Wikitech-l] hosting wikipedia

2009/1/27 Stephen Dunn swd...@yahoo.com:
 Hi Folks:

 I am a newbie so I apologize if I am asking basic questions. How would I go 
 about hosting wiktionary allowing search queries via the web using 
 opensearch. I am having trouble fining info on how to set this up. Any 
 assistance is greatly appreciated.

Why do you want to host Wiktionary? It's already hosted at
en.wiktionary.org. And do you mean Wiktionary (as you said in the body
of your email) or Wikipedia (as you said in the subject line)? Or do
you actually mean your own wiki, unrelated to either of those?

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


Re: [Wikitech-l] hosting wikipedia

2009-01-27 Thread Stephen Dunn
yes, website. so a web page has a search box that passes the input to 
wiktionary and results are provided on a results page. an example may be 
reference..com



- Original Message 
From: Thomas Dalton thomas.dal...@gmail.com
To: Wikimedia developers wikitech-l@lists.wikimedia.org
Sent: Tuesday, January 27, 2009 12:50:18 PM
Subject: Re: [Wikitech-l] hosting wikipedia

2009/1/27 Stephen Dunn swd...@yahoo.com:
 I am working on a project to host wiktionary on one web page and wikipedia on 
 another. So both, sorry..

You mean web *site*, surely? They are both far too big to fit on a
single page. I think you need to work out precisely what it is you're
trying to do before we can help you.

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


Re: [Wikitech-l] hosting wikipedia

2009-01-27 Thread Thomas Dalton
2009/1/27 Stephen Dunn swd...@yahoo.com:
 yes, website. so a web page has a search box that passes the input to 
 wiktionary and results are provided on a results page. an example may be 
 reference..com

How would this differ from the search box on en.wiktionary.org? What
are you actually trying to achieve?

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


Re: [Wikitech-l] hosting wikipedia

2009-01-27 Thread Tei
maybe this is what this guy need:

form name=bodySearch id=bodySearch class=bodySearch
action=http://en.wiktionary.org/wiki/Special:Search;
input type=text name=search size=50 id=bodySearchInput
/input type=submit name=go value=Define /
/form

test:
http://zerror.com/unorganized/wika/test.htm

it don't seems wiktionary block external searchs now (via REFERRER),
but maybe may change the policy on the future/change the parameters
needed.

On Tue, Jan 27, 2009 at 7:18 PM, Stephen Dunn swd...@yahoo.com wrote:
 refer to reference. com website and do a search

 yes, website. so a web page has a search box that passes the input to 
 wiktionary and results are provided on a results page. an example may be 
 reference..com

 How would this differ from the search box on en.wiktionary.org? What
 are you actually trying to achieve?



-- 
--
ℱin del ℳensaje.

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] hosting wikipedia

2009-01-27 Thread Jeff Ferland
I'll try to weigh in with a bit of useful information, but it probably  
won't help that much.

You'll need a quite impressive machine to host even just the current  
revisions of the wiki. Expect to expend 10s to even hundreds of  
gigabytes on the database alone for Wikipedia using only the current  
versions.

There instructions for how to load the data that can be found by  
googling wikipedia dump.

Several others have inquired for more information about your goal, and  
I'm going to echo that. The mechanics of hosting this kind of data  
(volume, really) are highly related to the associated task.

This data used for academic research would be handled differenty than  
for a live website, for example.

Nobody likes to be told they can't do something, or get a bunch of  
useless responses to a request for help. Very sincerely, though,  
unless you find enough information from the dump instruction pages to  
point you on the right direction and are able to ask more specific  
questions, you are in over your head. Your solution at that point  
would be to hire somebody.

Sent from my phone,
Jeff

On Jan 27, 2009, at 12:34 PM, Stephen Dunn swd...@yahoo.com wrote:

 Hi Folks:

 I am a newbie so I apologize if I am asking basic questions. How  
 would I go about hosting wiktionary allowing search queries via the  
 web using opensearch. I am having trouble fining info on how to set  
 this up. Any assistance is greatly appreciated.

 ___
 Wikitech-l mailing list
 Wikitech-l@lists.wikimedia.org
 https://lists.wikimedia.org/mailman/listinfo/wikitech-l

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


Re: [Wikitech-l] hosting wikipedia

2009-01-27 Thread Steve Summit
Jeff Ferland wrote:
 You'll need a quite impressive machine to host even just the current  
 revisions of the wiki. Expect to expend 10s to even hundreds of  
 gigabytes on the database alone for Wikipedia using only the current  
 versions.

No, no, no.  You're looking at it all wrong.  That's the sucker's
way of doing it.

If you're smart, you put up a simple page with a text box labeled
Wikipedia search, and whenever someone types a query into
the box and submits it, you ship the query over to the Wikimedia
servers, and then slurp back the response, and display it back
to the original submitter.  That way only Wikimedia has to worry
about all those pesky gigabyte-level database hosting requirements,
while you get all the glory.

This appears to be what the questioner is asking about.

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


Re: [Wikitech-l] hosting wikipedia

2009-01-27 Thread George Herbert
On Tue, Jan 27, 2009 at 11:29 AM, Steve Summit s...@eskimo.com wrote:

 Jeff Ferland wrote:
  You'll need a quite impressive machine to host even just the current
  revisions of the wiki. Expect to expend 10s to even hundreds of
  gigabytes on the database alone for Wikipedia using only the current
  versions.

 No, no, no.  You're looking at it all wrong.  That's the sucker's
 way of doing it.

 If you're smart, you put up a simple page with a text box labeled
 Wikipedia search, and whenever someone types a query into
 the box and submits it, you ship the query over to the Wikimedia
 servers, and then slurp back the response, and display it back
 to the original submitter.  That way only Wikimedia has to worry
 about all those pesky gigabyte-level database hosting requirements,
 while you get all the glory.

 This appears to be what the questioner is asking about.


Let's AGF a bit...

Even if someone with a not particularly Wikipedia goal in life links to one
of our searches from their page, all the resultant search result links are
back into Wikipedia.

If people have a question about something, and want to look it up, does it
really matter if they go to Wikipedia's front page and click search versus
doing so in another context?

We're providing an information resource - other sites can and often do link
to our articles (quite appropriately).  Why not link to our search?

The search link should in fairness tell people what they're getting, sure,
but that's more of a website-to-end-user disclosure problem than a problem
for us.

Google switching to use our search would crush us, obviously.  As would
AOL.  But J. Random site?  Seems like an ok thing, to me.


-- 
-george william herbert
george.herb...@gmail.com
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


Re: [Wikitech-l] hosting wikipedia

2009-01-27 Thread George Herbert
On Tue, Jan 27, 2009 at 3:54 PM, Aryeh Gregor
simetrical+wikil...@gmail.comsimetrical%2bwikil...@gmail.com
 wrote:

 Anyway, the reason live mirrors are prohibited is not for load
 reasons.  I believe it's because if a site does nothing but stick up
 some ads and add no value, Wikimedia is going to demand a cut of the
 profit for using its trademarks and so on.  Some sites pay Wikimedia
 for live mirroring.  So the others, in principle, get blocked.


Right, but a live mirror is a very different thing than a search box link.


-- 
-george william herbert
george.herb...@gmail.com
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


Re: [Wikitech-l] hosting wikipedia

2009-01-27 Thread Aryeh Gregor
On Tue, Jan 27, 2009 at 7:37 PM, George Herbert
george.herb...@gmail.com wrote:
 Right, but a live mirror is a very different thing than a search box link.

Well, as far as I can tell, we have no idea whether the original
poster meant either of those, or perhaps something else altogether.
Obviously nobody minds a search box link, that's just a *link*.  You
can't stop people from linking to you.

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


Re: [Wikitech-l] hosting wikipedia

2009-01-27 Thread Tei
On Wed, Jan 28, 2009 at 1:41 AM, Aryeh Gregor
simetrical+wikil...@gmail.com wrote:
 On Tue, Jan 27, 2009 at 7:37 PM, George Herbert
 george.herb...@gmail.com wrote:
 Right, but a live mirror is a very different thing than a search box link.

 Well, as far as I can tell, we have no idea whether the original
 poster meant either of those, or perhaps something else altogether.
 Obviously nobody minds a search box link, that's just a *link*.  You
 can't stop people from linking to you.


This one code don't even need to use
http://en.wiktionary.org/wiki/Special:Search

input box id=word /
form id=form1
input type=button onclick=searchWiktionary() value=Define /
/form

script

function $(name){
  return document.getElementById(name);
}

function searchWiktionary(){
  var word = $(word).value;
  $(form1).setAttribute(action,http://en.wiktionary.org/wiki/+
escape(word) );
  $(form1).submit();
}
/script



-- 
--
ℱin del ℳensaje.

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] hosting wikipedia

2009-01-27 Thread Tei
On Wed, Jan 28, 2009 at 8:28 AM, Tei oscar.vi...@gmail.com wrote:
 On Wed, Jan 28, 2009 at 1:41 AM, Aryeh Gregor
 simetrical+wikil...@gmail.com wrote:
 On Tue, Jan 27, 2009 at 7:37 PM, George Herbert
 george.herb...@gmail.com wrote:
 Right, but a live mirror is a very different thing than a search box link.

 Well, as far as I can tell, we have no idea whether the original
 poster meant either of those, or perhaps something else altogether.
 Obviously nobody minds a search box link, that's just a *link*.  You
 can't stop people from linking to you.


 This one code don't even need to use
 http://en.wiktionary.org/wiki/Special:Search

 input box id=word /
 form id=form1
 input type=button onclick=searchWiktionary() value=Define /
 /form

 script

 function $(name){
  return document.getElementById(name);
 }

 function searchWiktionary(){
  var word = $(word).value;
  $(form1).setAttribute(action,http://en.wiktionary.org/wiki/+
 escape(word) );
  $(form1).submit();
 }
 /script



postadata:
I know the OP talk about OpenSearch. This snip of code is something
different instead.

-- 
--
ℱin del ℳensaje.

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l