![]() |
please explain that blog trackback linking stuff in wordpress briefly!
i watched those vids in some other thread and still, i dont really understand how to use it.
Can some blog expert explain how this works? My blog is www.pimpfromhell.com using wordpress. |
You enter another blog's post's trackback URI on your "write" screen, and once you press "publish", the script notifies the other blog via some specific XML about your post being in reference to theirs. An excerpt of your post, along with your post's URI will appear below the other blog's post, usually as a comment or in the same area.
Great way to get linkbacks, trackback spamming is the new cool thing to do. I got my own custom-written script for it, it does wonders with SEs. But generally, they are used to let the other blogger know that you referenced his/her entry. A linkback on your entry is good habit and appreciated. |
Quote:
And if i understood correctly u can put the trackback link of the post+blog youre referring to in the body of the write post OR in the specific trackback area under the body right? and the other blog must have ofcourse trackbacking activated |
Yes, you put the trackback link in the specific trackback area below the text box. Good luck.
|
Quote:
|
trackbacks are the ultimate recip
|
yeah, but you'll find that for some reason, a lot of the bloggers from GFY have actually turned trackbacks off...
of course, these same people are using wordpress for galleries :) hahaha |
uhm i dont understand something, i got trackback links on in wordpress, but when i click on my own blog on 'comment' i dont see a trackback link or whatever... ?
|
Quote:
|
Quote:
http://www.gofuckyourself.com/showthread.php?t=456910 |
watch the video it makes it easy to understand http://www.igottatellyou.com/blog/ar..._really_g.html
|
You write a brief excerpt about an article on someone elses blogs. I always add links to the blog and story I'm talking about in the blog. Then, if using wordpress, below where you are typing you enter the trackback for the article you are commenting about. So if I wanted to comment on this article http://www.xxxpornblog.com/blog/?p=82 I'd write about it on my blog then I'd add the trackback to my article on my blog. So I go to where it says "trackback" on the the article and copy the link location and add it on my article on my blog. Publish the article and people from my blog can read the article via the hardlinks I put in the story and people who are reading the article I was writing about will see a comment from me with a link back to my blog.
|
Quote:
right? Quote:
And can you check my blog www.pimpfromhell.com? I dont understand why i dont see any trackback links in my comment areas. I have trackbacking activated in wordpress. |
Quote:
Yes, that is the correct trackback. The trackback goes in the special trackback box. You do not put it in the body of the article. The trackback URL is how the blogs "talk" to one another. If you do not put hardlinks in your article to the blog and article you are commenting about no one will no what you are talking about as they read your blog as they have nothing to reference to. When you trackback you are automatically posting your comment made on your blog on someone elses blog with a link back to your blog. You need to have links to the article and blog that you are commenting about in your comment otherwise people reading your blog will have no clue what the fuck you are talking about. So, in a nutshell: 1. You read an article on someone elses blog and want to comment on it using trackbacks. 2. You go to your blog and click through to the write section. 3. You write about the story on someone elses blog and give links to the blog and story in the body of the article. 4. You go back to the blog where you found the article you wanted to comment on and get the trackback URL. (rightclick on the word trackback, copy link location). 5. Return to the comment you are writing on your blog and enter the trackback URL in the trackback box. On WordPress this is right below where you type in the text of the comment. 6. Publish the article to your blog. Now when someone reads your blog they can see what you are talking about because you added hardlinks in the comment on your blog. In a few minutes if not right away go back to the article you commented on on the other blog. In the comments section for that article you will see your comment and a link back to your blog. Okay, class dismissed it is happy hour time. |
Quote:
Click the Options Tab Click the Discussion tab Make sure there is a check mark next to this: Allow link notifications from other Weblogs (pingbacks and trackbacks.) |
thanks for that explanation!
Now on to my prob, i dont have a trackback link that other blog owers can use from my blog, tho i have trackbacking enabled.... hows this possible? Check out my blog www.pimpfromhell.com, there is no trackback link below the posts or in the comments area of the posts. So other blogs cant use trackbacking from my blog, because they cant see anywhere the trackback link for my posts..... |
Quote:
|
Hmm, my bad. I didnt read the part where you said you have them enabled. That I don't know how to fix. Maybe back everything up and reload wordpress.
|
It may also be that it is missing from the comments template. When you or whoever did the redisgn maybe they deleted it. Here is the wp-trackback.php file. Compare them.
<?php require_once( dirname(__FILE__) . '/wp-config.php' ); if ( empty($doing_trackback) ) { $doing_trackback = true; $tb = true; require_once('wp-blog-header.php'); } function trackback_response($error = 0, $error_message = '') { header('Content-Type: text/xml; charset=' . get_option('blog_charset') ); if ($error) { echo '<?xml version="1.0" encoding="utf-8"?'.">\n"; echo "<response>\n"; echo "<error>1</error>\n"; echo "<message>$error_message</message>\n"; echo "</response>"; die(); } else { echo '<?xml version="1.0" encoding="utf-8"?'.">\n"; echo "<response>\n"; echo "<error>0</error>\n"; echo "</response>"; } } // trackback is done by a POST $request_array = 'HTTP_POST_VARS'; if (!$tb_id) { $tb_id = explode('/', $_SERVER['REQUEST_URI']); $tb_id = intval($tb_id[count($tb_id)-1]); } $tb_url = $_POST['url']; $title = $_POST['title']; $excerpt = $_POST['excerpt']; $blog_name = $_POST['blog_name']; $charset = $_POST['charset']; if ($charset) $charset = strtoupper( trim($charset) ); else $charset = 'auto'; if ( function_exists('mb_convert_encoding') ) { // For international trackbacks $title = mb_convert_encoding($title, get_settings('blog_charset'), $charset); $excerpt = mb_convert_encoding($excerpt, get_settings('blog_charset'), $charset); $blog_name = mb_convert_encoding($blog_name, get_settings('blog_charset'), $charset); } if ( is_single() || is_page() ) $tb_id = $posts[0]->ID; if ( !$tb_id ) trackback_response(1, 'I really need an ID for this to work.'); if (empty($title) && empty($tb_url) && empty($blog_name)) { // If it doesn't look like a trackback at all... header('Location: ' . get_permalink($tb_id)); exit; } if ( !empty($tb_url) && !empty($title) && !empty($tb_url) ) { header('Content-Type: text/xml; charset=' . get_option('blog_charset') ); $pingstatus = $wpdb->get_var("SELECT ping_status FROM $wpdb->posts WHERE ID = $tb_id"); if ('open' != $pingstatus) trackback_response(1, 'Sorry, trackbacks are closed for this item.'); $title = wp_specialchars( strip_tags( $title ) ); $title = (strlen($title) > 250) ? substr($title, 0, 250) . '...' : $title; $excerpt = strip_tags($excerpt); $excerpt = (strlen($excerpt) > 255) ? substr($excerpt, 0, 252) . '...' : $excerpt; $comment_post_ID = $tb_id; $comment_author = $blog_name; $comment_author_email = ''; $comment_author_url = $tb_url; $comment_content = "<strong>$title</strong>\n\n$excerpt"; $comment_type = 'trackback'; $dupe = $wpdb->get_results("SELECT * FROM $wpdb->comments WHERE comment_post_ID = '$comment_post_ID' AND comment_author_url = '$comment_author_url'"); if ( $dupe ) trackback_response(1, 'We already have a ping from that URI for this post.'); $commentdata = compact('comment_post_ID', 'comment_author', 'comment_author_email', 'comment_author_url', 'comment_content', 'comment_type'); wp_new_comment($commentdata); do_action('trackback_post', $wpdb->insert_id); trackback_response(0); } ?> |
^^^ i did the designing myself, it was pretty tough since i dont know shit about php and css but i managed to make it look nice. But yes, i remember deleting alotta stuff too lol... it was kind of rough designing haha..
thanks for your support on all points, im gonna look in to the php files now and compare em |
you may want to read this to: http://wordpress.org/support/topic.p...54#post-160295
|
Quote:
|
Quote:
<?php /* RDF 1.0 generator, original version by [email protected] */ if (empty($feed)) { $blog = 1; // enter your blog's ID $feed = 'rdf'; $doing_rss = 1; require('wp-blog-header.php'); } header('Content-type: application/rdf+xml; charset=' . get_settings('blog_charset'), true); $more = 1; ?> <?php echo '<?xml version="1.0" encoding="'.get_settings('blog_charset').'"?'.'>'; ?> <!-- generator="wordpress/<?php echo $wp_version ?>" --> <rdf:RDF xmlns="http://purl.org/rss/1.0/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/" xmlns:content="http://purl.org/rss/1.0/modules/content/" > <channel rdf:about="<?php bloginfo_rss("url") ?>"> <title><?php bloginfo_rss('name') ?></title> <link><?php bloginfo_rss('url') ?></link> <description><?php bloginfo_rss('description') ?></description> <dc:date><?php echo mysql2date('Y-m-d\TH:i:s\Z', get_lastpostmodified('GMT')); ?></dc:date> <admin:generatorAgent rdf:resource="http://wordpress.org/?v=<?php echo $wp_version ?>"/> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <sy:updateBase>2000-01-01T12:00+00:00</sy:updateBase> <items> <rdf:Seq> <?php $items_count = 0; if ($posts) { foreach ($posts as $post) { start_wp(); ?> <rdf:li rdf:resource="<?php permalink_single_rss() ?>"/> <?php $wp_items[] = $row; $items_count++; if (($items_count hahahaha get_settings('posts_per_rss')) && empty($m)) { break; } } } ?> </rdf:Seq> </items> </channel> <?php if ($posts) { foreach ($posts as $post) { start_wp(); ?> <item rdf:about="<?php permalink_single_rss() ?>"> <title><?php the_title_rss() ?></title> <link><?php permalink_single_rss() ?></link> <dc:date><?php echo mysql2date('Y-m-d\TH:i:s\Z', $post->post_date_gmt); ?></dc:date> <dc:creator><?php the_author() ?></dc:creator> <?php the_category_rss('rdf') ?> <?php if (get_settings('rss_use_excerpt')) : ?> <description><?php the_excerpt_rss() ?></description> <?php else : ?> <description><?php the_content_rss('', 0, '', get_settings('rss_excerpt_length'), 2) ?></description> <content:encoded><![CDATA[<?php the_content('', 0, '') ?>]]></content:encoded> <?php endif; ?> </item> <?php } } ?> </rdf:RDF> |
both of my php files are identical to the ones u posted.
Maybe its a template thing? I made the design with the help of a template i d/l. This template is in wp-content/themes/eigen/ and only contains 4 files: footer, header, index and sidebar php files and the css file. The rest of the templates, ie for the comments, he gets apparantly from the default templates folder: wp-content/themes/default/ there is also the classic folder (wp-content/themes/default/) but he isnt using anyhting of this one if im correct, since i use the new wordpress style. So maybe theres something wrong with the comments.php file? It doesnt say anyhting about trackbacking in there. The comments-popup file does, but what does this file mean? |
fixed! i overwrote the comments.php file in the default folder with the comments.php file from the classic folder and its good now! For some reason the default comment.php didnt had that rss feed line (dont know what that is) and that trackback link line. Now its good :)
|
All times are GMT -7. The time now is 05:52 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123