Right, but it appears Mint *does* try to add something (otherwise it  
would work).

I can't see why they would do it that way, but we should probably  
support the ability of Mint (and other programs) to work properly.

On May 4, 2009, at 7:23 PM, Michael Harris wrote:

>
> 2009/5/3 Arthus Erea <[email protected]>:
>>
>> Okay, so I just did some testing.
>>
>> It appears that there's currently no way to add output before the  
>> XML,
>> with the reason being that the output buffer is cleared right before
>> the xml is output.
>>
>> We should probably stick a hook in there.
>
> Perhaps I'm missing something, but why would you want to add output
> _before_ the XML ? That would make the feed invalid.
>
> If you want to put something _in_ the feed, perhaps something in a
> different namespace for example, you could sink the
> atom_create_wrapper action hook. If you want to add items of a new
> content type to the existing feed, you can sink the
> atom_get_collection_content_type filter to add a content type. If you
> just want to do something when a feed is created, you can sink the
> atom_init hook, as arthus suggests. If you want to do something else,
> there's probably an option for that too :)
>
> -- 
> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to