Technical request: POST contents

38 views
Skip to first unread message

j

unread,
Apr 26, 2011, 5:21:36 PM4/26/11
to Chrome Extension: Multi Search
Hi Scott,

I am Javier, a Spanish user of your marvelous extension. I use it for
looking up some product in different webpages. However, I am afraid
that some of these groups use POST with ASP, and send the search terms
not in the URL itself, but on the body of the POST message.

I wonder if for POST messages would it be possible to add a line to
specifiy the contents, very close to the way that the URL is
specified.

Again, I also a developer (although more low-level than Chrome I'm
afraid), so I would like to thank you a lot for your extensions. I do
use Linux as a primary system, and my mother tongue is Spanish, so if
you ever need help chasing something in Linux or you want to translate
the extension to Spanish, I'd be very glad to help you!

Thanks a lot and best regards,
Javier

Scott

unread,
Apr 27, 2011, 3:50:03 AM4/27/11
to multi...@googlegroups.com
Hi Javier,

Glad you like the extension.

It should already be possible specify the submit for a POST as a URL. For example, with the following details:

  Form method: POST
  Submitting to: search.asp
  Search field called: inpSearch

In multi search you would enter the URL for the Search Query as:


You would also need to select the Query Method as POST.

Let me know if you are still having problems with a specific site.

Thank you very much with your offer of help, both with Linux and Translations, that is very much appreciated. I'd certainly like to take you up on your offer, I've attached a copy of the messages.json file that is used for translations.

Each entry that can be translated has the following pattern (note: not all of the entries include place holders):

"pageAction":
  {
    "message"     : "Add \"$searchEngine$\" to Multi Search.",
    "description" : "The hint text for the page action.",
    "placeholders": 
    {
      "searchEngine":
      {
        "content": "$1",
        "example": "Google Maps"
      }
    }
  }

The part that needs translation is on the "message" line, so for example with the above entry you would just translate "Add \"$searchEngine$\" to Multi Search."

Thank you again,

Scott
messages.json

j

unread,
Apr 27, 2011, 6:58:53 PM4/27/11
to Chrome Extension: Multi Search
Hi Scott,

Thanks a lot for your reply! Please see my answers inline :)

On Apr 27, 9:50 am, Scott <scottamark...@gmail.com> wrote:
> Hi Javier,
>
> Glad you like the extension.
>
> It should already be possible specify the submit for a POST as a URL. For
> example, with the following details:
>
>   Web site:http://www.testform.com
>   Form method: POST
>   Submitting to: search.asp
>   Search field called: inpSearch
>
> In multi search you would enter the URL for the Search Query as:
>
>  http://www.testform.com/search.asp?inpSearch={searchTerms}
>
> You would also need to select the Query Method as POST.

I will try that, thanks a lot!

>
> Let me know if you are still having problems with a specific site.
>
> Thank you very much with your offer of help, both with Linux and
> Translations, that is very much appreciated. I'd certainly like to take you
> up on your offer, I've attached a copy of the messages.json file that is
> used for translations.
>
> Each entry that can be translated has the following pattern (note: not all
> of the entries include place holders):

I am glad to be of any help! I hope to have the translation ready by
the end of Monday (parents visiting this weekend). Is there any way to
continue this conversation over mail? I think it will be much more
productive to do so :)


>
> "pageAction":
>   {
>     "message"     : "Add \"$searchEngine$\" to Multi Search.",
>     "description" : "The hint text for the page action.",
>     "placeholders":
>     {
>       "searchEngine":
>       {
>         "content": "$1",
>         "example": "Google Maps"
>       }
>     }
>   }
>
> The part that needs translation is on the "message" line, so for example
> with the above entry you would just translate "Add \"$searchEngine$\" to
> Multi Search."
>
> Thank you again,
>
> Scott
>
>  messages.json
> 14KViewDownload
Reply all
Reply to author
Forward
0 new messages