Matt Gemmell

My new book CHANGER is out now!

An action-adventure novel — book 1 in the KESTREL series.

★★★★★ — Amazon

Working on weblogs.com ping

General 1 min read

I've been working on "ping weblogs.com" functionality. I have it working just fine 
in PHPosxom. There are a couple of slightly ugly aspects to it, though.
  • It requires that you have $usemetadata active for your blog. Maybe that's not a big problem (I activated metadata as soon as I installed PHPosxom). It's necessary because we only want to ping weblogs.com when there's a new post, not every time someone views your blog. The only way we can reliably determine that is by using the metadata processing code.
  • It requires that you install another file ("xmlrpc.inc") beside PHPosxom itself.
Those things aren't issues for me, but I can understand that they may well be annoying 
for those who don't use the metadata feature, and the extra file detracts from PHPosxom's 
neatness a bit.



I <em>could</em> easily incorporate all the code from the "xmlrpc.inc" file into 
PHPosxom itself, but it would balloon the file size - the .inc file is just over 1000 lines. 
I haven't tried trimming out any unnecessary code in there yet, so that's worth a try at least.



Any thoughts or sugggestions would be appreciated!