[geeklog-cvs] Geeklog-1.x/system lib-pingback.php, 1.12, 1.13 lib-syndication.php, 1.38, 1.39 lib-trackback.php, 1.48, 1.49
Dirk Haun
dhaun at qs1489.pair.com
Sun Sep 2 03:50:58 EDT 2007
Update of /cvsroot/geeklog/Geeklog-1.x/system
In directory qs1489.pair.com:/tmp/cvs-serv1774/system
Modified Files:
lib-pingback.php lib-syndication.php lib-trackback.php
Log Message:
Changed user agent from "GeekLog" to "Geeklog"
Index: lib-pingback.php
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/system/lib-pingback.php,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** lib-pingback.php 6 May 2007 08:01:02 -0000 1.12
--- lib-pingback.php 2 Sep 2007 07:50:56 -0000 1.13
***************
*** 54,58 ****
$req = new HTTP_Request($url);
$req->setMethod(HTTP_REQUEST_METHOD_HEAD);
! $req->addHeader('User-Agent', 'GeekLog/' . VERSION);
$response = $req->sendRequest();
--- 54,58 ----
$req = new HTTP_Request($url);
$req->setMethod(HTTP_REQUEST_METHOD_HEAD);
! $req->addHeader('User-Agent', 'Geeklog/' . VERSION);
$response = $req->sendRequest();
***************
*** 68,72 ****
$req = new HTTP_Request($url);
$req->setMethod(HTTP_REQUEST_METHOD_GET);
! $req->addHeader('User-Agent', 'GeekLog/' . VERSION);
$response = $req->sendRequest();
--- 68,72 ----
$req = new HTTP_Request($url);
$req->setMethod(HTTP_REQUEST_METHOD_GET);
! $req->addHeader('User-Agent', 'Geeklog/' . VERSION);
$response = $req->sendRequest();
Index: lib-syndication.php
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/system/lib-syndication.php,v
retrieving revision 1.38
retrieving revision 1.39
diff -C2 -d -r1.38 -r1.39
*** lib-syndication.php 22 Nov 2006 04:44:57 -0000 1.38
--- lib-syndication.php 2 Sep 2007 07:50:56 -0000 1.39
***************
*** 491,495 ****
. $_CONF['site_name'];
$feed->sitecontact = $_CONF['site_mail'];
! $feed->system = 'GeekLog';
/* Gather any other stuff */
--- 491,495 ----
. $_CONF['site_name'];
$feed->sitecontact = $_CONF['site_mail'];
! $feed->system = 'Geeklog';
/* Gather any other stuff */
Index: lib-trackback.php
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/system/lib-trackback.php,v
retrieving revision 1.48
retrieving revision 1.49
diff -C2 -d -r1.48 -r1.49
*** lib-trackback.php 1 May 2007 07:35:26 -0000 1.48
--- lib-trackback.php 2 Sep 2007 07:50:56 -0000 1.49
***************
*** 504,508 ****
$req = new HTTP_Request ($urlToGet);
! $req->addHeader ('User-Agent', 'GeekLog/' . VERSION);
$response = $req->sendRequest ();
if (PEAR::isError ($response)) {
--- 504,508 ----
$req = new HTTP_Request ($urlToGet);
! $req->addHeader ('User-Agent', 'Geeklog/' . VERSION);
$response = $req->sendRequest ();
if (PEAR::isError ($response)) {
***************
*** 777,781 ****
. $charset . "\r\n");
fputs ($sock, 'Content-length: ' . MBYTE_strlen ($toSend) . "\r\n");
! fputs ($sock, 'User-Agent: GeekLog/' . VERSION . "\r\n");
fputs ($sock, "Connection: close\r\n\r\n");
fputs ($sock, $toSend);
--- 777,781 ----
. $charset . "\r\n");
fputs ($sock, 'Content-length: ' . MBYTE_strlen ($toSend) . "\r\n");
! fputs ($sock, 'User-Agent: Geeklog/' . VERSION . "\r\n");
fputs ($sock, "Connection: close\r\n\r\n");
fputs ($sock, $toSend);
***************
*** 830,834 ****
$req = new HTTP_Request ($url);
$req->setMethod (HTTP_REQUEST_METHOD_GET);
! $req->addHeader ('User-Agent', 'GeekLog/' . VERSION);
$response = $req->sendRequest ();
--- 830,834 ----
$req = new HTTP_Request ($url);
$req->setMethod (HTTP_REQUEST_METHOD_GET);
! $req->addHeader ('User-Agent', 'Geeklog/' . VERSION);
$response = $req->sendRequest ();
More information about the geeklog-cvs
mailing list