Support Forum

DEV: Post Linking Enhancement

RA -Radio-
-Radio-
Member

According to the XMLRPC docs, a post using XMLRPC and a post using the wordpress backend are exactly the same with the exception of the returned data which is set for output to an XMLRPC client instead of a web browser.

Since these functions are presented to the server in a commandline as a single PHP POST value aproximating an XML input text stream, and output data is passed passed back as an actual XML output text stream, aditional PHP POST and GET functions are not available.

The functions of XMLRPC actually use this method of communication to provide an offline type interface for these menu items in the wordpress backend.

  • POSTS -> MANAGE, ADD NEW, TAGS, CATEGORIES
  • PAGES -> EDIT, ADD NEW
  • MEDIA -> ADD NEW
  • LINKS -> EDIT, ADD NEW, LINK CATAGORIES
  • USERS -> ADD NEW

not all third party XMLRPC tools use or provide users with all of these features, but most good tools do provide some function.

XMLRPC can NOT process GET or POST data from forms. XMLRPC uses passed values as database table data. All filters are applied the passed values, and then XMLRPC uses the filtered data only to add, remove, manage database content, no forms processing is available.

Can Not absolutely verify, but my understanding is that posting by ATOM protocal or E-Mail use the same wordpress interconnects as XMLRPC, so if you can do it with XMLRPC,you can also do it with those tools.

6 Answers

New Answer

RA -Radio-
-Radio-
Member

Andy,

Ecto 3 for MacOSX comes with both an activity monitor and a console display, specificly for developers… grab yourself a copy (small fee for registration)turn on XMLRPC posting (settings -> writing) and take a look at what is sent when you post from ecto into a test setup for WP (it's identiclal for WPMU)

YS Yellow Swordfish
Yellow Swordfish
Member

While we were talking about POST then we were talking fairly easy. if I have to learn a whole new protocol then things get tougher…

RA -Radio-
-Radio-
Member

I was just talking about cross posting, when a blogpost is edited or posted with an yet-to-be-named meta key enabled with a forum ID as it's value.

just wondering if it's as simple as checking the $POST value and also that particular meta key/value pair, when the cross post filter is invoke

the possibilities from that point are enormous… and open for third party development from that point on, ala-Feedburner with the RSS feeds from the forums(i.e. I currently am subscribed to these forums in my RSS Reader).

YS Yellow Swordfish
Yellow Swordfish
Member

Am pinnng this one as we haven't finished the discussion yet.

RA -Radio-
-Radio-
Member

Thanks

wanted to come back to this and touch on a 4.1 error I seemed to be getting in the betas (havent tried in the gold, been sick)

when marking a post in the blog for cross post to the forum in 4.1 beta, the forum post is created, but empty.

I also use an external blog posting program and I'd like to be able set posts for crossposting by setting a blog-post Meta-Value (key -> spf_crosspost) with the specific forum ID for the forum to cross post into.

Meta values are saved at the same time as the post, prior to publishing, so the meta value will be available at the time of publishing, no matter how the key and value are populated.

YS Yellow Swordfish
Yellow Swordfish
Member

Not ignoring this – well I am, but not long term. We just need to get clear of the 4.1 bug fallout and the 4.1.1 bugfix list. back when I have a chance.