The current script creates GuideXML directly. It would be much better imo to have it create a simple xml file that contains the USE flags and use an xsl transform to create some guideXML.
Created attachment 73010 [details] New script Suggested script. You only need to change to target file name & location (and dir where the use.desc & use.local.desc files can be found if they are not kept up-to-date on the web nodes) at the beginning. The script uses awk. The xsl is already in place. The xml file looks like http://wren.gentoo.org/proj/en/gdp/tests/use-index.xml?passthru=1 which is rendered as http://www.gentoo.org/proj/en/gdp/tests/use-index.xml
Cool, I'll put that on the list of things to add when I move over to the new webnode structure. Now that I got backups out of the way, I'm going to push on getting this task completed. Waited too long. I'll let you know when I'm getting closer to using this script.
I got the new script up and running on the new master web node [1]. Please check it over and make sure its working properly. [1] http://loon.gentoo.org/dyn/use-index.xml
That's the file from the old script
Odd, the script is supposed to be running that new script. I'll see whats going on.
Ok, I figured it out. Script was updating the file in the wrong place. I needed to have it update in the stage directory. It should be getting fixed in the next 30min or so.
Looks good. Now that we have an xml source, we can tweak the xsl and adapt the page to please the whiners :) Thanks. OT: compression does not seem to be enabled. I've just noticed neither wren nor kiwi compress their output, only bluejay does. $ curl -s --compress -D - -o /dev/null http://loon.gentoo.org/dyn/use-index.xml HTTP/1.1 200 OK Date: Sun, 27 Nov 2005 15:33:07 GMT Server: Apache ETag: "ccda-438924d0" Content-Length: 293080 Last-Modified: Sun, 27 Nov 2005 03:15:28 GMT Content-Type: text/html; charset=utf-8 $ curl -s --compress -D - -o /dev/null http://bluejay.gentoo.org/dyn/use-index.xml HTTP/1.1 200 OK Date: Sun, 27 Nov 2005 15:40:14 GMT Server: Apache/1.3.33 (Unix) (Gentoo/Linux) Vary: Accept-Encoding,User-Agent Content-Encoding: gzip Last-Modified: Sun, 27 Nov 2005 15:40:14 GMT ETag: W/"22b9f6-26e8-4389d35e" Accept-Ranges: bytes Content-Length: 9960 Content-Type: text/html; charset=UTF-8
Hmm, is this deployed yet? If yes it's lacking the local use flags.
(In reply to comment #8) > Hmm, is this deployed yet? If yes it's lacking the local use flags. No. Only loon.g.o and my http://gentoo.neysx.org/dyn/use-index.xml have it.
Donnie, you left #gentoo-infra too soon :) [07 17:15:40] <dberkholz> neysx: it would be pretty useful if you could set that up so the top of the local list had links to each category Something like http://gentoo.neysx.org/dyn/use-index.xml#local ?
Yes indeed, exactly like that
deployed in production.
(In reply to comment #11) > Yes indeed, exactly like that XSL has been edited on www.g.o: http://www.gentoo.org/dyn/use-index.xml#local (In reply to comment #12) > deployed in production. Thanks.