473,800 Members | 2,950 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 "technologi es"
that I need to use? Thanks!
Dec 21 '07 #1
3 1500
On Dec 21, 2:12 pm, Bucky <uw_badg...@ema il.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 "technologi es"
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
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 "technologi es"
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*******@attgl obal.net
=============== ===

Dec 28 '07 #3
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 "technologi es"
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*****@mypetpr ogrammer.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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
1356
by: Mark Carter | last post by:
I currently use python to automatically summarise a certain newsgroup daily, and post the findings that it makes. Someone has suggested that they would like a to see a blog of the posts. I wondered if there was a python tool/library that could automate the blog postings. Any ideas? Some details: * the summaries are basically just text files * I already have a blog at www.blogger.com (http://markcarterturriff.blogspot.com/), so I would...
0
1698
by: Marcel - IDUG Europe 2005 | last post by:
Visit the IDUG Europe Conference Blog for Daily Updates and Conference Information IDUG 2005 - Europe Blog New for this year's conference, IDUG 2005 - Europe has created a blog to give you information on all aspects of the conference. Daily entries have already been posted to the blog, and updates will continue to be posted during the conference!
9
2369
by: Lyle Fairfield | last post by:
It's confusing. Many people here and elsewhere make many different predictions: There's an introduction mentioning some aspects of this at http://msdn.microsoft.com/data/mdac/techinfo/default.aspx? pull=/library/en-us/dnmdac/html/data_mdacroadmap.asp revised Sep 2005 (upper case conversions are mine)
4
1406
by: Bruce W..1 | last post by:
Blogs are pretty basic. Yet many of them have an XML feed so they can be aggregated, and I've been trying to figure out the best way to do this. Of course one way would be to put your blog writings in a SQL database, but this seems like overkill. And there are programs sold that do everything a blog could want. However I want to whip one up with ASP.NET. In what form should the blog writings be kept? And how can they be easily...
7
1736
by: freako9699 | last post by:
I would like to create a blog script, with a mysql back-end, a basic admin panel then can just add/edit posts and delete comments. no user auth required. how do i go about doing that, i no how to work mysql and have a good knowledge of php im just not good at actually working out how to put these scripts together :-P
2
1401
by: bjacob | last post by:
Hi! I have a blog made with b2evo, but I'd want to migrate to another software. I need this feature: different user levels, and each level see only the posts intended for them. I'd want to be able to do posts for everyone, posts for customers, posts for friends and posts for close friends. The user levels deployed in b2evo and Wordpress seem only to limit editing and blogging, but not readability of the posts (actually, in
4
1855
by: nishac | last post by:
Hi friends Anybody has worked with the Rss reader flash file to display the blog posts? My code was working well until I upgraded the flash as notified by Adobe.Now my rss not showing any blogs.Can anybody help me in this regard?Can it be a problem with xml? I am giving my code hereby document.write('<a href="/blog/blog.html"><img src="../images/rssreader_head.jpg" alt="Recent Blog Posts" border="0" style="margin-bottom:0;" /></a>') ...
2
3936
by: =?Utf-8?B?TWlrZQ==?= | last post by:
Hi. How can I schedule an ASPX page to execute every hour? I know this request is odd & there are plenty of better ways to accomplish running an automated task every hour. That being said, is it possible to do this? Basically I have an ASPX page that, when opened, POSTS new customer records from our system to a partner company's system. This task must run once an hour and currently a user is manually running the application. Is it...
1
1710
by: scadreau | last post by:
I need to run a rather large query and want to schedule it to run this evening. Is there a way to do that in sql server? (2005) Thanks, Scott
0
9690
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9550
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10501
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
7574
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6811
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5469
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4149
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3764
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2944
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.