Comments (2)
You can accept ISO8601 format by disabling validation:
gem 'rss', '0.2.8'
require 'rss'
ex = open('example.xml')
feed = RSS::Parser.parse(ex, validate: false)
feed.items.each do |item|
p item.pubDate
end
2019-04-12 01:15:00 +0000
2019-06-06 12:00:00 +0000
2019-05-30 13:00:00 -0500
2019-05-23 02:00:00 -0700
2019-05-16 07:00:00 UTC
2019-05-10 01:15:00 +0000
2019-05-03 01:15:00 +0000
2019-04-26 01:15:00 +0000
2019-04-19 01:15:00 +0000
from rss.
Oh, that's perfect! Thanks!
from rss.
Related Issues (20)
- Parsing enc:enclosure HOT 2
- Webhook for commit-email.info HOT 3
- Cant parse media content HOT 6
- Anyway to generate content as CDATA? HOT 3
- Error parsing <itunes:duration> when value is an integer. HOT 3
- Paged feeds (RFC 5005)? HOT 2
- <a10:author> <a10:name>Some author</a10:name> </a10:author> Not prasing correctly HOT 5
- Please add support for the PodcastIndex Namespace RSS tags
- obenn:master
- How to set content? HOT 3
- Trouble setting categories for RSS 2.0 feed HOT 2
- can't parse media:thumbnail HOT 1
- readme reading example HOT 1
- Can I add namespaced attributes? HOT 1
- Missing rel=self link? HOT 2
- Handling missing tags when parsing feeds HOT 2
- Is there any way to access unparsed tags? HOT 3
- Case sensitivity requires all-or-nothing validation HOT 5
- Test failed with ruby/ruby with rexml-3.3.4 HOT 4
- Cannot parse RSS with new version of rexml 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 rss.