I think we were just talking about this recently, but is there a way to do service calls to Symphony? (So, for example, you could hook up Textmate’s blogging bundle via XMLRPC.) This would also be a way to do an iPhone app, etc.

There was an XMLRPC extension for v1, and some talk a while back about porting it to v2. I think I remember even posting the original .zip file here on the forum, but can’t find it now. It should be around somewhere…

There has been some talk of this. Nick Dunn had a REST data api of sorts here but I don’t think its supported anymore. I’ve always thought an ATOM-based data api would be great.

I like this idea as well — specifically the XMLRPC integration. That aspect probably wouldn’t fit for all fields, but if it could be configured to know which of your sections was analogous to each blog piece (article, categories, media…) it could be pretty powerful.

Looking at it this way, it seems like that REST/ATOM API and an XMLRPC one would be two different things.

@beiju, agreed. I think out of the two, I’d actually rather have the XMLRPC piece, even though the REST API would probably provide more admin/developer functionality. My most common use case is to post entries from remote apps and whatnot.

Correct me if I’m wrong but XML-RPC kind of assumes that you have a fixed field structure of a blog, hence a single client like Mars Edit can interface with a whole suite of blogging platforms. One of Symphony’s blessings is that you can model almost anything, so I wonder how XML-RPC can work. Perhaps it would need some form of configuration like the XML Importer, where you map known objects (such as properties of the XML-RPC specification, or elements of the RSS or Atom specifications) onto fields in a Symphony section.

Nick Dunn had a REST data api of sorts here but I don’t think its supported anymore

I never had the time to follow through with it. However now Symphony 2 is really stable I’d like to revisit this and polish it off. As with many things, it’s added to my todo list :-)

Correct me if I’m wrong but XML-RPC kind of assumes that you have a fixed field structure of a blog

Exactly. What I’m saying is that when you have a site or section of a site designed to imitate a blog-focused CMS, it would be useful to let it communicate over XMLRPC. For example, a section of my upcoming website will be a blog (or similar to one, anyway) and I’d like to be able to create, edit, and publish articles using MarsEdit.

My idea about this proposed extension is to allow it to be configured to know which of your sections is the “blog-y” one, and then it would translate XMLRPC requests into the appropriate database calls. A REST API would probably be a separate extension.

Yeah, I think that’s right. It would either have to be configurable so you could tell it what fields to use, or, simply require specific sections/fields in order to use the XMLRPC extension. (The former would be nicer, the latter would be easier to do. :)

But isn’t XML-RPC kind of outmoded? I don’t really know; I haven’t used an RPC-speaking app & am not too familiar with it.

Looks like MarEdit, for instance, implemented AtomPub back in 2.2.

Wouldn’t an XML-RPC vs AtomPub be more-or-less for backwards compatibility?

I didn’t know that about AtomPub and MarsEdit. It all depends, then, if AtomPub is an emerging standard or an established one. If an AtomPub implementation can serve both purposes easily, then that sounds like the way to go.

Good question, I’m definitely not up to date on this stuff…I think XMLRPC is pretty well established but maybe it’s being upended by AtomPub. Looks like WordPress supports both, but the XMLRPC implementation is more complete.

I don't like resurrecting years-old dead threads…especially as my first post, but this is all I can find on this topic.

Has any progress been made on a possible XMLRPC extension? I'm just now exploring Symphony, with a strong inclination to start using it for one of the sites I admin. There's a lot to like here, and I can see where it would be incredibly useful for several of the other sites I work on as well…but the lack of XMLRPC support is a serious problem for many of my projects.

In browsing some of the tutorials/docs, it doesn't seem like implementing one would be terribly difficult, and I may even try my hand at it…but I have very little spare time, so do not want to use it reinventing the wheel.


While it wouldn't be too big a job to create an RPC extension, can I suggest you check out the REST API extension?

Thanks for the response.

REST looks like it should be a good starting point for figuring out how to build XMLRPC (or Atom Pub) support, but myself, and some colleagues, post on blog-like sections of our sites using various third-party tools that require XMLRPC/atom pub.

Still, at the very least, I think I'll be trying tou Symphony for one project and see how it goes.

Thanks for pointing me at REST. It has given me some ideas for our needs in the future, too.

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details