Post a Guide Remotely
Customize the guide-writing experience with a remote posting form.
If you’re a guide-writing junkie or thinking about becoming one, you may want to create your own page so you can control the posting experience for yourself. You can add a guide-writing form to your own web site, customize it, and even offer it to your visitors as a convenience.
The Code
This is just standard HTML, so create a file called remote_guide.html with the following form:
<html> <body> <form method=post action="http://amazon.com/exec/obidos/guide-preview/"> <!-- Visible Form Fields --> Title:<br> <input type=text name="guide.title" size=50 value=""><br><br> Qualifications:<br> <input type=text name="guide.qualifications" size=50 value=""><br><br> Guide:<br> <textarea name="guide.text" cols=80 rows=10></textarea><br><br> <!-- Hidden Form Fields --> <input type=hidden name="guide.author" value="insert Amazon ID"> <input type=hidden name="guide.format.asin-link" value="<a href="[RETURN] /exec/obidos/ASIN/%s/102-4471056-3284920">'%s'</A>"> <input type=hidden name="guide.format.heading-link" value=[RETURN] "<a href="#guide.heading.%03d"><b class=sans>%s</b></a>"> <input type="submit" value="Add Guide"> </form> </body> </html>
The only changes to Amazon’s form are the addition of the full URL in
the form’s action attribute, and of your Amazon
ID [Hack #43]
to the guide.author hidden field.
Running the Hack
Since the code is standard HTML, you can open remote_guide.html in ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access