Out of an external application storing a blog page ???

Philippe

Out of an external application storing a blog page ???

Posted:17 Jun 2008 (17:05 UTC)
I have a automatic process starting once a week. I would like to create out of this process a blog page (i.e. Process Page from 8-8-08). Is there a easy way to call an http request and send i.e. user name, password,content and maybe a file? Or how would you like to store data out of an external application?

Thanks fir your help!
Philippe
WaterDragon
Profile Picture
Joined: 08 Jun 2006

Re: Out of an external application storing a blog page ???

Posted:20 Jun 2008 (09:12 UTC)
While it is certainly possible to write a series of HTTP requests to login and then post a blog page if the automatic process is on the server (keeping the cookie from the login and sending it along in the second request) it might be easier to write a simple PHP script that calls BitBlogPost->store($hash) with the important data stored in the $hash. If you want to see what gets sent in the hash put a vd($pParamHash); at the top of the store method in that class. That should tell you what you need to know.
  Page 1 of 1  1