Open wdalmut opened 12 years ago
I have to get the permalink using XML-RPC and not directly inside WP.
I have to search this feature on XML-RPC methods.
Thank you so much anyway.
You can add new XML-RPC method width this filter: add_filter( 'xmlrpc_methods', 'add_new_xmlrpc_methods' ); than in your custom method you can implement get_permalink( $id );
here more: http://josephscott.org/archives/2008/11/adding-xml-rpc-methods-to-wordpress/
Yeah, that's right.
This library is completely external of a Wordpress installation and I can't login and install some plugins.
Probably the default installation can't provide user defined permalinks. I have to create a plugin for support this feature and if someone wants have only to install it.
Actually I never check this task in detail and this is a ticked opened on binpress... There is any XML-RPC call for get user permalinks in a default Wordpress installation?
// http://codex.wordpress.org/Function_Reference/get_permalink <?php $permalink = get_permalink( $id ); ?>
if you know pemalink structure maybe you can read directly $post->post_name
Hope that was helpful