Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated AtomExtensions to create XmlSyndicationContent when ContentType is set to "xml" #34

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

thomasdunn
Copy link

Sharing the changes I had to make to support my use case: having content type="text/xml" in feed entry content. Current code supports only plain text and html. I updated AtomExtensions to create XmlSyndicationContent when ContentType is set to "xml". Just sharing my changes - I'm not requesting a merge in right now as the changes were made only on the feed generation side and not for create/update operations. Also, made a breaking change - IPublication.Content changed from string to object which could be handled more elegantly.

…pe is

set to "xml". Changed IPublication.Content to object to support arbitrary
object type.  Object is XmlSerialized.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant