Highlighted

RSS pubdate not appearing

LEGEND ,
Mar 13, 2018

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,

^ _ ^

Adobe Community Professional
Correct answer by Jon Fritz II | Adobe Community Professional

<pubdate> does not equal <pubDate>

...check the case structure of your tags and it should work.

Views

210

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

RSS pubdate not appearing

LEGEND ,
Mar 13, 2018

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,

^ _ ^

Adobe Community Professional
Correct answer by Jon Fritz II | Adobe Community Professional

<pubdate> does not equal <pubDate>

...check the case structure of your tags and it should work.

Views

211

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Mar 13, 2018 0
Adobe Community Professional ,
Mar 13, 2018

Copy link to clipboard

Copied

<pubdate> does not equal <pubDate>

...check the case structure of your tags and it should work.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Mar 13, 2018 0
LEGEND ,
Mar 13, 2018

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,

^ _ ^

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Mar 13, 2018 0