Hi Alex I've now rectified this issue in the plugin. Now when authenticated viewers view the feed, they'll get the markdown syntax rather than the formatted HTML syntax. Unauthenticated (ie normal viewers) will not see the markdown syntax.
Download 0.4.5 of this plugin (avail at http://www.habariproject.org/dist/plugins/habarimarkdown/ ) for your particular Habari revision (0.6.4 or trunk) to get the change. Cheers, Colin On Mon, Sep 6, 2010 at 10:07 AM, Alexander <[email protected]> wrote: > I just noticed I somehow messed up the above statement & patch. > > The fix has to be in add_posts not atom_get_collection. > > Anyway I tried fixing the plugin first, since it has an > action_atom_add_post function, but I could not figure out how to > differentiate between a normal Atom Feed and the AtomPub response. > This is the complicated part, since of course I want the normal Atom > Feeds to display the converted text and only the AtomPub should > respond with the raw text. > > Thanks for the offer to help. > Alex > > On 5 Sep., 17:03, Colin <[email protected]> wrote: > > Hi Alexander > > > > I don't use either the Markdown plugin (I like my content to be in HTML) > nor > > use AtomPub (I may if you know a good cross platform - *nux & Mac - > > client), but your can understand the situation you're in. > > > > One method is indeed to change the atomhandler.php as you have done, but > a > > better solution would be to change the plugin itself. > > > > I suspect most plugin authors of plugins that modify feeds only consume > the > > end result and don't actually use the AtomPub functionality. > > > > I'll take a look at the various plugins and the Habari code when I've got > a > > free moment (hopefully in the afternoons this week) to see if I can come > up > > with a better solution. First thing I need to do is get myself an AtomPub > > client to test with :-) > > > > Cheers, > > Colin > > -- > 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 > -- Colin Seymour Blog: http://colinseymour.co.uk Tech Stuff: http://lildude.co.uk Barefoot Running: http://barefootrunner.co.uk IRC: lildude #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
