Update of /cvsroot/php-blog/serendipity
In directory sc8-pr-cvs1:/tmp/cvs-serv14549
Modified Files:
serendipity_functions.inc.php serendipity_xmlrpc.php
Log Message:
Removed some occurences of archives/e_ and archives/d_
Index: serendipity_functions.inc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/serendipity_functions.inc.php,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -d -r1.54 -r1.55
--- serendipity_functions.inc.php 26 May 2003 00:18:56 -0000 1.54
+++ serendipity_functions.inc.php 26 May 2003 13:14:14 -0000 1.55
@@ -944,7 +944,7 @@
array_shift($matches);
// Make trackback URL
- $url = "{$serendipity['baseURL']}archives/e_{$id}.html";
+ $url = "{$serendipity['baseURL']}archives/{$id}_".serendipity_makeFilename($title).".html";
// Add URL references
$locations = $matches[0];
Index: serendipity_xmlrpc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/serendipity_xmlrpc.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- serendipity_xmlrpc.php 24 May 2003 14:10:40 -0000 1.3
+++ serendipity_xmlrpc.php 26 May 2003 13:14:14 -0000 1.4
@@ -255,8 +255,8 @@
'mt_allow_pings' => new XML_RPC_Value(1, 'boolean'),
'mt_convert_breaks' => new XML_RPC_Value(0, 'boolean'),
'title' => new XML_RPC_Value($entry['title'],'string'),
- 'permalink' => new XML_RPC_Value($serendipity['baseURL']."/archives/e_$postid.html", 'string'),
- 'link' => new XML_RPC_Value($serendipity['baseURL']."/archives/e_$postid.html", 'string'));
+ 'permalink' => new XML_RPC_Value($serendipity['baseURL']."/archives/{$postid}_.html", 'string'),
+ 'link' => new XML_RPC_Value($serendipity['baseURL']."/archives/{$postid}_.html", 'string'));
$entry = new XML_RPC_Value($tmp, 'struct');
return new XML_RPC_Response($entry);
}
|