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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Sat May 18 20:01:34 2024 UTC