this is the feed i can't read

http://fco.textdriven.com/xml/rss/feed.xml

Feed extract

<title>Finis Coronat Opus...</title>
<link>http://fco.textdriven.com/</link>
<language>en-us</language>
<ttl>40</ttl>
<description>Finis Coronat Opus...</description>
<item>
        <title>Puesta a cero</title>

        <description>
        <p>Por primera vez en meses vuelvo a tener:</p>
        <ol>
        <li>0 mensajes sin leer</li>
                <li>0 mensajes sin responder</li>
                <li>0 <span class="caps">RSS</span> sin leer.</li>
        </ol>
        <p>Un poco de tiempo y enfocarse a un solo objetivo hacen milagros 
:-).</p>
        </description>
        <pubDate>Mon, 05 Sep 2005 07:53:00 +0000</pubDate>
        <guid>
                http://fco.textdriven.com/articles/2005/09/05/puesta-a-cero
        </guid>
        <link>
                http://fco.textdriven.com/articles/2005/09/05/puesta-a-cero
        </link>
        <category>Mis cosas</category>
        
<trackback:ping>http://fco.textdriven.com/articles/trackback/146</trackback:ping>
</item>


Dave Johnson wrote:

If you want to include a feed in Planet, then that feed must have item-level <pubDate> elements but there is no requirement for <lastUpdated>.

If we don't find lastUpdated, we set it to the current time (just before that code fragment that you included).

- Dave


On Sep 6, 2005, at 7:20 AM, Enrique Rodriguez wrote:

It looks like planet feeds need to have the <lastBuildDate/> Tag. One of the users of our planet, uses a weblog software (typo) that does not use this tag on its feed.

It look like this tag is not required by rss2 especification.

Did you know it? Am I wrong?

The problem is on Rome and com.sun.syndication library

    *if* (lastUpdated!=*null* && sub.getLastUpdated()!=*null*)
           {
               Calendar feedCal =         Calendar.getInstance();
               feedCal.setTime(lastUpdated);
                              Calendar subCal = Calendar.getInstance();
               subCal.setTime(sub.getLastUpdated());

               *if* (!feedCal.after(subCal))                {
                   *if* (logger.isDebugEnabled())
                   {

                       String msg = MessageFormat.format(
                   *        "   Skipping ({0} / {1})"*,
                           *new* Object[] {
                              lastUpdated, sub.getLastUpdated()});
                      logger.debug(msg);
                   }

                   *continue*;
               }
           }







Reply via email to