schedule future blog posts

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. ...


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-21-2007
Bucky
 
Posts: n/a
Default schedule future blog posts

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!
Reply With Quote
  #2 (permalink)  
Old 12-22-2007
Adam
 
Posts: n/a
Default Re: schedule future blog posts

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
Reply With Quote
  #3 (permalink)  
Old 12-28-2007
Jerry Stuckle
 
Posts: n/a
Default Re: schedule future blog posts

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
==================

Reply With Quote
  #4 (permalink)  
Old 12-28-2007
My Pet Programmer
 
Posts: n/a
Default Re: schedule future blog posts

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
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:09 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0