Recent Topics

stealth plugins - even on xml feeds?

Started by on Feb 12, 2007 – Contents updated: Feb 12, 2007

Feb 12, 2007 21:27    

Hi all. I was testing something about renderer plugins and find out that stealth plugins are rendered even on xml feeds.

There's a way to make a stealth plugin to be displayed only in the HTML output?

[]'s
- Walter

Feb 13, 2007 12:23

Hi personman!

Yes, I'm using that hook. But I wanted a stealth renderer, aplied on all the posts on the blog, but not on XML. But I think that I can use it with XML too :)

B2evo has a great API for plugins! I'm impressed!

[]'s
- Walter

Feb 17, 2007 15:48

Walter, RenderItemAsHtml should only apply to HTML, not XML (therefor you would use RenderItemAsXml).

Feb 21, 2007 20:04

kwa, I've just answered you there.

Walter, do you think that you are experiencing buggy behaviour?

"with XML" - are you meaning feeds? In most feeds the "html" format gets used for the content.

Feb 22, 2007 14:37

I need to review the code to answer you blueyed.

I will tell you later


Form is loading...

b2evolution CMS – This forum is powered by b2evolution CMS, a complete engine for your website.