Hi Gregory, > I'm still trying to get King Features comics (like Baby > Blues) to work. They use JavaScript and the document > referrer to deliver the comic image after the page loads. > Anyone got any ideas how to make this work?
Can you link me to a sample comic so I can look at the javascript and write a regex for it? I'm sure it's possible to parse the JS as easily as the tables from most other comics. I've started using the code I initially wrote for RSSX for just about all the screen scraping functionality I need. You can add a referer header to the xmlhttp request, after ".open", before ".send". It'll look kinda like this: xmlhttpObj.setRequestHeader("referer","http://somepage"); The other alternative, though this is only effective for normal searches, is to use a named target window and send two requests to it, the first as the page you need as referer, the second as the ultimate target. This doesn't work with xmlhttp though. :( For anyone wanting to try this functionality out (and it's been a long-requested feature) please get the latest defer_tools.js from CVS. Regards, Shawn K. Hall http://12PointDesign.com/ http://ReliableAnswers.com/ ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ To unsubscribe visit: https://lists.sourceforge.net/lists/listinfo/dqsd-users DQSD-Users@lists.sourceforge.net http://sourceforge.net/mailarchive/forum.php?forum_id=8601