Thanks for a great addition to a very useful piece of software.
Doug
Message: 1 Date: 22 Apr 2004 20:46:20 -0000 To: [EMAIL PROTECTED] From: "Gregory Krohne" <[EMAIL PROTECTED]> Subject: [DQSD-Users] Consumer Reports search Reply-To: [EMAIL PROTECTED]
The inlined-file cr.xml searches the online version of Consumer Reports, including paper-version back issues, forums, web ratings, recalls, and consumer alerts.
I had to learn how to create dynamic form elements for this one. ConsumerReports.org uses form element names that violate some rule in DQSD; i.e., you can't have form elements that have '<' or '>' in the name. Unfortunately, one of those two form elements is the actual search term box.
I used DOM function calls to create the form elements dynamically and to add them as child nodes to the form. If the inline comments don't make it plain, let me know, and I'll try to explain what's going on more clearly.
Regards,
Gregory Krohne
------------------------------------------------------- This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th! http://www.thinkgeek.com/freeshipping/?cpg=12297 _______________________________________________ To unsubscribe visit: https://lists.sourceforge.net/lists/listinfo/dqsd-users [EMAIL PROTECTED] http://sourceforge.net/mailarchive/forum.php?forum_id=8601