i want to get the direct link to a news story, but none of the "current" articles have links that let you get at it. http://www.gentoo.org/ clearly they exist because if you go to the bottom of the page, there are direct links to old articles.
Infra, I guess. Certainly not the GDP; we don't do anything but /doc/. I dunno who setup the "archiving" feature, or where, or how the links would be added to the individual articles. If there's an easy solution that doesn't involve extending GuideXML or writing more code inside the XML news item itself, then I'm all for it. Maybe a script or some other trickery to look at the filename in /news/foo.xml that generates a URI for it, while pulling the title from the <title> element in the XML file. It would make the title clickable with an <a href="foobar.xml">Title here</a> thing.
er, I doubt anyone in infra knows about this besides Robin. IIRC the "new" homepage was created by Xavier, who is no longer around.
I'm 99% sure this is a 1 or 2 line xsl change. Unless robin wants to do it I will take a stab at it ;) -A
Created attachment 267969 [details, diff] 361035-link-on-news-items.patch This is an untested patch which should do what is requested here. Sorry, I don't have the dynamic stuff (dyn-index etc) available at the moment, and am bit short on time.
It should work, I've committed it.
The links work, but it's not as nice now in CSS, can that please get fixed too?
Also, the links for GLSA, new packages and blogposts are wrong.
jkt/antarus: reping please fix the GLSA/packages/blogposts links.
here's the simple fix for the css --- main.css 28 Sep 2008 13:29:40 -0000 1.21 +++ main.css 15 Jun 2012 17:33:21 -0000 @@ -40,6 +40,11 @@ dt { font-family: sans-serif, Verdana, Arial, Helvetica; } +.newshead a:link { color: white; text-decoration: none; } +.newshead a:visited { color: white; text-decoration: none; } +.newshead a:hover { color: white; text-decoration: underline; } +.newshead a:active { color: white; text-decoration: underline; } + a.highlight:link { color: #00ff00; text-decoration: none; } a.highlight:visited { color: #00ff00; text-decoration: none; } a.highlight:hover { color: #00ff00; text-decoration: underline; }