cURL help

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • boyindie86
    New Member
    • Jun 2007
    • 31

    #1

    cURL help

    Hi,

    I am trying to use cURL llibrary to access an wiki system that I am working on. Its been bought in by department but we are trying to do some automated tasks with it as we can't access the source code to make changes to the product.

    What i want to do is to create link between users contributions to the site, to do this i want to be able to pull all the content from a page and store it locally and do a keyword search against a mySQL database.

    But i am not sure how i can parse the data out of the page into an array or a text file so that i can do a search on the content in the page, I am able to edit the content from a text box, so this is an area where i can access the content directly.

    Any help would be greatly appreciated

    Boyindie
  • pbmods
    Recognized Expert Expert
    • Apr 2007
    • 5821

    #2
    Heya, Boyindie.

    What do you want your code to do? Give an example.
    What is your code doing that you don't want it to do? Give an example.
    What is your code *not* doing that it is supposed to? Give an example.

    Comment

    • boyindie86
      New Member
      • Jun 2007
      • 31

      #3
      Originally posted by pbmods
      Heya, Boyindie.

      What do you want your code to do? Give an example.
      What is your code doing that you don't want it to do? Give an example.
      What is your code *not* doing that it is supposed to? Give an example.
      My code at the moment is logging into my wiki application from an external webserver, and creating the cookie so that I can edit the pages. I also have it writing to the system.

      What i now want to do is to be able to *read the content* from the Wiki onto my external server so that I can do processing on the content(e.g. Do a keyword search against a thesaurus)

      I am not sure what functions i can use or if it is possible to pull the written content out of the page into a text file, array or possibly even a temporary database table. The writing to the pages which I have managed to implement has been implemented using the cURL library in PHP.

      Any help much appreciated

      Boyindie

      Comment

      Working...