I’ll be honest and say that I really don’t know much about MetaWeblogAPI. I hadn’t heard of it until I tried using Flickr’s “Blog This” functionality with a Textpattern blog and when I looked at using MarsEdit some time ago. When I first looked into using these things they couldn’t be used with Textpattern, but after some digging around in the Textpattern forums and Googling I’ve figured out how to do it (and it’s easy!).
The first thing you need to do is download the right PHP script. I believe it was created by the guy from Pixel Meadow but I couldn’t find the download link on the site, or his email address. Anyway. Put that file in your /textpattern/ directory. Now you need to download another PHP script that I can’t remember where I downloaded it from, but you can get it here. Put this in your /textpattern/lib/ directory.
Now, you need to go to Flickr and add the details for your site. You need to add a MetaWeblogAPI enabled blog – do that by clicking here. Your API endpoint will be http://yourwebsite.com/textpattern/xmlrpcs.php.
It’s as easy as that! Now you can post an image from Flickr to your website by simply clicking “Blog This”. You can also use MarsEdit, but I haven’t yet set this up so I can’t say how to do it.
Okay, to summarise in an easy-to-follow list!:
- Download file and upload to your website into /textpattern/
- Download another file and upload to your website into /textpattern/lib/
- Add a Flickr MetaWeblogAPI blog.
Your API endpoint will be http://yourwebsite.com/textpattern/xmlrpcs.php
Uh, Ani, btw., could you consider having more than one article on the frontpage? With updates this frequent (which is a good thing!) it kills comment culture if recent articles are hidden away.
This is true – I was thinking about this, especially now that I have the system done for the journal section I mentioned a few days ago. But it means updating this system and I really don’t feel like that right now. Hehe. We’ll see!