Buy commercial curl support from WolfSSL. We help you work
out your issues, debug your libcurl applications, use the API, port to new
platforms, add new features and more. With a team lead by the curl founder
himself.
caching control? ...getting old RSS feed instead of the updated one
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
From: Giovanni Biscuolo via curl-users <curl-users_at_cool.haxx.se>
Date: Fri, 23 Jul 2021 12:42:33 +0200
Hello users,
I've an issue getting an RSS feed with curl [1].
If I use curl to fetch https://www.roars.it/online/feed/ I get:
--8<---------------cut here---------------start------------->8---
giovanni_at_roquette: curl https://www.roars.it/online/feed/
<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
xmlns:georss="http://www.georss.org/georss"
xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
>
<channel>
<title>ROARS</title>
<atom:link href="https://www.roars.it/online/feed/" rel="self" type="application/rss+xml" />
<link>https://www.roars.it/online</link>
<description>Return On Academic Research and School</description>
<lastBuildDate>Fri, 28 May 2021 06:54:46 +0000</lastBuildDate>
<language>it-IT</language>
<sy:updatePeriod>
hourly </sy:updatePeriod>
<sy:updateFrequency>
1 </sy:updateFrequency>
<generator>https://wordpress.org/?v=5.6.4</generator>
--8<---------------cut here---------------end--------------->8---
As you can see, the "lastBuildDate" of the feed is "Fri, 28 May 2021
06:54:46 +0000"
If I open the feed with my browser (ungoogled-chromium) I get this:
--8<---------------cut here---------------start------------->8---
<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
xmlns:georss="http://www.georss.org/georss"
xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
>
<channel>
<title>ROARS</title>
<atom:link href="https://www.roars.it/online/feed/" rel="self" type="application/rss+xml" />
<link>https://www.roars.it/online</link>
<description>Return On Academic Research and School</description>
<lastBuildDate>Wed, 21 Jul 2021 14:05:50 +0000</lastBuildDate>
<language>it-IT</language>
<sy:updatePeriod>
hourly </sy:updatePeriod>
<sy:updateFrequency>
1 </sy:updateFrequency>
<generator>https://wordpress.org/?v=5.6.4</generator>
--8<---------------cut here---------------end--------------->8---
As you can see the "lastBuildDate" is "Wed, 21 Jul 2021 14:05:50 +0000".
Please do you have any hint why the documents differs?
Is the first page coming from some curl cache I should configure
otherwise?
Thanks! Gio'
[1] I use curl in Emacs elfeed to fetch feeds
-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2021-07-23
Date: Fri, 23 Jul 2021 12:42:33 +0200
Hello users,
I've an issue getting an RSS feed with curl [1].
If I use curl to fetch https://www.roars.it/online/feed/ I get:
--8<---------------cut here---------------start------------->8---
giovanni_at_roquette: curl https://www.roars.it/online/feed/
<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
xmlns:georss="http://www.georss.org/georss"
xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
>
<channel>
<title>ROARS</title>
<atom:link href="https://www.roars.it/online/feed/" rel="self" type="application/rss+xml" />
<link>https://www.roars.it/online</link>
<description>Return On Academic Research and School</description>
<lastBuildDate>Fri, 28 May 2021 06:54:46 +0000</lastBuildDate>
<language>it-IT</language>
<sy:updatePeriod>
hourly </sy:updatePeriod>
<sy:updateFrequency>
1 </sy:updateFrequency>
<generator>https://wordpress.org/?v=5.6.4</generator>
--8<---------------cut here---------------end--------------->8---
As you can see, the "lastBuildDate" of the feed is "Fri, 28 May 2021
06:54:46 +0000"
If I open the feed with my browser (ungoogled-chromium) I get this:
--8<---------------cut here---------------start------------->8---
<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
xmlns:georss="http://www.georss.org/georss"
xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
>
<channel>
<title>ROARS</title>
<atom:link href="https://www.roars.it/online/feed/" rel="self" type="application/rss+xml" />
<link>https://www.roars.it/online</link>
<description>Return On Academic Research and School</description>
<lastBuildDate>Wed, 21 Jul 2021 14:05:50 +0000</lastBuildDate>
<language>it-IT</language>
<sy:updatePeriod>
hourly </sy:updatePeriod>
<sy:updateFrequency>
1 </sy:updateFrequency>
<generator>https://wordpress.org/?v=5.6.4</generator>
--8<---------------cut here---------------end--------------->8---
As you can see the "lastBuildDate" is "Wed, 21 Jul 2021 14:05:50 +0000".
Please do you have any hint why the documents differs?
Is the first page coming from some curl cache I should configure
otherwise?
Thanks! Gio'
[1] I use curl in Emacs elfeed to fetch feeds
-- Giovanni Biscuolo Xelera IT Infrastructures
-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette: https://curl.haxx.se/mail/etiquette.html
- application/pgp-signature attachment: signature.asc