Comments (7)
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.
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.
You're welcome, happy dev 🤠
from feedkit.
@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.
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.
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.
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)
- PHP Feed not parsing HOT 1
- feature request: support for Atom Entry Documents HOT 1
- Feature request: access to HTTPURLResponse for downloaded feed HOT 3
- Can not locate image in RSSFeed HOT 1
- Not able to parse some websites HOT 2
- Swift import Error,Those are error message HOT 2
- Is there a way to access "atom:link" in RSS feed?
- BaseTestCase fails on line 33
- Dublin Core namespace not available on atom feeds HOT 1
- how can I download it? HOT 1
- Documentation domain has been suspended HOT 1
- Additional headers HOT 1
- iOS16 crashed HOT 2
- Is there an Android version? HOT 3
- Bring documentation back HOT 4
- The file “hotnews.rss” couldn’t be opened. HOT 1
- The file “feed” couldn’t be opened. HOT 1
- Reddit RSS failed parsing HOT 3
- How mock AtomFeed with urls ?
- Encoding should use document encoding, rather than UTF-8 all the time
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from feedkit.