Because I forget stuff. Part of

Note: It appears you must have reached this page by a deep level URL. In general this site is currently down and unmaintained. See here

About This Post

Originally posted January 8 2006 at 18:01 under Blogging. 0 Comments. Trackbacks Disabled. Last modified: 24 March 2006 at 01:01

Cross Posting

Sorry about any fiddling around you may have noticed. I’ve been trying to convince MoveableType to play nice cross posting from one blog to the other.

I realised that this blog has a Football Category but anything likely to go in there is also likely to be about Newcastle United, which means it gets posted to Diary of a Fan, my other blog. That used to hosted on Blogger but I’ve just implemented it all in my MoveableType install (mainly so I could have easier navigation between posts). That gave me the idea of trying to get the Diary of a Fan posts to automatically appear here, on the main blog. And I’ve achieved that, almost.

A useful MoveableType plugin for achieving this is Cross Blog, which allows you to post to another blog (in fact, even one on another server). I’ve “improved” it a bit so I can easily pass around tags (including automatically adding nufc as a tag) and keywords (TagInvoke is invaluable for this sort of thing). And I had to set the category of the post to Football, which is where the only problem lies.

It turns out you can’t set the category on creating the post. It’s necessary to create the new post, capture it’s ID and then set it’s category. I can do that fine but I can’t get it to then publish the post. The obvious methods (especially mt.publishPost) gave errors I don’t understand. So the current situation is a post to Diary of a Fan creates a new post in this blog’s Football category, but doesn’t build that entry (though it doesn’t actually publish, the entries list strangely shows it as published rather than draft as expected). So I have to go into this blog’s entries list and tell it to rebuild that entry. Not ideal, but better than things were, and the best I can manage at the moment. Any more fiddling around you notice is probably me trying to frustratedly remove this annoyance.

Comments (0):

Post a comment

Name and email address are required. Email address is never shown. If you enter a URL your name will be linked to it (this and other links will have the rel attribute set to contain nofollow). Markup allowed: <a href="" title="" rel=""> <em> <strong> <abbr title=""> <acronym title=""> <p> <br />. Anything else is stripped; please be valid. Single linebreaks automatically convert to <br />, double to <p>'s. Additionally anything that looks like a bare URL should get automagically linked. Many acronyms and abbreviations are also automagically handled.

Please note this blog's comment policy

Trackbacks (0):

Trackback URL:


This Crazy Fool

Dr Ian Scott
Croydon (and Gateshead), United Kingdom
Bullding Services Engineer (EngDesign), PhD in Physics (University of York), football fanatic (Newcastle United), open source enthusiast (mainly Mozilla)

More about me [Disclaimer]

You may subscribe to IMS_Blog using the RSS Feed, the Atom Feed or by email.

Creative Commons License

From January 08 Other Years

© Ian Scott. Powered by Movable Type 3.2. This blog uses valid XHTML 1.0 Strict and valid CSS. All times are local UK time. For further details see the IMS_Blog about page.. All my feeds in one.