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

Suggestion: Use XmlSerializer for easier maintainability #17

Open
lukasf98 opened this issue Jan 6, 2023 · 0 comments
Open

Suggestion: Use XmlSerializer for easier maintainability #17

lukasf98 opened this issue Jan 6, 2023 · 0 comments

Comments

@lukasf98
Copy link

lukasf98 commented Jan 6, 2023

I suggest using XmlSerializer (https://learn.microsoft.com/en-us/dotnet/api/system.xml.serialization.xmlserializer?redirectedfrom=MSDN&view=net-7.0) instead of the current approach.

This would probably make it easier to parse the xml files.

An example for serializing XMLTV can be found here: https://github.com/Zapan9966/XmlTvGrabberWebGui/tree/e0fa0e799b9655a86bc6e235820b042c369f26a9/XmlTvGrabberWebGui/SerializeModels

The corresponding classes can be taken from here: https://github.com/XMLTV/xmltv/blob/master/xmltv.dtd

At the same time missing features like the image tag (see here) could be added.

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

No branches or pull requests

1 participant