title: Web-Scraping with R
body: <p>I'm having some problems scraping data from a website. First, I have not a lot of experience with webscraping...
  My intended plan is to scrape some data using R from the following website:
  <a href="http://spiderbook.com/company/17495/details?rel=300795" rel="nofollow">http://spiderbook.com/company/17495/details?rel=300795</a></p>
  
  <p>Especially, I want to extract the links to the articles on this site.</p>
  
  <p>My idea so far:</p>
  
  <pre><code>xmltext &lt;- htmlParse("http://spiderbook.com/company/17495/details?rel=300795")
  sources &lt;- xpathApply(xmltext,  "//body//div")
  sourcesCharSep &lt;- lapply(sourcesChar,function(x) unlist(strsplit(x, " "))) 
  sourcesInd &lt;- lapply(sourcesCharSep,function(x) grep('"(http://[^"]*)"',x)) 
  </code></pre>
  
  <p>But this doesn't bring up the intended information. Some help would be really appreciated here! Thanks!</p>
  
  <p>Best
  Christoph</p>