Repository navigation
Conversation
|
Hi woxcab, My suggestion would be to just name the argument Since all the ATOM text fields and probably also some other RSS fields (not sure about that; would have to check) also may contain CDATA, and could have the ATOM types linked above, a proper way would be to add a new Please let me know if you disagree. Regards, |
|
Hi Lars. What do you mean by |
|
There are several fields in ATOM (e.g title, summary, content, and rights) (and I suspect also in RSS feeds) which could have CDATA entries as well as having several different content types like text or xhtml. One possible way to handle this is to add support for this to every field, using a dictionary. This is basically what this patch is doing, though for one RSS field only. A differnt idea would be to add a general Python class to handle all this. It would still be necessary to add the arguments to all the setter functions but we would have a similar handling of content for these fields. I would add a But that is obviously a bit more work and I suspect that I will not find the time in the near future to do this. That is why I said that I would accept this patch with only the argument name changed so that it does not get confused with the ATOM |
|
Oh. I cannot imagine implementation details for class-based way, so I abstain from this. |
|
Is there any update on this? If not I can respin the patch to adjust based on ikiesow's comments. |
RSS allows to use CDATA blocks (proof), so I offer to add the optional parameter
typeto thedescription()function (as incontent()).