php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #52005 Manual pages is sent as Atom feeds, not HTML content
Submitted: 2010-06-05 23:31 UTC Modified: 2010-06-05 23:36 UTC
From: ostfre at gmail dot com Assigned:
Status: Closed Package: Website problem
PHP Version: Irrelevant OS: Irrelevant
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: ostfre at gmail dot com
New email:
PHP Version: OS:

 

 [2010-06-05 23:31 UTC] ostfre at gmail dot com
Description:
------------
When I go to some manual pages on one of the Norwegian PHP mirror sites (no.php.net), I get weird HTML output, like for example:

http://no.php.net/readline returns:

<?xml version="1.0" encoding="utf-8" ?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
 <title>GNU Readline</title>
 <updated>2010-06-04T05:04:37-05:00</updated>
 <id>tag:php.net,2009-10-13:/manual/en/file/book.readline</id>
 <link rel="self" type="application/atom+xml" href="http://php.net/manual/en/feeds/book.readline.atom" />
 <link rel="alternate" type="text/html" href="http://php.net/manual/en/book.readline.php" />
 <generator uri="http://doc.php.net/phd/">PhD</generator>
 <author>
  <name>PHP Documentation Group</name>
 </author>
 <entry>
  <title>Introduction</title>
  <link href="http://php.net/manual/en/intro.readline.php" />
  <updated>2010-06-04T05:04:37-05:00</updated>
  <id>tag:php.net,2009-10-13:/manual/en/intro.readline</id>
 </entry>
 <entry>
  <title>Installing/Configuring</title>
  <link href="http://php.net/manual/en/readline.setup.php" />
  <updated>2010-06-04T05:04:37-05:00</updated>
  <id>tag:php.net,2009-10-13:/manual/en/readline.setup</id>
 </entry>
 <entry>
  <title>Predefined Constants</title>
  <link href="http://php.net/manual/en/readline.constants.php" />
  <updated>2010-06-04T05:04:37-05:00</updated>
  <id>tag:php.net,2009-10-13:/manual/en/readline.constants</id>
 </entry>
 <entry>
  <title>Readline Functions</title>
  <link href="http://php.net/manual/en/ref.readline.php" />
  <updated>2010-06-04T05:04:37-05:00</updated>
  <id>tag:php.net,2009-10-13:/manual/en/ref.readline</id>
 </entry>
</feed>


http://no.php.net/time returns:

<?xml version="1.0" encoding="utf-8" ?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
 <title>Return current Unix timestamp</title>
 <updated>2010-06-04T05:04:37-05:00</updated>
 <id>tag:php.net,2009-10-13:/manual/en/file/function.time</id>
 <link rel="self" type="application/atom+xml" href="http://php.net/manual/en/feeds/function.time.atom" />
 <link rel="alternate" type="text/html" href="http://php.net/manual/en/function.time.php" />
 <generator uri="http://doc.php.net/phd/">PhD</generator>
 <author>
  <name>PHP Documentation Group</name>
 </author>
</feed>

http://no.php.net/phpinfo returns:

<?xml version="1.0" encoding="utf-8" ?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
 <title>Outputs information about PHP's configuration</title>
 <updated>2010-06-04T05:04:37-05:00</updated>
 <id>tag:php.net,2009-10-13:/manual/en/file/function.phpinfo</id>
 <link rel="self" type="application/atom+xml" href="http://php.net/manual/en/feeds/function.phpinfo.atom" />
 <link rel="alternate" type="text/html" href="http://php.net/manual/en/function.phpinfo.php" />
 <generator uri="http://doc.php.net/phd/">PhD</generator>
 <author>
  <name>PHP Documentation Group</name>
 </author>
</feed>

And other pages return similar results.
Other pages, like http://no.php.net/date, or the full URLs of the pages above (like http://no.php.net/manual/en/function.readline.php), works fine.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-06-05 23:36 UTC] ostfre at gmail dot com
-Status: Open +Status: Closed
 [2010-06-05 23:36 UTC] ostfre at gmail dot com
The bug seems to be fixed now; the manual pages used in my examples now work as expected.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Thu Oct 08 22:00:01 2026 UTC