Coder Social home page Coder Social logo

Comments (7)

nmdias avatar nmdias commented on August 21, 2024

As it is, it's not possible.

FeedKit would have to be refactored handle the specifying of a Generic Type, conforming to a few default protocols to handle mapping of the current supported namespaces. And so that at the same time you could provide a subclass of that model and override whatever you need to.

This is of the top of my head, ...at a first glance, it seems like a nice addition. However, I must ask.
Is this an existing service that you're integrating, or is it still in development? Because if it's in development, what is it exactly that you're trying extend? Have you looked at the current supported namespaces? Who knows, maybe they provide the capabilities that you're looking for. Or maybe there is a known namespace with those capabilities that we could add to FeeKit?

from feedkit.

NosovPavel avatar NosovPavel commented on August 21, 2024

Thanks for you answer! The service is really specific and it's in production :-( I think there is no necessity to add new attributes to FeedKit because it's a local thing. Now I know what should I do to apply FeedKit to my requirements.

from feedkit.

nmdias avatar nmdias commented on August 21, 2024

You're welcome, happy dev 🤠

from feedkit.

funkenstrahlen avatar funkenstrahlen commented on August 21, 2024

@nmdias Just to make sure I understand this discussion correctly: It is currently not possible to parse xml tags with FeedKit which are not already implemented in FeedKit? There is no way to extend it?

from feedkit.

nmdias avatar nmdias commented on August 21, 2024

Hi @funkenstrahlen,

Yes, that is correct. It is not possible to extend FeedKit beyond the supported namespaces, yet. It's tempting to add that feature, however.

If I may ask, are you looking to use a standard namespace, or are these private, custom elements and attributes?

Cheers

from feedkit.

funkenstrahlen avatar funkenstrahlen commented on August 21, 2024

I need to extend for private / custom elements. It is perfectly fine if you do not want to add this extendability because it takes a lot of architectural work and restructure of the code.

from feedkit.

nmdias avatar nmdias commented on August 21, 2024

If you happen to fork it to suit your needs and need help, do open an issue. I'll be glad to assist.

Just a note:

There's a bottleneck in FeedKit right now that becomes apparent when parsing a few hundred feeds. The fix, while not related, would actually make it easy to add that feature, because it involves moving the parsing into a dictionary, then out trough the Model.

Anyways, this is somewhat wishful thinking. I'll eventually add that, just don't know when.

Happy devs

from feedkit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.