By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,084 Members | 1,956 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,084 IT Pros & Developers. It's quick & easy.

schedule future blog posts

P: n/a
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!
Dec 21 '07 #1
Share this Question
Share on Google+
3 Replies


P: n/a
On Dec 21, 2:12 pm, Bucky <uw_badg...@email.comwrote:
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
Dec 22 '07 #2

P: n/a
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.
js*******@attglobal.net
==================

Dec 28 '07 #3

P: n/a
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
an*****@mypetprogrammer.com

Only two things are infinite, the universe and human stupidity,
and I'm not sure about the former. - Albert Einstein
Dec 28 '07 #4

This discussion thread is closed

Replies have been disabled for this discussion.