FAQ » History » Version 1
Version 1/5
-
Next » -
Current version
Luke Murphey, 08/10/2014 05:55 AM
FAQ¶
Can I specify more than one selector (to match different things on a single page)¶
Yes, enter multiple selectors separated by commas. To match both span and div tags, you would enter a selector of "span,div".
Can I use attributes to set the field names?¶
You can use the "Name Attributes" option on the Output section to tell the app to use attribute values as the field name.
For example, consider the following HTML:
<div id="model">Focus</div> <div name="submodel">ST</div> <div name="make" id="car">Ford</div>
If the setting the name attributes is "name,id", then the app would look for the "name" attribute or the "id" attribute and use this as the value of the field (it uses the first match it finds). This would cause the following output with the example above:
model=Focus submodel=ST make=Ford