Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 35746 - gentoo.org xml pages are not really xml
Summary: gentoo.org xml pages are not really xml
Status: RESOLVED INVALID
Alias: None
Product: Websites
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All All
: High trivial (vote)
Assignee: Kurt Lieber (RETIRED)
URL: http://www.gentoo.org
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-13 11:55 UTC by Jan Stanzel
Modified: 2003-12-13 15:36 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Stanzel 2003-12-13 11:55:10 UTC
Ok, this is not exactly what you would call a bug, but I think it's worth reporting it. Here we go:
All the pages on gentoo.org have filenames ending with ".xml". But when you look at it more closely, you will see that all the files actually are html (Doctype, actual content, and server's "Content-Type" header). I know it's a lot of work to convert all the pages into valid xml, but if you make people believe it's xml when it isn't, it's kinda lying imho :-)

Reproducible: Always
Steps to Reproduce:
1. Visit gentoo.org
2. -
3. -

Actual Results:  
Getting html instead of xml.

Expected Results:  
Either filenames ending with ".html" or similar, or delivering xml.

-
Comment 1 solar (RETIRED) gentoo-dev 2003-12-13 12:34:56 UTC
Jan,
The pages are infact .xml you can see this both in cvs and by passing ?passthru=1 to most pages in order to get the unrendered versions.


solar@simple solar $ telnet www.gentoo.org 80 
Trying 212.162.48.146...
Connected to www.gentoo.org.
Escape character is '^]'.
GET /?passthru=1
<?xml version='1.0'?>
<?xml-stylesheet href="/xsl/guide.xsl" type="text/xsl"?>
<mainpage id="news">
	<title>Gentoo Linux News</title>
	<version>Current</version>
	<newsitems/>
</mainpage>
	
Connection closed by foreign host.
Comment 2 Kurt Lieber (RETIRED) gentoo-dev 2003-12-13 15:36:01 UTC
The pages are valid XML.  We simply choose to process them before presenting it to the client.

This is an invalid bug.  Closing as such.