Copy link to clipboard
Copied
Hello, all,
I am creating RSS feeds for two sections of this project, and both of them are failing to display the pubdate for each item.
<?xml version="1.0" encoding="windows-1252"?>
<rss version="2.0" xmlns:dc="https://purl.org/dc/elements/1.1/">
<channel>
<title>Public Affairs News</title>
<description>Keep updated on the latest PA News</description>
<link>https://xxx.yyy.gov/pa_news_2016r/display_news.cfm</link>
<item>
<title>TCCC testimony with House Committee on Armed Services (8 Mar, 0800 CST)</title>
<description>TCCC testimony with House Committee on Armed Services</description>
<link>https://xxx.yyy.gov/pa_news_2016r/display_news.cfm?uuid=AFE645BC-5056-A127-5D68B657B348B27E</link><pubdate>Fri, 23 Feb 2018 19:26:14 -0500</pubdate>
</item>
<item>
<title>AFROTC Det. 790 cadets visit USTRANSCOM</title>
<description>AFROTC Det. 790 cadets visit USTRANSCOM</description>
<link>https://xxx.yyy.gov/pa_news_2016r/display_news.cfm?uuid=13BAEE91-5056-A127-5DBE3C5E1358D5E7</link>
<pubdate>Fri, 23 Feb 2018 19:17:36 -0500</pubdate>
</item>
<item>
<title>CoSCAST with Chief of Staff Maj. Gen. John C. Flournoy Jr. - 1 March 2018 </title>
<description>CoSCAST with Chief of Staff Maj. Gen. John C. Flournoy Jr. - 1 March 2018 </description>
<link>https://xxx.yyy.gov/pa_news_2016r/display_news.cfm?uuid=090B3D5D-5056-A127-5D34CD9C5479CFD3</link>
<pubdate>Fri, 22 Feb 2018 08:34:27 -0500</pubdate>
</item></channel>
</rss>
Am I missing something? This is not displaying the pubdate in FF (Live Bookmarks and Brief plugin), IE, and Chrome just shows the code.
I've used <pubdate> and <dc:date>, neither is displaying the date under the link or description.
Please see http://www.feedforall.com/sample.xml for a sample of how I am trying to get it to appear.
V/r,
^ _ ^
<pubdate> does not equal <pubDate>
...check the case structure of your tags and it should work.
Copy link to clipboard
Copied
<pubdate> does not equal <pubDate>
...check the case structure of your tags and it should work.
Copy link to clipboard
Copied
That was it. Y'know, I'm _used_ to being capitally-correct (is that even a thing?) when it comes to JavaScript.. never once occurred to me that it would matter in XML.
Thanks, Jon!
V/r,
^ _ ^