Hi,

Not sure where to put this, so apologies if it's in the wrong forum...

I've set up Drupal 4.6.3 successfully, and am trying to use it with a weblog editor, specifically MarsEdit (on Mac Os X 10.4). I think I've set this up correctly (using MovableType as the blog type), however there seems to be a problem when Drupal returns posts to MarsEdit via xmlrpc where all apostrophes get converted to #039. I'm assuming Drupal is meaning to return ' (with the ampersand and semi-colon) which is the ASCII character reference for an apostrophe, but somehow doesn't.

I've had a look around and found this bug report on this site from someone using a different software, so dont think the problem is with MarsEdit.

http://drupal.org/node/31301

Posting is fine, it just seems to be when posts are retrieved/updated from drupal.

Is this a problem, and is there any way of fixing it?

Thanks

Comments

pavlos’s picture

What seemed to be the problem was that some content editors were editing their stories in word and then pasting into the story submission form. The apostrophs that word was pasting were different than the character you enter in the form by hitting the same key (if you see what I mean).

These were showing up on other sites which are grabbing our headlines with their ascii representation and sites started to drop us. As soon as they stopped using word, the news feeds seem fine.

Hope this helps,
Pavlos

archieUK’s picture

Thanks for your help Pavlos, but I think you misunderstand the problem. The problem isn't with posting - I can post absolutely fine.

The problem happens when i use a desktop blogging software, in my case MarsEdit (http://ranchero.com/marsedit/), and aparantly Ecto as well (according to the bug report i linked to in my first post). When the software retrieves posts from Drupal via the xmlrpc.php script, any apostrophies (') seem to be converted to #039 which would work if there was the & and ; characters before and after respectively. So if I edit one a post using the software (not via Drual's built in interface) I have to manually correct all the occurances of #039 (either with ' or ' will work). Which is kinda annoying...

Hope this explains this a bit better...

Chris

Sam Deane’s picture

I seem to be having the same problem. I've also suddenly started getting a PHP error when I post from MarsEdit:

"Duplicate entry 'http://www.elegantchaos.com/rss.xml' for key 1 query: INSERT INTO cache (cid, data, created, expire, headers) VALUES..."

I think things started going wrong when I upgraded to the latest version of Drupal.