Quantcast
Channel: MobileRead Forums - Reading and Management
Viewing all articles
Browse latest Browse all 23789

What can be tested for oldest_article

$
0
0
Looking at the RSS I'm working up a recipe for, I don't see any date/time datum for the item:
Code:

  </item>
  <item rdf:about="http://www.csmonitor.com/World/Europe/2017/0714/During-Trump-s-Paris-visit-Macron-positions-himself-as-intermediary-between-Europe-and-president">
    <title>During Trump's Paris visit, ...</title>
    <link>http://www.csmonitor.com/World/Europe/2017/0714/During-Trump-s-Paris-visit-Macron-positions-himself-as-intermediary-between-Europe-and-president</link>
    <description>&lt;p&gt;French President Emmanuel Macron invited President Trump and ...</description>
  </item>

There is a time element within the article body that seems useful:
Code:

<time
        id="date-published"
        class="eza-publish_date outer_block all_caps"
        datetime="2017-07-14T10:40:02-04:00"
        title="Published: July 14, 2017 10:40 am EDT">July 14, 2017
</time>

Can I customize to make use of this element, or is oldest_article only applicable if the RDF contains a date?

Thanks,
Alan

Viewing all articles
Browse latest Browse all 23789

Trending Articles