May 25th, 2011, 07:08 PM
After reading the latest xkcd: http://xkcd.com/903/ I started writing a program that will find the first link on each article, and see if it does eventually lead to philosophy. However, I know next to no HTML, so I don't know how I would find out what the first link is. I know that it should look like <a href something something> but there's many links before that that are not what a user would consider the first link. Does anyone have any ideas on how to do this?
(Also, I wasn't sure what forum this should go on, since this isn't really Java-specific, and I already know the syntax I'd use.)
Tags for this Thread
Click Here to Expand Forum to Full Width
This a Codeguru.com survey!