I have made a webpage for a online game to record items you get from monsters, i am currently developing it for my A level computing project using php and made this as a demo of what it will do.
Drop recorder created by Sosolid2k, hope it helps!
This Drop recorder is not affiliated with <a href="http://www.runescape.com">Runescape</a> or Jagex, it is not in any way an official product of <a href="http://www.runescape.com">Runescape</a>.
<a href="http://www.runescape.com">Runescape</a> logo property of Jagex  Ltd, Jagex and <a href="http://www.runescape.com">Runescape</a> are registered trademarks of Jagex Limited.
You can use Regular Expressions or access the span through the DOM to get the text inside the span tag.