W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2005

[whatwg] rel/rev for <form> ?

From: Mike Dierken <mdierken@hotmail.com>
Date: Sat, 5 Nov 2005 18:41:58 -0800
Message-ID: <BAY101-DAV8572068EC89C0B2A1A69ED8620@phx.gbl>
> >     * Do you think that be able to use other HTTP methods, other than 
> > GET, is important?
> In this case, not. The way I see it, web crawlers, 
> extensions, user scripts, user agents and the like can use 
> the URIs of any resource, based on the REL. For example, 
> rel="author": this *should* give an URI to the author of the 
> web page, but how would this work with a <form>? Would you 
> require it to use POST or another method? Forms are more 
> complex than simple links, they require user interaction 
> (fill the fields and most likely a JavaScript on the page 
> that validates the values).
> Also, forms are not for "general availability", in the sense 
> of ... web crawlers should *not* try to submit them (that's 
> what the bad spam bots do when trying to post spam comments).

I actually would find it interesting and useful for a the inputs of a form
to have a 'class' attribute that indicates the meaning of the parameter -
and let a web crawler find all the forms that use a certain class of input

For example:
 <form action="citizens.cgi" method='GET'>
  <input name='the-ssn' class='gov.us/identity/individual-tax-id'
type='text' />

 <form action="houses-for-sale.cgi" method='GET'>
  <input name='zip' class='gov.us/postal/zip-code' type='text' />

It would be cool to have a service that discovered these forms and then
provided a search of all the URIs that accepted social-security-number, or
Received on Saturday, 5 November 2005 18:41:58 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:43 UTC