Problem with creating wordpress posts remotely

Status
Not open for further replies.

genji

Banned
Banned
31
2008
0
0
Hey guys..
I'm trying to create a script to remotely post wordpress posts with a specific template.
I have the following PHP code..



Code:
 $content = "
<div class=\"postlinks\">

<ul>
<li>
		<span id=\"trailr\"><a><img alt=\"trailer\" src=\"http://imgur.com/pQwmw.png\" width=\"50\" height=\"50\"/></a></span></li>
		<div id=\"trailer$r\" style=\"display:none;\">
the $content holds part of my template that i want to use for each of my posts. However, when I send this string to wordpress, it gets stripped of all its <script>, id and class tags..
Does anyone know how to disable this wordpress stripping of tags?
Please let me know asap :(
 
Status
Not open for further replies.
Back
Top