POST parameter for On-line Find_Orb page to prefill observations automatically
I'd like to link from our page (https://deeprandomsurvey.org/object/DRS044) directly to the https://www.projectpluto.com/fo.htm with observations already filled in.
Could you add a POST parameter so when https://www.projectpluto.com/fo.htm is opened and it is supplied, the TextArea element is already filled in?
Due to the character limit (~2048) of URLs a URL parameter approach would probably not work in situations with more than a few lines of observations.
Edit: On another note, the existing URL parameters don't seem to work anymore either - using the example from https://www.projectpluto.com/eph_expl.htm#hints
http://www.projectpluto.com/fo.htm?obj_name=Phreddo&mpc_code=J95&epoch=-11&year=2017%20jan%2019&n_steps=13&stepsize=10m
the fields are not filled in
fo.htm does use POST (hit Ctrl-U to see). But the enctype="multipart/form-data" part may be throwing you off.
I think all I'll have to do here is to provide an fo_post.htm' page, identical to fo.htm` except that it omits that bit. Should be able to do that when I'm back home.
Interesting point about the URL parameters failing. I know it used to work... unfortunately, I've not used it in a long time, and have no real clue as to when it broke or why. Will investigate.
Okay, I see what I did wrong with the URL. It should point to the CGI code, not to the Web page. Example, also modified to point to a for-real object :
https://www.projectpluto.com/cgi-bin/fo/fo_serve.cgi?obj_name=2020%20PD7&mpc_code=J95&epoch=2020%20aug%2011&year=2017%20jan%2019&n_steps=13&stepsize=10m