This is a discussion on schedule future blog posts within the PHP Language forums, part of the PHP Programming Forums category; I want to make something where I can schedule future blog posts, and it will automatically publish them to Xanga. ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I want to make something where I can schedule future blog posts, and
it will automatically publish them to Xanga. I have a web host with Linux, MySQL, PHP, cron, etc. Type up blog post and future date into MySQL. Cron job scheduled every day, check if blog post needs to be published today. If so, somehow log into Xanga and fill out the forms and submit. The piece I'm missing is how to log into Xanga and fill out the forms. Can this be done with PHP from the server? What are the "technologies" that I need to use? Thanks! |
|
|||
|
On Dec 21, 2:12 pm, Bucky <uw_badg...@email.com> wrote:
> I want to make something where I can schedule future blog posts, and > it will automatically publish them to Xanga. I have a web host with > Linux, MySQL, PHP, cron, etc. > > Type up blog post and future date into MySQL. > Cron job scheduled every day, check if blog post needs to be published > today. > If so, somehow log into Xanga and fill out the forms and submit. > > The piece I'm missing is how to log into Xanga and fill out the forms. > Can this be done with PHP from the server? What are the "technologies" > that I need to use? Thanks! I haven't done this before but my guess is you would have to manual create and send the POST message to the xanga site to login. http://us3.php.net/manual/en/function.fsockopen.php |
|
|||
|
Bucky wrote:
> I want to make something where I can schedule future blog posts, and > it will automatically publish them to Xanga. I have a web host with > Linux, MySQL, PHP, cron, etc. > > Type up blog post and future date into MySQL. > Cron job scheduled every day, check if blog post needs to be published > today. > If so, somehow log into Xanga and fill out the forms and submit. > > The piece I'm missing is how to log into Xanga and fill out the forms. > Can this be done with PHP from the server? What are the "technologies" > that I need to use? Thanks! > Check out the cURL extensions. You should be able to do exactly what you want. -- ================== Remove the "x" from my email address Jerry Stuckle JDS Computer Training Corp. jstucklex@attglobal.net ================== |
|
|||
|
Jerry Stuckle said:
> Bucky wrote: >> The piece I'm missing is how to log into Xanga and fill out the forms. >> Can this be done with PHP from the server? What are the "technologies" >> that I need to use? Thanks! >> > > Check out the cURL extensions. You should be able to do exactly what > you want. > In the PHP Manual: http://www.php.net/curl It may be a bit confusing to you at first, but if you understand http, you'll get cURL no problem. ~A! -- Anthony Levensalor anthony@mypetprogrammer.com Only two things are infinite, the universe and human stupidity, and I'm not sure about the former. - Albert Einstein |
![]() |
| Thread Tools | |
| Display Modes | |
|
|