incubator-zeta-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jerome Renard <jerome.ren...@gmail.com>
Subject [zeta-dev] managingEditor support in RSS2 feeds
Date Thu, 24 Feb 2011 07:52:29 GMT
Related issue : https://issues.apache.org/jira/browse/ZETACOMP-23

Hi all,

the support of "managingEditor" does not seem to be correct in ezcFeedRss2.
The problem lies in the way this tag is handled. For the moment the value
for
this tag is coupled to "author" in ezcFeedRss2::generateOptional() (line
367)
which lead to multiple <managingEditor> generated in the final feed which is
incorrect.

Do you think that decoupling <managingEditor> from "author" and adding
support for
a new "managingEditor" item in ezcFeed::add() would make sense ? This new
item could
simply point to a ezcFeedPersonElement object like "author", "contributor"
and "webmaster".

That way we could simply add a new case in ezcFeedRss2::generateOptional()
to handle
this <managingEditor> tag correctly.

What do you think ?

:)

-- 
Jérôme Renard
http://39web.fr | http://jrenard.info | http://twitter.com/jeromerenard

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message