Nattsurfaren
Power Member
- Apr 12, 2010
- 593
- 82
I have automated a couple of Web2.0 blogs but I can't figure out what I'm doing wrong with "thoughts.com".
Curl is giving me:
The requested URL returned error: 500
Form url is:
http://blogid.thoughts.com/post/text
Post url is:
http://blogid.thoughts.com/posts/create
Post data is:
The rest of the fields are take as they are.
Appreciate very much your help on this.
/Natt
Curl is giving me:
The requested URL returned error: 500
Form url is:
http://blogid.thoughts.com/post/text
Post url is:
http://blogid.thoughts.com/posts/create
Post data is:
Code:
$fields["post[title]"] = $title;
$fields["post[body]"] = $content;
$fields["post[topic_list]"] = $titletags;
$fields["post[privacy]"] = "o";
$fields["post[publish_time]"]="".$sd->YearLongNumber()."-".$sd->MonthNumber()."-".$sd->DayNumber()." ".$sd->TimeHour01To23().":".$sd->TimeMinutes().":00 +0000";
$fields["date[month]"]=$sd->MonthNumber();
$fields["date[day]"]=$sd->DayNumber();
$fields["date[year]"]=$sd->YearLongNumber();
$fields["date[hour]"]=$sd->TimeHour01To23();
$fields["date[minute]"]="00";
Appreciate very much your help on this.
/Natt