From: "Christian A. Reiter" on
As you maybe know, the program "kdevelop" under Linux has a built in
documentation browser which uses the online php documentation which was on
the homepage of the Minnesota university.
Since this homepage isn't available any more the documentation is broken.
I tried to link to the new page, but the doc-browser uses an internal xml file
which describes the base URL and the nodes of the manual
(if you have a linux installation with kdevelop, look at
the /usr/share/apps/kdevdocumentation/tocs/php.toc file).

I just wanted to update the doc link, but the new page isn't in sync with the
old with it's structure exactly.
Could you provide me a list of the nodes of the php doc, or do I have to parse
the html file (http://www.php.net/manual/en/index.php -> browser html output)
to convert it to a .toc file?

Thank you,
Chris
From: "M. Sokolewicz" on
Christian A. Reiter wrote:
> As you maybe know, the program "kdevelop" under Linux has a built in
> documentation browser which uses the online php documentation which was on
> the homepage of the Minnesota university.
> Since this homepage isn't available any more the documentation is broken.
> I tried to link to the new page, but the doc-browser uses an internal xml file
> which describes the base URL and the nodes of the manual
> (if you have a linux installation with kdevelop, look at
> the /usr/share/apps/kdevdocumentation/tocs/php.toc file).
>
> I just wanted to update the doc link, but the new page isn't in sync with the
> old with it's structure exactly.
> Could you provide me a list of the nodes of the php doc, or do I have to parse
> the html file (http://www.php.net/manual/en/index.php -> browser html output)
> to convert it to a .toc file?
>
> Thank you,
> Chris

This is more of a question for the PHP Documentation Mailinglist than
for php-general, so I'm cc'ing it there.

Could you perhaps put up such a toc file somewhere online, so we could
take a look at what it actually looks like, for those of us not having
access to a kdevelop installation.

Also, the php documentation on that homepage, was it just the XML-source
? or the rendered html output? I'm having a bit of a hard time figuring
that out from your mail.

- Tul
From: "Christian A. Reiter" on
Am Freitag, 18. Juli 2008 13:03:43 schrieb M. Sokolewicz:
> This is more of a question for the PHP Documentation Mailinglist than
> for php-general, so I'm cc'ing it there.
>
> Could you perhaps put up such a toc file somewhere online, so we could
> take a look at what it actually looks like, for those of us not having
> access to a kdevelop installation.
>
> Also, the php documentation on that homepage, was it just the XML-source
> ? or the rendered html output? I'm having a bit of a hard time figuring
> that out from your mail.
>
> - Tul


Hi,
Sorry for "spamming", but i got a error reply from sending this to
php-doc(a)lists.php.net

here is the content of the php.toc file: http://paste.ubuntu.com/28269/

I don't know exactly how the old documentation looked like (because I never
saw it online) - but what I can read out of the .toc file the structure was
quite the same as the one on your php.net page.

The toc file describes just URLs;
- one base URL (in your case "www.php.net/manual/en")
- all other xml nodes are titles and relative paths.

I replaced the line
<base href="http://epoxy.mrs.umn.edu/doc/python2.2-doc/html"/>
with
<base href="http://www.php.net/manual/en"/>

-> most of the documentation works - but not all of it, and some chapter
numbers are wrong too.

So I ask you if there exists a possibility to get this documentation in a
format that suites better than parsing the html file op php.net ;-)

Thanks,
Chris
From: "Daniel Brown" on
On Fri, Jul 18, 2008 at 9:22 AM, Christian A. Reiter
<chris.reiter(a)gmx.at> wrote:
> Hi,
> Sorry for "spamming", but i got a error reply from sending this to
> php-doc(a)lists.php.net

Don't worry, you're not "spamming", you were following up. The
gods have forgiven you, so you're good to go! ;-P

php-doc(a)lists.php.net is a common typo. The real address is
phpdoc(a)lists.php.net. Note the lack of hyphen.

I think it's safe to say that *most* of us have done it. I know,
at least, that I have.... and so has Tul, just yesterday. ;-P

--
</Daniel P. Brown>
Better prices on dedicated servers:
Intel 2.4GHz/60GB/512MB/2TB $49.99/mo.
Intel 3.06GHz/80GB/1GB/2TB $59.99/mo.
Dedicated servers, VPS, and hosting from $2.50/mo.