showing date on ashx page (rss)




I created an ashx file for my rss feed (rss.ashx). I notice on the site
( that the date
(Yesterday, October 30, 2006, 3:02:37 PM) is shown above the "description"
tag and in front of the green arrow. My question is, what tag shows this

On my a page, the date doesn't show.

<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
<title>RSS Feed</title>
<description>Home Site</description>

<title><![CDATA[ Allcatel-Lucent Merger Update ]]></title>
<guid isPermaLink="true">http://MERGER_0.HTML</guid>
<description><![CDATA[ Alcatel and converged networks. ]]>
<pubDate>12/30/2006 7:05:00 PM</pubDate>

Thanks, sck10

Walter Wang [MSFT]


After carefully reviewed your question, I'm not still quite clear about it.
Did you mean the "pubDate" element in the RSS file?

Based on your previous posts about RSS, I assume you're using the RSS
Toolkit. You could use "rssdl.exe" to generate a strong typed object model
over the RSS feed and access the pubDate property easily. You can find an
example here:

#ScottGu's Blog : Awesome ASP.NET 2.0 RSS Tool-Kit Released
The RSS Toolkit also adds support for creating a strongly-typed object
model over a remote RSS feed. This allows you to program against RSS data
in a clean, easy way.

Let me know if I've misunderstood your question.

Walter Wang ([email protected], remove 'online.')
Microsoft Online Community Support

Get notification to my posts through email? Please refer to
ications. If you are using Outlook Express, please make sure you clear the
check box "Tools/Options/Read: Get 300 headers at a time" to see your reply

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at

This posting is provided "AS IS" with no warranties, and confers no rights.


Hi Walter,

Actually, I am creating the feed from my own ashx page, not using the tool.
My page is working, I just cant' get the date to show. I noticed other
sites show the date the same way. When I look at the source file, I can't
figure out what xml tag is being used.

So if you go to the site
(, you will see
"Today, November 01, 2006, 34 minutes ago". When I look at the source file,
that text is not in there. Somehow, its being generated. What I am trying
to figure out is how to generate the date in my ashx page.

Thanks for your help...

Walter Wang [MSFT]


I'm sorry but I can only see the raw xml in IE about the url

Regarding the "Today, November 01, 2006, 34 minutes ago", I guess it's
generated by some script (or XSLT?). Consider this: to get the "34 minutes
ago" info, you must compute it using current date, which means it's dynamic
rather than static. What I mean is that this should be done by the clients
who consume your RSS feed, your feed should only need to contain the static
"pubDate" field.

Walter Wang ([email protected], remove 'online.')
Microsoft Online Community Support

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

This posting is provided "AS IS" with no warranties, and confers no rights.

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Latest member

Latest Threads