5 replies
by muirislenihan Accepted solution
by thumbsup2 Accepted solution
by johann.schweigl Accepted solution
Without considering copyright issues:
use jTidy (http://jtidy.sourceforge.net/) to read the remote HTML and convert it to XHTML or XML. Then use a XSLT Processor (preferrably SAXON, http://sourceforge.net/projects/saxon) to extract the data you need via XPath or XQuery.
by lvantine Accepted solution
I agree with ThumbsUp2, just copying the data without permission is theft. I would first contact the Web site owners, explain your purpose and ask permission to use the data for your class. If granted I would follow any conditions (like purging the data when done) so that the next person that comes along won't find web site operators with a sour taste in their mouth this will also avoid a mess of trouble for you.
Besides if you get permission and have a good story the web site owners may make the data available in much easier to use format, screen scaping a web site is a pain.
by clgan333 Accepted solution
This discussion is closed to new replies.
Trending Web Development posts
Sort by Trending