svn: /pear/pearweb/trunk/cron/ find-documentation.php
| From: | Brett Bieber | Date: | Wed, 27 Jan 2010 15:38:35 +0000 |
| Subject: | svn: /pear/pearweb/trunk/cron/ find-documentation.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-9171@lists.php.net to get a copy of this message | ||
saltybeagle Wed, 27 Jan 2010 15:38:35 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=294098
Log:
Fix the doc-finder. Look for <book xml:id instead of <sect1 id.
Changed paths:
U pear/pearweb/trunk/cron/find-documentation.php
Modified: pear/pearweb/trunk/cron/find-documentation.php
===================================================================
--- pear/pearweb/trunk/cron/find-documentation.php 2010-01-27 15:36:26 UTC (rev 294097)
+++ pear/pearweb/trunk/cron/find-documentation.php 2010-01-27 15:38:35 UTC (rev 294098)
@@ -89,7 +89,7 @@
$content = file_get_contents($path);
preg_match("/<title>(.*)<\/title>/", $content, $matches1);
- preg_match("/<sect1 id\=\"(.*)\">/", $content,
$matches2);
+ preg_match("/<book.*xml:id\=\"(.*)\">/", $content,
$matches2);
$url = '/manual/en/' . $matches2[1] . '.php';