WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#10028 closed defect (bug) (duplicate)

Trackbacks from Serendipity don't work out of the box

Reported by: utele Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Pings/Trackbacks Keywords: trackback, serendipity
Focuses: Cc:

Description

With some Serendipity blogs the trackbacks havn't work for a long time. As I hope that there will be standards to interact between diffeent blog systems one day, I wrote an article today about this topic.

One s9y linked to me, but as usual the trackback didn't work. After researching a bit I found out, that it works if the post includes the rdf-data.

Now I put the command
trackback_rdf()
into the single.php of the theme and since then it is working.

I hav't expected that, I tought a function like that has to be inside the core code.

I mean it ist wrong that the themes have to take care for that.

Change History (8)

comment:1 follow-up: @Denis-de-Bernardy6 years ago

  • Milestone changed from Unassigned to Future Release
  • Type changed from defect (bug) to enhancement

comment:2 in reply to: ↑ 1 @utele6 years ago

  • Type changed from enhancement to defect (bug)

Replying to Denis-de-Bernardy:
I thought it works with the additional trackback-command, but it does not work in every case.

Just today I did not receive a trackback from a serendipity blog despite there exists a link to the post.

Therefore I think it is not an enhancement it is a bug.

comment:3 follow-up: @Denis-de-Bernardy6 years ago

Just for reference in case someone wants to write a patch:

if ( is_singular() ) {
  setup_postdata($wp_the_query->get_queried_object());
  if ( pings_open() )
    add_action('wp_head', 'add_trackback_rdf');
}

Where add_trackback_rdf() wraps trackback_rdf() into a comment block.

That way, the rdf is in the <head> area, in case auto-discovery only scans the target page's first couple of lines.

comment:4 in reply to: ↑ 3 ; follow-up: @utele6 years ago

I've asked someone using a serendipity blog. Serendipity searches for the rdf-trackback inside the body of a post. Therefore, I don't think it will help if the data occurs in the header instead of the body.

PS: I've tried to get subscribed to the hackers mailing list you mentioned for my issue 10029 but I didn't have success until now, with two different mail addresses. Am I too impatient or is it normal that the subscription may need more than almost a day? Thanks in advance for your answer.

comment:5 in reply to: ↑ 4 @Denis-de-Bernardy6 years ago

Replying to utele:

I've asked someone using a serendipity blog. Serendipity searches for the rdf-trackback inside the body of a post. Therefore, I don't think it will help if the data occurs in the header instead of the body.

Well, please be so kind to tell them that is very wrong. They should look into the <head> area too, since a least some themes add it in there due to the fact that some autodiscovery scripts only grab the first couple of lines of the file...

PS: I've tried to get subscribed to the hackers mailing list you mentioned for my issue 10029 but I didn't have success until now, with two different mail addresses. Am I too impatient or is it normal that the subscription may need more than almost a day? Thanks in advance for your answer.

There's a separate ticket on this -- it's yet to be fixed, best I'm aware. I don't read the hackers list regularly, myself, as the interesting stuff usually occurs during WP meet-ups over on irc.freenode.net, channel wordpress-dev.

comment:7 @Denis-de-Bernardy6 years ago

  • Milestone Future Release deleted
  • Resolution set to duplicate
  • Status changed from new to closed

please use #10028

Note: See TracTickets for help on using tickets.