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 swdunn@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.vives@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.vives@gmail.com wrote:
On Wed, Jan 28, 2009 at 1:41 AM, Aryeh Gregor <Simetrical+wikilist@gmail.com Simetrical%2Bwikilist@gmail.com> wrote:
On Tue, Jan 27, 2009 at 7:37 PM, George Herbert george.herbert@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