Ich benutze seit kurzem nun XML RPC um diesem Blog zu füttern. Mit Hilfe von custom_fields kann man dabei nicht nur Kategorie und Tags vergeben, sondern auch installierte Plugins mit Daten füttern, wie das Yoast WordPress SEO Plugin. Die benötigten Felder kann man dabei recht leicht in der Datenbank finden. (Siehe Screenshot oben)

'custom_fields' => array (
            array( 'key' => '_yoast_wpseo_title',
                      'value' => $title ),
            array( 'key' => '_yoast_wpseo_metadesc',
                      'value' => $metadesc ),
        )

Das funktioniert für jedes Plugin, dass die postmeta Tabelle benutzt um Werte zu speichern.

Allesblog#RPC#SEO#wordpress#XML#YOAST

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Michael Henke: @michaelhenke

0

Twitter#RPC#wordpress#XML

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Michael Henke: @michaelhenke

0

Twitter#PHP#RPC#Twitter#wordpress#XML

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>