On 2/26/06 10:10 PM, "Nicola Piccinini"
<pic superfluo.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-users lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
|