简体   繁体   中英

Mechanical Turk: Using HTML in the API

Question for anyone who's used Mechanical Turk: Is it possible to take an HTML template created on Mechanical Turk's website, and then create more HITs based on that template from the command line tools or API?


According to the API docs, it's not possible to create new HTML and add it...from the API. However, what I want to do here is use a HIT template I already created. It would seem like there should be a way to use that template (and load up new data in the API), since Amazon already approved it and I'm using it for HITs already. But I haven't seen a way in the documentation to do so.


The main reason I want the HTML is so I can apply styles that I can't apply by using a questions file. If there was some sort of "rich" question file, that might solve the problem.

You could post a job on Mechanical Turk to have a person take your template and insert your data into it for each HIT you want to create.

(yes, this is at least half sarcasm)

我知道这是一个老问题,但是已使用HITLayout对API进行了更新,以允许使用此方法: http : HITLayout

As far as I know, I haven't seen a way to use manually created questions from the API.

If you're planning on doing programmatic access, it may be easier to use the API in its entirety (ie, specify your questions via XML and create HITs from that question):

http://www.codeplex.com/MTurkDotNet (.NET SDK)

The API is pretty easy to use, and there several code samples.

Alternatively, you can use the "External Question" question type which may be better suited -- you can host the entire question form yourself.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM