cvs: php-master-web /scripts conference_teaser
| From: | Hannes Magnusson | Date: | Fri, 23 Feb 2007 16:51:22 +0000 |
| Subject: | cvs: php-master-web /scripts conference_teaser | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-34448@lists.php.net to get a copy of this message | ||
bjori Fri Feb 23 16:51:22 2007 UTC
Modified files:
/php-master-web/scripts conference_teaser
Log:
Have the links relative/to/the/current/mirror rather than pointing to www.php.net (nuno)
http://cvs.php.net/viewvc.cgi/php-master-web/scripts/conference_teaser?r1=1.1&r2=1.2&diff_format=u
Index: php-master-web/scripts/conference_teaser
diff -u php-master-web/scripts/conference_teaser:1.1 php-master-web/scripts/conference_teaser:1.2
--- php-master-web/scripts/conference_teaser:1.1 Sun Feb 18 16:28:28 2007
+++ php-master-web/scripts/conference_teaser Fri Feb 23 16:51:22 2007
@@ -20,6 +20,7 @@
// Loop over the items and store them in a array
foreach($sxe->item as $item) {
$url = (string)$item->link[0];
+ $url = str_replace("http://www.php.net",
"", $url); // /relative/path/to/item
$subject = (string)current($item->xpath("dc:subject"));
$title = (string)$item->title[0];
$STORE[$subject][$url] = $title;