Comments (2)
I don't think this format is actually compliant with RFC2822 (well, RFC5322 now) since it doesn't include a time zone. Take a look at section 3.3 here and see what you think.
You can add this to the backupFormats list in RFC822DateFormatter.swift. That's the right place for formats that purport to be RFC822-class dates but aren't actually compliant (but that are nevertheless found in real-world feeds). It looks like the time zone will default to GMT, which seems reasonable. But it's probably worth verifying on some test feeds.
If you would, please add a version of the format that drops the day-of-week prefix (and comma) as well, since that seems to be a common mutation of RFC822 dates.
from feedkit.
Thank you for the issue @lironxyz and @GarthSnyder for helping out. If you feel you still need this, kindly open again.
Cheers
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 ?
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.