Martijn van Beurden
2013-Jun-05 07:10 UTC
[flac-dev] [PATCH website] Even more brands for links and sourceforge pages
On 05-06-13 00:45, Erik de Castro Lopo wrote:> I notice that in the feeds/feed.xml file there is a item titled "Sony > launches its first FLAC-playing receiver" but that does not show up on > https://xiph.org/flac/news.html. Any idea what's going on here?Yeah, sure, I have that all the time. The weird thing is that even when using Ctrl+F5, my browser (Firefox) won't reload the XML feed. You'll have to go to xiph.org/flac/feeds/feed.xml, refresh the feed there with (Ctrl+)F5, to get the new news in the browser cache, then it will show up. I don't know how long caches are usually held, but just for the record, that news item of Sony shows up here.
Erik de Castro Lopo
2013-Jun-05 08:41 UTC
[flac-dev] [PATCH website] Even more brands for links and sourceforge pages
Martijn van Beurden wrote:> Yeah, sure, I have that all the time. The weird thing is that even when > using Ctrl+F5, my browser (Firefox) won't reload the XML feed. You'll > have to go to xiph.org/flac/feeds/feed.xml, refresh the feed there with > (Ctrl+)F5, to get the new news in the browser cache, then it will show up.Ah yes, thats it.> I don't know how long caches are usually held, but just for the record, > that news item of Sony shows up here.Have you tried replacing the "GET" here: xhttp.open("GET",dname,false); xhttp.send(""); return xhttp.responseXML; with a "POST" operation instead? See the "GET or POST?" section of this page: http://www.w3schools.com/dom/dom_httprequest.asp Cheers, Erik -- ---------------------------------------------------------------------- Erik de Castro Lopo http://www.mega-nerd.com/
Martijn van Beurden
2013-Jun-05 17:43 UTC
[flac-dev] [PATCH website] Even more brands for links and sourceforge pages
On 05-06-13 10:41, Erik de Castro Lopo wrote:> Have you tried replacing the "GET" here: > > xhttp.open("GET",dname,false); > xhttp.send(""); > return xhttp.responseXML; > > with a "POST" operation instead? See the "GET or POST?" section of this > page:Right, I didn't know about that. Here's a patch, it seems to work, but I'm not really sure. With this patch, there seems to be no caching, but when I reverted it, it worked too. I really don't understand Firefox caching. Well, anyway, a few sources on the internet say this should work and I don't see a way this might break anything. -------------- next part -------------- A non-text attachment was scrubbed... Name: 0001-Change-javascript-feed-fetch-from-GET-to-POST.patch Type: text/x-patch Size: 0 bytes Desc: not available Url : http://lists.xiph.org/pipermail/flac-dev/attachments/20130605/bbbfb0a9/attachment.bin
Possibly Parallel Threads
- [PATCH website] Even more brands for links and sourceforge pages
- [PATCH] Change javascript feed fetch from GET to POST
- [PATCH website] Even more brands for links and sourceforge pages
- [PATCH website] Even more brands for links and sourceforge pages
- Sourceforge pages (was: Even more brands for links and sourceforge pages)