Comments (9)
Hi @YonghuiDong, sorry for the delay in getting back to you on this. Can you please give me more specifics of what you have in mind? Perhaps point me to a feed and let me know what data you would like to get back? What do you mean by "partial" contents? How would you like to specify what portion of the contents you get back? Thanks, Andrew.
from feeder.
Thanks for your kind help. I would also like to fetch part of the contents from the link as well, e.g., the first 200 words of the contents from the link.
Current feedeR
version only exports title, date and link from Rss feed.
feedeR:: feed.extract("https://feeds.feedburner.com/RBloggers")
The R package scifetch can export contents as well. description
in the figure.
scifetch::getrss("https://feeds.feedburner.com/RBloggers")
The probeem with scifetch
is that it does not supports RSS feeds of scientific journals very well. Therefore I am wondering if feedeR
can do the similar job.
from feeder.
The probeem with
scifetch
is that it does not supports RSS feeds of scientific journals very well.
Understood.
Just so that I have an idea of what you are wanting to achieve, please can you point me to some examples of relevant "RSS feeds of scientific journals" and give me an idea of what you'd be looking for in the output.
from feeder.
Hi @YonghuiDong , I've added the description field to the RSS output. Changes are in the dev
branch (commit hash 64f6113). Can you please test and let me know if that does what you want? Thanks, Andrew.
from feeder.
@datawookie Amazing, Thanks a lot Andrew!
I have tested the RSS of RBloggers, and the result is exactly what I need.
feedeR:: feed.extract("https://feeds.feedburner.com/RBloggers")
However, when I test the scientific journal, e.g. Nature Plants, the description are all NAs.
feed.extract("http://feeds.nature.com/nplants/rss/current")
Here is the RSS feed of Nature Plants: http://feeds.nature.com/nplants/rss/current. You can see from the link that there is a short summary for each article.
Below is an example of the output from feedly.com
. The summary of the article is also included.
Is it possible that feedeR
can fetch the summary as well?
Many scientific journals are non-open access journals, which require subscriptions. But the abstract of each article is available. It will be even better if feedeR
can fetch the abstract of the article.
Thanks a lot again.
Yonghui
from feeder.
However, when I test the scientific journal, e.g. Nature Plants, the description are all NAs.
Yes, that's because it's an RDF feed and I implemented the fix for an RSS feed (based on the fact that the original example you provided me with was https://feeds.feedburner.com/RBloggers).
from feeder.
I've pushed updates for RDF feed to the dev
branch. Please test and let me know.
from feeder.
@datawookie Hi Andrew,
I have tested several different journals, this version works very well. Thanks a lot!!
Yonghui
from feeder.
Great. I'll merge into the master
branch once I hear back on the other pending issue.
from feeder.
Related Issues (16)
- Google-News: feed.extract returns error HOT 2
- Not able to parse Date from Cnbc RSS feeds. HOT 1
- Space required after the Public Identifier error HOT 1
- Tag mismatches from Glassdoor feed HOT 1
- cannot parse Google allert RSS
- RSS without date HOT 2
- NIH Reporter RSS feed error HOT 2
- Encoding issues HOT 17
- locale de_DE.UTF-8: feed.extract parse date error HOT 6
- Empty description in RSS
- Unable to parse date HOT 13
- Unable to feed.extract slashdot.com feed HOT 3
- Unable to parse date
- Getting Error while extracting reuters RSS feed. HOT 1
- feed.extract() is failing with reuters finance RSS feed. Please see below the error. HOT 2
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 feeder.