2009/5/6 Arthus Erea <[email protected]>:
> Right, logically I could see no reason they would output it.
> But if it's not working with init_atom I can only assume that the Pepper is
> trying to add something. Maybe it adds some random code only once to ensure
> the tracking is in place? (Which it then checks up on?)
Shaun Inman, the Mint developer, has responded to my query. It seems
the pepper needs to rewrite each item's link element.
It's a bit difficult to work out exactly what needs to be done, since
I don't have a Mint license, so haven't seen the code and can't test.
I've had a look at how Bird Feeder is enabled for other blogging
platforms (some of them require hacking the source code). The plugin
probably needs to, at a minimum, do these things (note, I haven't even
tried running this code, so it's very likely completely broken).
// 'Articles' should be configurable, because it's whatever you want
to call the feed
define('BIRDFEED', 'Articles');
// Feeder should be a sub-directory of the plugin
include(dirname( __FILE__ ) . '/feeder/index.php' ); // It would be
nicer if this could use spl_register_autoload();
public function action_atom_add_post($feed_entry, $post) { //
('atom_add_comments' too ?)
// Rewrite the title and link elements
$feed_entry->link[1]->href =
$BirdFeeder->seed((string)$feed_entry->title,
(string)$feed_entry->link[1]->href);
}
Does anyone else use Mint ?
--
Michael C. Harris, School of CS&IT, RMIT University
http://twofishcreative.com/michael/blog
IRC: michaeltwofish #habari
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/habari-users
-~----------~----~----~----~------~----~------~--~---