Jump to content


Photo

Get content from site


  • Please log in to reply
1 reply to this topic

#1 seans9

seans9
  • Members
  • Pip
  • Newbie
  • 5 posts

Posted 16 April 2006 - 06:24 AM

Ok, basically, i want to pull information from another site and parse it.

Example.

i would want to get the "plays today" number from: [a href=\"http://www.purevolume.com/panicatthedisco\" target=\"_blank\"]http://www.purevolume.com/panicatthedisco[/a]

Any idea of how to make that work? is this even possible?

#2 litebearer

litebearer
  • Members
  • PipPipPip
  • Advanced Member
  • 2,357 posts
  • Locationwhite lake michigan

Posted 16 April 2006 - 12:24 PM

Its commonly called 'scraping'. Here is a class designed to do that. It will be necessary for you to develop the particular code to 'cull' the wheat from the chaff.


[a href=\"http://www.free-php.org.uk/classes/robot.php\" target=\"_blank\"]http://www.free-php.org.uk/classes/robot.php[/a]

Lite...

all the brothers were valiant!

[br][br]The truely intelligent people are not those who create the dots; rather they are they ones with the ability to connect the dots into a coherent picture




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users