? Pingback Receiving, doesn't fetch content?

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
johncanary
Regular
Posts: 116
Joined: Mon Aug 20, 2007 4:00 am
Location: Spain
Contact:

? Pingback Receiving, doesn't fetch content?

Post by johncanary »

Hi,
A quick question to Pingback with S9Y V1.3.1.

When S9Y receives a pinkback, it records it as pinkback and shows in
in the Trackbacks section

Code: Select all

PingBack (->link to blog post)

Weblog: blog.example.com
Tracked: Jun 04, 20:31 
It does not fetch and add any content from there?

I thought it will, just from reading the NEWS file.

Code: Select all

    * Pingback/Trackback textfetching: HTML Entities are now converted
      to characters. (brockhaus)

    * For Pingback it is now possible to define the maximum amount of
      characters while fetching text of the remote site. Add 
      $serendipity['pingbackFetchPageMaxLength'] = 200 to your 
      serendipity_config_local.php. (brockhaus)
Didn't work for me when getting pingbacks from Wordpress 2.5.
Anybody with more luck?


What's the default now? Pinkback or Trackback?

Seems like s9y sends trackbacks to itself, when referenced from
another post on the same blog.

Yours
JohnCanary
Yours John
: John's Google+ Profile
: John's E-Biz Booster Blog powered by Serendipity 1.7/PHP 5.3.14
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: ? Pingback Receiving, doesn't fetch content?

Post by garvinhicking »

Hi!

Yeah, pingbacks have no content -- that's what makes them different to trackbacks... I believe there is some fallback code in s9y that tries to match some portion of the HTML page, but that might fail if the amount of characters fetched only contain HTML tags and no real content.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
johncanary
Regular
Posts: 116
Joined: Mon Aug 20, 2007 4:00 am
Location: Spain
Contact:

Re: ? Pingback Receiving, doesn't fetch content?

Post by johncanary »

I know, pingbacks don't carry content.

The default for $serendipity['pingbackFetchPageMaxLength'] == 200
Right, that will in almost all cases, not even get the complete
<head>...</head>.

I just set it to 20000, but no difference. So I am not quite sure, what this
variable is supposed to do.

I tested a pingback from a Wordpress 2.5.1 Blog to the s9y 1.3.1. blog.
Pingback received normally, shows up as link the WP blog post


(Spam Protector was disabled,
Trackback Control Plugin active)


Probably brockhaus will say something.
Yours John
: John's Google+ Profile
: John's E-Biz Booster Blog powered by Serendipity 1.7/PHP 5.3.14
Post Reply