Example: Manual Anchor
Top  Previous  Next

HTML: <li><nobr><font face="Verdana" size="-1"><b>Salary:</b>33,000.00 per year</font></nobr></li>

EXTRACT POS=1 TYPE=TXT ATTR=<FONT<SP>face=Verdana<SP>size=-1><B>Salary:</B>*


In this example we have a longer extraction anchor. As you can see, you basically cut the HTML in half to get the extraction tag and add "*" at the end. You can add "*" at multiple locations, if required:

EXTRACT POS=1 TYPE=TXT ATTR=<FONT<SP>face=*<SP>size=*><B>Salary:</B>*


Since the extraction anchor occurs only once on the Web page, POS has the default value of 1. The elements <li> and <nobr> are not used for comparison. The word "salary" is fixed and can be used as part of the extraction anchor. The extract text is "Salary: 33,000.00 per year".



Page URL http://www.iopus.com/imacros/help/extract_example_manual_anchor.htm