home *** CD-ROM | disk | FTP | other *** search
/ ftp.mactech.com 2010 / ftp.mactech.com.tar / ftp.mactech.com / netprofessional / code / 02.03 / sherlock.lasso.src.txt < prev    next >
Text File  |  2010-09-21  |  736b  |  27 lines

  1. Listing 4: Search Site Code for Lasso
  2. Lasso Listing
  3. This an excerpt of the Result HTML from a Lasso search. You can see the comment used to delimit the information for Sherlock to interpret. When this is run, Lasso will return the listing, with the HTML and code within the [records] tags iterated for each row of data returned from the database. 
  4.  
  5. <!-- Start List -->
  6. <UL>
  7. <UL>
  8. [RECORDS]
  9.  
  10. <-- then add to the HTML code for each item returned: -->
  11.  
  12. <!--Start Row -->
  13. <A AREF="[field: 'URL']">[field: 'Name']</A>
  14. <BR>
  15. [field: 'Address']<BR>
  16. [field: 'City'], [field: 'State'] [field: 'Zip']<BR>
  17. [field: 'Phone']
  18. <!--Start Relevance -->
  19. <FONT COLOR=WHITE>
  20. [Variable: 'relevance']
  21. </FONT>
  22. <!--End Relevance -->
  23. <!--End Row -->
  24.  
  25. [/RECORDS]
  26.  
  27.