2009-08-20 6 views
0

Ich mag Rebol verwenden, um eine XML-Sicherung von meinem Blog zum Download vonWie sende ich die HTTP-Get in Rebol, um eine Wordpress-XML-Backup-Datei herunterzuladen?

http://reboltutorial.com/wp-admin/export.php

das Formular

<form action="" method="get"> 
<h3>Options</h3> 

<table class="form-table"> 
<tr> 
<th><label for="author">Restrict Author</label></th> 
<td> 
<select name="author" id="author"> 
<option value="all" selected="selected">All Authors</option> 
<option value='1'>admin</option></select> 
</td> 
</tr> 
</table> 
<p class="submit"><input type="submit" name="submit" class="button" value="Download Export File" /> 
<input type="hidden" name="download" value="true" /> 
</p> 

</form> 

Ich glaube, ich würde zuerst in http://reboltutorial.com/login/ anmelden müssen und was dann nach ? Irgendein Codebeispiel, um ähnliche Sachen zu tun (das Plätzchen erhalten, ...)?

<form name="loginform" id="loginform" action="" method="post"> 
    <p> 
     <label>Username<br /> 
     <input type="text" name="log" id="user_login" class="input" value="" size="20" /></label> 
    </p> 
    <p> 

     <label>Password<br /> 
     <input type="password" name="pwd" id="user_pass" class="input" value="" size="20" /></label> 
    </p> 
    <p class="forgetmenot"><label><input name="rememberme" type="checkbox" id="rememberme" value="forever" /> Remember Me</label></p> 
    <p class="submit"> 
     <input type="hidden" name="post-from" id="post-from" value="page" /> 
     <input type="hidden" name="action" id="action" value="login" /> 

     <input type="submit" name="wp-submit" id="wp-submit" value="Log In" /> 
     <input type="hidden" name="redirect_to" value="http://reboltutorial.com/wp-admin/" /> 
     <input type="hidden" name="testcookie" value="1" /> 
    </p> 
</form> 

Antwort