Welcome to WebmasterWorld Guest from 54.147.220.66

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

Blog posting with PHP

   
1:47 pm on Mar 29, 2005 (gmt 0)

10+ Year Member



Hello

If anyone here can point me in the right direction regarding the following, that would be a huge help...

I'm looking to automate posting to a Blogspot blog via PHP.

I've taken a look at their documentation and they have the blogger.newPost command as part of their API. I believe that by using this I can submit posts using XML.

However, I'm confused about how to specifically use this - particularly how to automate this with PHP.

Basically, I'm looking to create my own script that posts my pre-written content to a Blogspot blog from time to time.

Any pointers regarding this would be very much appreciated. Thank you very much in advance.

10:48 pm on Mar 30, 2005 (gmt 0)

WebmasterWorld Administrator coopster is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Welcome to WebmasterWorld, publish.

PHP has a header() [php.net] function that you can use to send raw HTTP headers.

11:43 am on Apr 1, 2005 (gmt 0)

10+ Year Member



Thank you very much.

I'm still looking into this, and what I have found is quite a few existing scripts (from Hot Scripts) that seem to have this functionality.

So hopefully I can study exactly how they're doing it and use some of those ideas and elements for my own functionality.