Help - Search - Members - Calendar
Full Version: Pinging failed
Movable Type Community Forum > Other Product Discussion > Bugs and Odd Behavior
JeeWee
When I add a new post to my site I get the following entry in my activity log about the failed ping to blo.gs.

QUOTE
Ping 'http://ping.blo.gs/' failed: Ping error: Weblog hasn't changed.


Because the ping to blo.gs fails it seems that MT doesn't continue with the next ping (in this case weblogs.com).

Any one noticed this as well. Is there a solution for it? I have seen the other threads about the http 500 errors while pinging. But this is different I guess.

I'm using MT 2.62 on a Win2000 box with IIS 5.0 with ActivePerl

Any help would be welcome.

JW
JW's Braindump
philringnalda
This is mostly just speculation, but I wouldn't be surprised to find that the problem is that neither one is reading far enough to find the new content. Since your new post is in the second column, they've got to read clear past the first column before they spot new stuff, and I think they both stop reading after a while, to avoid being fooled into thinking they've seen new content when all they've seen is random content like a blogsnob ad at the bottom of the page. As I remember it, although blo.gs returns an error for "hasn't changed", weblogs.com doesn't return it as an error (error: false; message: hasn't changed), so MT reports the blo.gs error but not the weblogs.com non-error. Probably worthwhile asking Jim Winstead at blo.gs whether I'm right that he won't spot an update to your right column, and ask if there's anything you can do about it.
JeeWee
Although speculating, your comment make sense. I will contact Jim about it. Thanks.

JW
jimw
http://blo.gs/ always reads and compares the whole url it downloads for comparison. in this case, an incorrect url for the rss feed was part of this blogs record, which resulted in a 404 Not Found error on each request, whose content did not change. the url for the rss feed was corrected, and the checking code now handled 404 errors correctly.
JeeWee
I corrected the link for my RSS feed in my blog. Thanks Jim for the help.

JW
tragiccreation
How do you correct the link to your RSS feed. Because I am getting the same error.... huh.gif
almuhajabah
If you could post your template here, we can help you look for where you need to make the changes.

When posting your template code here in the forum, click the "code" button, copy and paste your template from MT, then click the "code" button again.
tragiccreation
Ok this is my main index template... I assumed that is the one you want.

CODE
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<$MTPublishCharset$>" />



<link rel="stylesheet" href="<$MTBlogURL$>styles-site.css" type="text/css" />
<link rel="alternate" type="application/rss+xml" title="RSS" href="<$MTBlogURL$>index.rdf" />
<link rel="alternate" type="application/atom+xml" title="Atom" href="<$MTBlogURL$>atom.xml" />
<link rel="EditURI" type="application/rsd+xml" title="RSD" href="<$MTBlogURL$>rsd.xml" />

<script language="javascript" type="text/javascript">
function OpenComments (c) {
   window.open(c,
                   'comments',
                   'width=480,height=480,scrollbars=yes,status=yes');
}

function OpenTrackback (c) {
   window.open(c,
                   'trackback',
                   'width=480,height=480,scrollbars=yes,status=yes');
}
</script>

<MTBlogIfCCLicense>
<$MTCCLicenseRDF$>
</MTBlogIfCCLicense>

</head>

<body>

<div id="banner">


</div>

<div id="content">

<div class="blog">


<MTEntries>
<$MTEntryTrackbackData$>

</td>
 </tr>
</table>



               
               <p>
    <MTDateHeader>
    <b>
    <$MTEntryDate format="%x"$>
    </b>
    </MTDateHeader>


    <div class="blogbody">
    
    <a name="<$MTEntryID pad="1"$>"></a>
    

    <$MTEntryBody$><MTEntryIfExtended>
    <span class="extended">....<a href="<$MTEntryPermalink$>#more">Continue reading "<$MTEntryTitle$>"</a></span><br />
    </MTEntryIfExtended><br>
    
    <div class="posted"><$MTEntryAuthor$> at <a href="<$MTEntryPermalink$>"><$MTEntryDate format="%X"$></a>
    <MTEntryIfAllowComments>
    | <a href="<$MTCGIPath$><$MTCommentScript$>?entry_id=<$MTEntryID$>" onclick="OpenComments(this.href); return false">Comments (<$MTEntryCommentCount$>)</a>
    </MTEntryIfAllowComments>
    <MTEntryIfAllowPings>
    | <a href="<$MTCGIPath$><$MTTrackbackScript$>?__mode=view&entry_id=<$MTEntryID$>" onclick="OpenTrackback(this.href); return false">TrackBack (<$MTEntryTrackbackCount$>)</a>
    </MTEntryIfAllowPings>
    </div>
    
    </div>
    


</MTEntries>

</div>

</div>
almuhajabah
QUOTE (tragiccreation @ Feb 24 2004, 01:06 PM)
CODE
<link rel="alternate" type="application/rss+xml" title="RSS" href="<$MTBlogURL$>index.rdf" />
<link rel="alternate" type="application/atom+xml" title="Atom" href="<$MTBlogURL$>atom.xml" />
<link rel="EditURI" type="application/rsd+xml" title="RSD" href="<$MTBlogURL$>rsd.xml" />

This is the section that contains the information on various types of RSS feeds that you might have.

To find out the correct URLs for your feed(s), look for templates called RSS, Atom, or RSD and open them. The output file field will list the filename where your feed(s) are actually located.

If this matches the information in your main index template, another possibility is that your RSS feeds aren't being updated with your new posts. Make sure that they are configured to be updated with rebuilds.

If none of this seems to solve your problem, please post again and we'll keep helping you smile.gif
tragiccreation
Yay thanks I got it to work...
buggy
So far, I still haven't solved my ping problem. I've looked at my index.rdf and the urls listed in there look accurate. I have a section in my index.html:

CODE
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"
 />
<title><$MTBlogName$></title>
<link rel="stylesheet" href="styles-site.css" type="text/css"   />
<link rel="alternate" type="application/rss+xml" title="RSS" href="<$MTBlogURL$>index.rdf" />

that corresponds to the one in the example above.

How do I enable my rdf feed to update on rebuilds?

Has anyone else tried the above suggestions and still come up with ping problems?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.