[MITgcm-devel] Fwd: [MITgcm-support] [MITgcm Manual] section Contents

Martin Losch Martin.Losch at awi.de
Tue Mar 4 02:40:25 EST 2014


Hi there,

maybe it’s time again to fix the search fields in the web site? I don’t know how to do that, but I see that on the actual search page:
<http://mitgcm.org/public/search.html>
there are two search fields, one that works (the second one for the email archives) and one that does not (the first one).
The code for the second field (the working one) looks like this:
      <form action="http://www.google.com/search" method=get>
        <p>
	  <input type=hidden name=sitesearch value="forge.csail.mit.edu/pipermail">
          <input name=q size=40 value="">
          <input type=submit value="Google Search" name="submit">
        </p>
      </form>
while for the one that does not work, it looks like this:
      <form action="http://www.google.com/u/MITgcm" method=get>
        <p>
	  <input type=hidden name=domains value="mitgcm.org">
	  <input type=hidden name=hq value="inurl:mitgcm.org">
          <input name=q size=40 value="">
          <input type=submit value="Google Search" name="submit">
        </p>
      </form>
This is the code for the search form on the top of the documentation that Erick was complaining about:
  <form action="http://www.google.com/u/MITgcm" method=get>
    <font size="-1">
      <input name=q size=20 value="">
      <input type=hidden name=domains value="mitgcm.org">
      <input type=hidden name=sitesearch value="mitgcm.org">
      <!-- <input type=submit value="Search" name="submit"> -->
      <input type=image name="srchbut" src=../images/search.gif alt="Search" align=middle border=0 height=20>
    </font>
  </form>

To my simple mind, it looks like one could just adapt the code for the domain search to the code of the support-list search (i.e. replace 
  <form action="http://www.google.com/u/MITgcm" method=get>
with
      <form action=“http://www.google.com/search" method=get> 
and
	  <input type=hidden name=domains value="mitgcm.org">
	  <input type=hidden name=hq value=“inurl:mitgcm.org">
with
	  <input type=hidden name=sitesearch value=“forge.csail.mit.edu”>
or 
	  <input type=hidden name=sitesearch value=“mitgcm.edu”>
(I remember that the latter hasn’t worked in the past).

I can try it for this page, but I cannot even figure out where the pages are in the repository.

Martin

Begin forwarded message:

> From: Martin Losch <Martin.Losch at awi.de>
> Subject: Re: [MITgcm-support] [MITgcm Manual] section Contents
> Date: March 4, 2014 at 8:13:49 AM GMT+1
> To: MITgcm Support <mitgcm-support at mitgcm.org>
> Reply-To: <mitgcm-support at mitgcm.org>
> 
> Hi Erick,
> 
> all search functions on the mitgcm web-site are a drag. i don’t know enough about this to fix it, but we I search for something (here “advection”) I usually do this in google’s search field:
> 
> site:mitgcm.org advection
> 
> and for searching just the support list:
> site:mitgcm.org/pipermail/mitgcm-support advection
> 
> I am not sure if this is any better than Dimitris’ suggestion, but it usually works for me.
> 
> Martin
> 
> On Mar 3, 2014, at 8:24 PM, Dimitris Menemenlis <dmenemenlis at gmail.com> wrote:
> 
>> I agree, it would be good if "search" worked.
>> Until that happens, I just use google.com and precede
>> queries with "MITgcm" or "MITgcm-support".
>> 
>> On Mar 3, 2014, at 11:15 AM, Edwards, Erick (LCDR) <eledward at nps.edu> wrote:
>>> Comments and questions on page http://mitgcm.org/public/r2_manual/latest/online_documents/node1.html 
>>> 
>>> Why doesn’t the “Search” field on the online documentation pages work anymore?  It always gives a “404” error.  It makes it quite difficult to troubleshoot problems if I can’t get results discussing previous, similar problems.
>>> 
>> 
>> _______________________________________________
>> MITgcm-support mailing list
>> MITgcm-support at mitgcm.org
>> http://mitgcm.org/mailman/listinfo/mitgcm-support
> 
> 
> _______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org
> http://mitgcm.org/mailman/listinfo/mitgcm-support




More information about the MITgcm-devel mailing list