Fetching entries new than a given time

106 views
Skip to first unread message

Nils Haldenwang

unread,
May 28, 2012, 4:47:14 PM5/28/12
to feed...@googlegroups.com
Hi there,

I am trying to fetch articles from a feed which are newer than a given time:

Feedzirra::Feed.fetch_and_parse("http://www.spiegel.de/schlagzeilen/index.rss", if_modified_since: (Time.now.utc - 10.minutes)).entries.size

It says there are 30 entries. If I visit the feed in the browser there is no article published within the last 10 minutes.

What am I doing wrong?

Kind regards

Nils

Ezekiel Templin

unread,
May 29, 2012, 4:40:00 PM5/29/12
to feed...@googlegroups.com
Which version are you using?


Nils

--
You received this message because you are subscribed to the Google Groups "feedzirra" group.
To view this discussion on the web visit https://groups.google.com/d/msg/feedzirra/-/bffgqjgTaIQJ.
To post to this group, send email to feed...@googlegroups.com.
To unsubscribe from this group, send email to feedzirra+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/feedzirra?hl=en.

so...@intothespirit.com

unread,
Mar 15, 2013, 6:25:02 AM3/15/13
to feed...@googlegroups.com
The hash argument "if_modified_since" also doesn't work for me, it always shows 30 entries.

Version:
feedzirra (0.1.3)
    Authors: Paul Dix, Julien Kirch
    Homepage: http://github.com/pauldix/feedzirra
    Installed at: /var/lib/gems/1.9.1

    A feed fetching and parsing library
Reply all
Reply to author
Forward
0 new messages