Page 1 of 1

API: Article content | getHeadlines vs getArticle

Posted: 15 May 2013, 17:53
by cgrinds
Someone reported that embedded videos weren't working in DripDripDrop. When
I dug into this I noticed that getHeadlines with show_content: true does not
return the same content as getArticle. getHeadlines does the additional
santitize step and it appears there is no way to override this at the API
level.

So getHeadlines returns sanitized content while getArticle returns the raw
content. I assume this is an intentional design decision to err on the side of
sanitizing. Did you ever consider exposing the sanitize decision to the
getHeadlines API?

Anything I'm missing here? and thanks

Re: API: Article content | getHeadlines vs getArticle

Posted: 15 May 2013, 18:08
by fox

Re: API: Article content | getHeadlines vs getArticle

Posted: 15 May 2013, 18:20
by cgrinds
Awesome, thxs for the quick patch.