[pLog-svn] Trackbacks with 1.1.1

Oscar Renalias oscar at renalias.net
Wed Nov 1 18:01:56 GMT 2006


It looks like an issue then, but how about this code.

                if( $pageUrl != "" ) {
                	if( $dcIdentifier == $pageUrl || $dcIdentifier ==
htmlentities($pageUrl)) {
                		//print("identifer matches page!!");
                		array_push( $links, $tbPing );
                	}
                }

This code is from class/dao/trackbackclient.class.php. Isn't the code
above doing what you just said?

On 11/1/06, Paul Westbrook <paul at westbrooks.org> wrote:
> Hello,
>     The problem here is that the TrackbackClient is not returning the
> trackback ping url for http://hugi.to/blog/archive/2006/11/01/First-
> Snow-Post.  The reason that it is not being returned is that the
> trackback client code only returns trackback ping urls when the
> dc:identifier url is the same as the url for the page itself.
>
> One of the following things is the problem here:
> 1) The code, in the template,  that is generating the rdf:RDF section
> is encoding the urls unnecessarily
> 2) The TrackbackClient class should handle comparing url encoded urls
> to non-encoded urls.
>
>
> --Paul
>
>
> On Nov 1, 2006, at 9:15 AM, Reto Hugi wrote:
>
> > ...and this is the trackback log (all trackbacks initiated via
> > http://lifetype.ch/lt/stable/tools/tbgen.php (try yourself if you
> > like)
> >
> >
> > this is the post:
> > http://lifetype.ch/lt/stable/index.php?
> > op=ViewArticle&articleId=6&blogId=1
> >
> > with ping url c)
> >
> > 01-11-2006 17:59:26 DEBUG - [addtrackbackaction.class.php:48
> > (logger:debug)] ** Incoming request **
> > 01-11-2006 17:59:26 DEBUG - [addtrackbackaction.class.php:48
> > (logger:debug)] Blog name = Das ist mein blog
> > 01-11-2006 17:59:26 DEBUG - [addtrackbackaction.class.php:48
> > (logger:debug)] Excerpt = Sorry Mike, nur ein test
> > 01-11-2006 17:59:26 DEBUG - [addtrackbackaction.class.php:48
> > (logger:debug)] Title = Test Trackback
> > 01-11-2006 17:59:26 DEBUG - [addtrackbackaction.class.php:48
> > (logger:debug)] Article ID = 6
> > 01-11-2006 17:59:26 DEBUG - [addtrackbackaction.class.php:48
> > (logger:debug)] url = http://hugi.to/blog/archive/2006/11/01/First-
> > Snow-Post
> > 01-11-2006 17:59:33 DEBUG - [validatetrackbackfilter.class.php:165
> > (logger:debug)] Validate Trackback: No trackback urls on resulting
> > page
> > 01-11-2006 17:59:33 DEBUG - [addtrackbackaction.class.php:48
> > (logger:debug)] The trackback was blocked by a filter
> > 01-11-2006 17:59:33 DEBUG - [addtrackbackaction.class.php:48
> > (logger:debug)] *** Sending response ***
> > 01-11-2006 17:59:33 DEBUG - [addtrackbackaction.class.php:48
> > (logger:debug)] <?xml version="1.0" encoding="iso-8859-1"?>
> > <response>
> > <error>1</error>
> > <message>You cannot post this message. Anti-spam filter has blocked
> > it.</message>
> > </response>
> > 01-11-2006 17:59:45 DEBUG - [addtrackbackaction.class.php:48
> > (logger:debug)] ** Incoming request **
> > 01-11-2006 17:59:45 DEBUG - [addtrackbackaction.class.php:48
> > (logger:debug)] Blog name = Das ist mein blog
> > 01-11-2006 17:59:45 DEBUG - [addtrackbackaction.class.php:48
> > (logger:debug)] Excerpt = Sorry Mike, nur ein test
> > 01-11-2006 17:59:45 DEBUG - [addtrackbackaction.class.php:48
> > (logger:debug)] Title = Test Trackback
> > 01-11-2006 17:59:45 DEBUG - [addtrackbackaction.class.php:48
> > (logger:debug)] Article ID = 6
> > 01-11-2006 17:59:45 DEBUG - [addtrackbackaction.class.php:48
> > (logger:debug)] url = http://hugi.to/blog/archive/2006/10/24/
> > phpsecinfo
> > 01-11-2006 17:59:47 DEBUG - [addtrackbackaction.class.php:48
> > (logger:debug)] ** End **
> > 01-11-2006 17:59:47 DEBUG - [addtrackbackaction.class.php:48
> > (logger:debug)] *** Sending response ***
> > 01-11-2006 17:59:47 DEBUG - [addtrackbackaction.class.php:48
> > (logger:debug)] <?xml version="1.0" encoding="iso-8859-1"?>
> > <response>
> > <error>0</error>
> > </response>
> >
> >
> > _______________________________________________
> > pLog-svn mailing list
> > pLog-svn at devel.lifetype.net
> > http://devel.lifetype.net/mailman/listinfo/plog-svn
> >
>
> --
> Paul Westbrook
> paul at westbrooks.org
> <http://www.westbrooks.org>
>
>
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://devel.lifetype.net/mailman/listinfo/plog-svn
>


More information about the pLog-svn mailing list