List Info

Thread: trackback or pingback?




trackback or pingback?
user name
2006-02-18 21:25:59
I know very little about the differences between trackbacks
and 
pingbacks. Please, could somebody explain me what is better
for what?

Anyhow, I want to use one of these mechanisms for linking
the entries of 
my blog each other. I've seen that in blojsom the Pingback
Plugin ( 
http://wiki.blojsom.com/wiki/display/blojsom/Pingbac
k+Plugin ) can do 
autonomously a pingback for every outgoing link.
Instead with trackbacks I have to specify every target
address.
Therefore, from this point of view, I'd prefer the
pingbacks.

Unfortunately, from the other side, it seems that the
Pingbacks handler 
( http://wiki.blojsom.com/wiki/display/blojsom/Pingback )
isn't mature 
as the trackbacks handler. It doesn't have two important
feature that 
are present in the second one: notices by e-mail and
moderation. 
Moreover the Pingbacks handler doesn't broadcast any event
so it's 
difficult to write a plugin to add these functionalities (at
least the 
e-mail notices).
Am I missing something?

Many thanks for any comment, best regards.
-- 
Nicola Piccinini -- http://superfluo.org


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep
through log files
for problems?  Stop!  Download the new AJAX search engine
that makes
searching your log files as easy as surfing the  web. 
DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/
sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Blojsom-users mailing list
Blojsom-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
trackback or pingback?
user name
2006-02-18 22:28:56
I forgot to signal that the documentation about the
pingbacks handler at 
http://wiki.blojsom.com/wiki/display/blojsom/Pingback
is a little  bit 
mesleading:

--------------------------------------------
The following Velocity snippet can be added to your template
that 
outputs page information. Example, asual-head.vm.

<!-- Pingback link -->
#if ($BLOJSOM_PERMALINK)
     #XMLRPCLink($entry 'xmlrpc')
     <link rel="pingback"
href="$xmlrpcLink" />
#end
--------------------------------------------

In fact $entry isn't yet defined in asua-head.vm so it's
necessary to 
write something like:

#if ($BLOJSOM_PERMALINK)
#foreach ($entry in $BLOJSOM_ENTRIES)
#if ($velocityCount == 1)
                 <!-- Pingback link -->
#XMLRPCLink($entry 'xmlrpc')
                 <link rel="pingback"
href="$xmlrpcLink" />
#end
#end
#end

but maybe I'm wrong ...
Best regards.
-- 
Nicola Piccinini -- http://superfluo.org


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep
through log files
for problems?  Stop!  Download the new AJAX search engine
that makes
searching your log files as easy as surfing the  web. 
DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/
sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Blojsom-users mailing list
Blojsom-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
trackback or pingback?
user name
2006-02-27 03:10:56
> [...]
> Unfortunately, from the other side, it seems that the
Pingbacks handler 
> ( http://wiki.blojsom.com/wiki/display/blojsom/Pingback )
isn't mature 
> as the trackbacks handler. It doesn't have two
important feature that 
> are present in the second one: notices by e-mail and
moderation. 
> Moreover the Pingbacks handler doesn't broadcast any
event so it's 
> difficult to write a plugin to add these
functionalities (at least the 
> e-mail notices).

I saw that in CVS there are new stuff concerning the
PingbackPlugin, 
since I deduct that these features were really missing but
the blojsom 
developers are adding them, many thanks!!! :-D :-D :-D

Meanwhile I delved into the autodiscovery trackback
mechanism and 
understood that it could solve my problems.
Unfortunately the documentation about AutoTrackbackPlugin is
a little 
bit terse and so it  wasn't easy to make it work.
Moreover, in my opinion, there is a little bug:

     private static final Pattern HREF_PATTERN = 
Pattern.compile("<\\s*a.*href\\s*=\\s*\&quo
t;(([^\"]+).*?)\"\\s*>", 
REGEX_OPTIONS);

should be

     private static final Pattern HREF_PATTERN = 
Pattern.compile("<\\s*a.*?href\\s*=\\s*\&qu
ot;(([^\"]+).*?)\"\\s*>", 
REGEX_OPTIONS);

(note the ? after a.*)
otherwise the RE is too eager and finds only the last URL in
the entry.

Another useful (I believe) tip for who wants to enable the 
auto-trackback plugin is the following:
if the linear navigation is active then
#TrackbackAutoDiscovery($entry false)
must be changed in
#TrackbackAutoDiscovery($entry true)
(maybe it'd be better to add this information in the
blojsom wiki).

I tried also the new PingbackPlugin features. I guess that
they are 
experimental but maybe I can make save debugging time with
this comment:
PingbackPlugin.init should call the super.init method
otherwise 
_velocityProperties are not initialized and cause a
NullPointerException.

Finally:
I'm still in doubt, what is better to use between
trackbacks or 
pingbacks? And why? Many thanks in advance,
-- 
Nicola Piccinini -- http://superfluo.org



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking
scripting language
that extends applications into web and mobile media. Attend
the live webcast
and join the prime developer group breaking into this new
coding territory!
http://sel.as-us.falkag.net/
sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Blojsom-users mailing list
Blojsom-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
trackback or pingback?
user name
2006-02-27 16:30:48


On 2/26/06 10:10 PM, "Nicola Piccinini"
<picsuperfluo.org> wrote:

>> [...]
>> Unfortunately, from the other side, it seems that
the Pingbacks handler
>> ( http://wiki.blojsom.com/wiki/display/blojsom/Pingback )
isn't mature
>> as the trackbacks handler. It doesn't have two
important feature that
>> are present in the second one: notices by e-mail
and moderation.
>> Moreover the Pingbacks handler doesn't broadcast
any event so it's
>> difficult to write a plugin to add these
functionalities (at least the
>> e-mail notices).
> 
> I saw that in CVS there are new stuff concerning the
PingbackPlugin,
> since I deduct that these features were really missing
but the blojsom
> developers are adding them, many thanks!!! :-D :-D :-D

Slowly getting all of the Pingback stuff up to where the
comments and
trackbacks are at in terms of support.

> 
> Meanwhile I delved into the autodiscovery trackback
mechanism and
> understood that it could solve my problems.
> Unfortunately the documentation about
AutoTrackbackPlugin is a little
> bit terse and so it  wasn't easy to make it work.
> Moreover, in my opinion, there is a little bug:
> 
>      private static final Pattern HREF_PATTERN =
>
Pattern.compile("<\\s*a.*href\\s*=\\s*\&quo
t;(([^\"]+).*?)\"\\s*>",
> REGEX_OPTIONS);
> 
> should be
> 
>      private static final Pattern HREF_PATTERN =
>
Pattern.compile("<\\s*a.*?href\\s*=\\s*\&qu
ot;(([^\"]+).*?)\"\\s*>",
> REGEX_OPTIONS);
> 
> (note the ? after a.*)
> otherwise the RE is too eager and finds only the last
URL in the entry.

Fixed.

> 
> Another useful (I believe) tip for who wants to enable
the
> auto-trackback plugin is the following:
> if the linear navigation is active then
> #TrackbackAutoDiscovery($entry false)
> must be changed in
> #TrackbackAutoDiscovery($entry true)
> (maybe it'd be better to add this information in the
blojsom wiki).
> 
> I tried also the new PingbackPlugin features. I guess
that they are
> experimental but maybe I can make save debugging time
with this comment:
> PingbackPlugin.init should call the super.init method
otherwise
> _velocityProperties are not initialized and cause a
NullPointerException.

Yes, fixed the init issue.

> 
> Finally:
> I'm still in doubt, what is better to use between
trackbacks or
> pingbacks? And why? Many thanks in advance,

It's still being debated.

<http://photomatt.net/2006/02/21/better-trackback/>

It was easy enough to support both in blojsom.

-- 
David Czarnecki

http://www.blojsom.com/b
log/ | http://blojsom.sf.net




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking
scripting language
that extends applications into web and mobile media. Attend
the live webcast
and join the prime developer group breaking into this new
coding territory!
http://sel.as-us.falkag.net/
sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Blojsom-users mailing list
Blojsom-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
trackback or pingback?
user name
2006-02-28 16:42:10
Correct. I fixed this on the wiki.

This morning, I committed the remaining bits that bring
Pingback support in
blojsom up to where comment and trackback support were at.


On 2/18/06 5:28 PM, "Nicola Piccinini"
<picsuperfluo.org> wrote:

> #if ($BLOJSOM_PERMALINK)
> #foreach ($entry in $BLOJSOM_ENTRIES)
> #if ($velocityCount == 1)
>                  <!-- Pingback link -->
> #XMLRPCLink($entry 'xmlrpc')
>                  <link rel="pingback"
href="$xmlrpcLink" />
> #end
> #end
> #end

-- 
David Czarnecki

http://www.blojsom.com/b
log/ | http://blojsom.sf.net




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking
scripting language
that extends applications into web and mobile media. Attend
the live webcast
and join the prime developer group breaking into this new
coding territory!
http://sel.as-us.falkag.net/
sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Blojsom-users mailing list
Blojsom-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
[1-5]

about | contact  Other archives ( Real Estate discussion Medical topics )