How can I access elements retreived?

Help
2002-12-03
2002-12-03
  • Jonas Rullo
    Jonas Rullo
    2002-12-03

    Are the individual elements of items extracted labeled so you can do something with them? I used the fetchtext function and I got a solid block of text. Do I need to parse the text again for the pieces I want to keep. I'd like to be able to reference each piece of text pulled so I can display the information in the style I need.

    I used the code from the README:

    include("Snoopy.class.inc");
    $snoopy->fetchtext("htp://webpage/webfile.blah");
    print $snoopy->results;

    Looks like snoopy->results is just a string not an array of keyed values. How can I get the array form so I can access the different pieces of text grabbed?

    Jonas.