Re: [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. ___ flac-dev mailing list flac-dev@xiph.org http://lists.xiph.org/mailman/listinfo/flac-dev
Re: [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/ ___ flac-dev mailing list flac-dev@xiph.org http://lists.xiph.org/mailman/listinfo/flac-dev
Re: [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. From c35a4b26d6274cf864146f725f8802c55267b3e0 Mon Sep 17 00:00:00 2001 From: Martijn van Beurden mva...@gmail.com Date: Wed, 5 Jun 2013 19:19:14 +0200 Subject: [PATCH] Change javascript feed fetch from GET to POST This change should disable caching of the news feed --- index.html | 2 +- news.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 41d81d8..b4efb6b 100644 --- a/index.html +++ b/index.html @@ -23,7 +23,7 @@ } else { xhttp=new XMLHttpRequest(); } - xhttp.open(GET,dname,false); + xhttp.open(POST,dname,false); xhttp.send(); return xhttp.responseXML; } diff --git a/news.html b/news.html index 88e8ab6..02048df 100644 --- a/news.html +++ b/news.html @@ -25,7 +25,7 @@ } else { xhttp=new XMLHttpRequest(); } - xhttp.open(GET,dname,false); + xhttp.open(POST,dname,false); xhttp.send(); return xhttp.responseXML; } -- 1.8.1.2 ___ flac-dev mailing list flac-dev@xiph.org http://lists.xiph.org/mailman/listinfo/flac-dev
Re: [flac-dev] [PATCH website] Even more brands for links and sourceforge pages
Martijn van Beurden wrote: Once more a patch much too heavy for the list. This will be the last addition for links.html for a while, I think I really got them all now. This patch adds a bunch of brands (some high-profile like Sony, LG, ASUS) that have at least one FLAC-playing device in their line-up. http://www.icer.nl/misc_stuff/Add-9-more-brands-to-links-and-adding-news-item.patch.zip Applied, thanks. Considering flac.sourceforge.net, is this ever going to be updated? In case it should be redirected, I checked on my own sourceforge project webpage, adding the following two lines to .htaccess should redirect traffic to any resource on flac.sourceforge.net to xiph.org/flac RedirectMatch permanent ru/(.*)$ http://xiph.org/flac/$1 RedirectMatch permanent (.*)$ http://xiph.org/flac/$1 Ralph? Any chance of getting this done? Cheers, Erik -- -- Erik de Castro Lopo http://www.mega-nerd.com/ ___ flac-dev mailing list flac-dev@xiph.org http://lists.xiph.org/mailman/listinfo/flac-dev
Re: [flac-dev] [PATCH website] Even more brands for links and sourceforge pages
Martijn van Beurden wrote: Hi, Once more a patch much too heavy for the list. This will be the last addition for links.html for a while, I think I really got them all now. This patch adds a bunch of brands (some high-profile like Sony, LG, ASUS) that have at least one FLAC-playing device in their line-up. Martijn, 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? I'm currently trying to add a news item for the new release and trying to understand how it currently works. Cheers, Erik I was going to add something like this: item titleFLAC 1.3.0 released/title descriptionFirst release in over 6 years from the new Xiph.Org maintainer team. No big changes, many small code and build improvements./description linkhttps://xiph.org/flac/changelog.html/link pubDateSat, 01 Jun 2013 12:00:00 +1000/pubDate guidhttp://flac.sourceforge.net/news.html#20130530/guid /item -- -- Erik de Castro Lopo http://www.mega-nerd.com/ ___ flac-dev mailing list flac-dev@xiph.org http://lists.xiph.org/mailman/listinfo/flac-dev