Comments (13)
I'm not sure. I have not worked with feed extensions a lot. What does happen when you enable extensions : true
, will those attributes appear? If possible give an URL with example feed or at least snippets.
from fast-feed.
Hi, you will see nothing special on the output but here my feed page.
https://github.com/onigetoc/feedrapp/blob/master/src/feed.js
Usualy, XML enclosure output like this.
<enclosure url="https://cdn.rt.com/files/2017.01/thumbnail/587d0965c3618885428b4603.jpg" type="image/jpeg" length="123"/>
from fast-feed.
Since it does not contain a namespace, it's not recognized as an extension. Support needs to be explicitly added to extract it from RSS items. How familiar you are with C++?
from fast-feed.
zero knowledge with C++
Only PHP and Javascript/jQuery
from fast-feed.
Can there be multiple enclosure elements on an item. Spec is not clear on this. I think I could add support for these in this week.
from fast-feed.
i Think not. if i rememeber. if there's lot of item will be inside another tag like <medias>
http://www.therssweblog.com/?guid=20070522234541
from fast-feed.
Finally, is it possible to get enclosure?
from fast-feed.
Unfortunately I do not have time to implement it. I recommend to switch to a more feature-complete package.
from fast-feed.
I think it's very important to make it work. It should not be so long for someone who programmed this script. one hour work max?
from fast-feed.
That might be true but on this week I do not have that hour. Possibly on the next week. The Yahoo media extension should already work with the generic extension mechanism. The enclosure element needs to emit an object with the extracted attributes. This would be similar to the category code:
Line 562 in 2ed483a
The difference is that enclosure is just a single object.
from fast-feed.
Attaching link to RSS spec: http://www.rssboard.org/media-rss#media-content
Seems like there is a big use case with podcasts.
from fast-feed.
from fast-feed.
Released 1.6.0. Refer to https://github.com/rla/fast-feed#enclosure regarding the enclosure support.
Media extension support is put into a separate issue and will likely be done through nested extension parsing.
from fast-feed.
Related Issues (20)
- CDATA nodes are likely to need separate handling HOT 1
- multi cdata in content support HOT 4
- atom - parse author error HOT 2
- Rss2.0 namespaces and content module support HOT 6
- Support content:encoded extension directly for RSS 2
- Text extraction must check for comment nodes
- Extensions should be normalized to lowercase? HOT 1
- Multiple same-named elements can occur with extensions HOT 1
- Test with iojs 3.x series HOT 1
- Consider removing Makefile
- Upgrade to NAN 2.x HOT 2
- Work in progress: test fast-feed on OS X with Travis build HOT 7
- Add TypeScript definitions?
- Media extension support?
- Support for nested extension parsing
- Add TypeScript declarations
- Publish node bindings HOT 1
- Install on Mac fails HOT 2
- Some Atom feeds put IRI into link tag not into its href attribute.
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 fast-feed.