Closed avimak closed 6 years ago
@danmactough, pls let me know how can I help to push this forward.
Hi, @avimak. Thanks for your PR! I'm not going to add this, however, since those itunes extensions don't map to any standard RSS properties. The point of those generic properties is to map to the RSS 2.0 spec, so I don't think it's appropriate to add them.
Note that you already have access to all that itunes-specific information (for example, in the meta
, you can always access meta['itunes:type']
).
I like this approach.
I have been able to access elements that I've added in my "source" namespace this way.
Dave
On Thu, Aug 17, 2017 at 3:16 PM, Dan MacTough notifications@github.com wrote:
Hi, @avimak https://github.com/avimak. Thanks for your PR! I'm not going to add this, however, since those itunes extensions don't map to any standard RSS properties. The point of those generic properties is to map to the RSS 2.0 spec, so I don't think it's appropriate to add them.
Note that you already have access to all that itunes-specific information (for example, in the meta, you can always access meta['itunes:type']).
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/danmactough/node-feedparser/pull/230#issuecomment-323168070, or mute the thread https://github.com/notifications/unsubscribe-auth/ABm9O1rtBUqg5TqoSosylDqEZIsI3FT6ks5sZJGYgaJpZM4O5ITo .
@danmactough, @scripting, thanks for the comments, and I respect your point of view.
the problem with this approach, as I see it, is that you losing default values in case of missing tags, (e.g.
…
season
,episode
&episodeType
fields, and meta's (/channel's)type
field.