Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
Discussions > Google Search Appliance/Google Mini > Post Feed to GSA from AJAX Form
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Esch  
View profile  
 More options Feb 9, 8:52 pm
From: Esch <matt.eschenb...@gmail.com>
Date: Thu, 9 Feb 2012 17:52:53 -0800 (PST)
Local: Thurs, Feb 9 2012 8:52 pm
Subject: Post Feed to GSA from AJAX Form
Does anyone know how I can post a feed through an AJAX form?

My GSA is on a sub-domain but I continue to get a Bad Request or
access denied. If I do a standard form submit it works fine. I'm
simply trying add a better user experience other then sending them to
a blank page that says 'success'.

Any ideas or help would be much appreciated.

cheers,
matt


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dave Watts  
View profile  
 More options Feb 9, 9:11 pm
From: Dave Watts <dwa...@figleaf.com>
Date: Thu, 9 Feb 2012 21:11:36 -0500
Local: Thurs, Feb 9 2012 9:11 pm
Subject: Re: Post Feed to GSA from AJAX Form

> Does anyone know how I can post a feed through an AJAX form?

> My GSA is on a sub-domain but I continue to get a Bad Request or
> access denied. If I do a standard form submit it works fine. I'm
> simply trying add a better user experience other then sending them to
> a blank page that says 'success'.

Well, first, it's worth asking why you'd post a feed through a browser
at all. The Feeds API isn't really intended for interactive use.
Instead, you should write a feed client that builds an HTTP request to
do this for you. The whole process should be automated as much as
possible.

That said, if you are going to use a browser, you can't do
multipart/form-data POSTs from AJAX. Normally, when you upload a file,
this is the encoding type you'd use. While the appliance does, in
theory, support the default form encoding time
(application/x-www-urlencoded), you're stuck with significant length
limitations if you do. That's probably why you're getting that bad
request - it's being truncated somewhere in the middle.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »