[geeklog-cvs] geeklog-1.3/public_html pingback.php,1.1,1.2 trackback.php,1.2,1.3

dhaun at iowaoutdoors.org dhaun at iowaoutdoors.org
Sat Jan 29 12:52:57 EST 2005


Update of /var/cvs/geeklog-1.3/public_html
In directory www:/tmp/cvs-serv10468/public_html

Modified Files:
	pingback.php trackback.php 
Log Message:
Changed plugin API for Trackback / Pingback functions


Index: pingback.php
===================================================================
RCS file: /var/cvs/geeklog-1.3/public_html/pingback.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** pingback.php	28 Jan 2005 10:04:14 -0000	1.1
--- pingback.php	29 Jan 2005 17:52:54 -0000	1.2
***************
*** 242,246 ****
          $id = PNB_getSid ($targetURI);
      } else {
!         $id = PLG_acceptPingback ($type, $sourceURI, $targetURI);
      }
      if (empty ($id)) {
--- 242,246 ----
          $id = PNB_getSid ($targetURI);
      } else {
!         $id = PLG_handlePingComment ($type, $targetURI, 'acceptByURI');
      }
      if (empty ($id)) {

Index: trackback.php
===================================================================
RCS file: /var/cvs/geeklog-1.3/public_html/trackback.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** trackback.php	18 Jan 2005 13:15:52 -0000	1.2
--- trackback.php	29 Jan 2005 17:52:54 -0000	1.3
***************
*** 92,97 ****
                                      . $id) . '#trackback';
      } else {
!         list ($commenturl, $dummy1, $dummy2)
!                 = PLG_handleTrackbackComment ($type, $id, 'info');
      }
  
--- 92,96 ----
                                      . $id) . '#trackback';
      } else {
!         $commenturl = PLG_getItemInfo ($type, $id, 'url');
      }
  
***************
*** 143,147 ****
          exit;
      }
! } else if (PLG_acceptTrackbackPing ($type, $id) === true) {
      if (TRB_handleTrackbackPing ($id, $type)) {
          if (isset ($_CONF['notification']) &&
--- 142,146 ----
          exit;
      }
! } else if (PLG_handlePingComment ($type, $id, 'acceptByID') === true) {
      if (TRB_handleTrackbackPing ($id, $type)) {
          if (isset ($_CONF['notification']) &&




More information about the geeklog-cvs mailing list