Comments (3)
Looking at this again, @chainsawriot , I think feeds like this are either uncommon or shouldn't be the target of parsing, so I don't want to customise tidyRSS to handle something like this.
from tidyrss.
@RobertMyles Fine.
For this project, we check around 1000 RSS every few hours and around 10% of them are having this error. So, feeds like this are actually not that uncommon at least in our application. It's an edge case for sure. But I think it would be better to tell users this is an edge case. Those are valid feeds; if the "contract" in the documentation is hold, it should return an empty tibble / list.
Lines 18 to 20 in 1a4c5fc
Even if no tibble is gonna returned, a more informative error message (e.g. "No parsable item in this feed") is helpful even when it raises an error.
If you want that, I can submit a PR.
from tidyrss.
Sure, I hadn't realised feeds like this are that common, did really seem like an edge case to me and I'm reluctant to try and adapt the package to all the messed-up feeds that can be found in the wild (I tried that before). Happy to receive a PR if you'd like to do that, I may not get around to doing this myself for a while.
from tidyrss.
Related Issues (20)
- Remove message?
- Error: Tibble columns must have compatible sizes. HOT 5
- broken RSS: datatau.com HOT 3
- entry_link is same for all items HOT 2
- tidyfeed fails when description contains HTML comments HOT 3
- Tidyfeed() RSS Import Error HOT 7
- Rlang issue HOT 5
- Searching For Multiple Terms HOT 1
- Retrieving duration or other custom-named tags HOT 4
- Feed parse error: https://lostcoastoutpost.com/feed/ HOT 1
- Unable to read xml rss feed https://www.edhat.com/rss.xml HOT 2
- make the *_parse functions exported? HOT 2
- item_title with more entries then item_description HOT 2
- 'entry_link' field repeated for all entries? HOT 6
- hid warning message output of tidyfeed() HOT 1
- Identification of feed type HOT 1
- tibble error with tidyfeed() function after updating R version to 4.3.2 HOT 2
- tidyfeed error in tibble: columns must have compatible sizes
- 403 error HOT 3
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 tidyrss.