Hi,
I've got an Evo Blog that is working nicely except I can't get the date to show in the feed summary.
http://www.makethemclick.com.au/library/feed/
http://makethemclick.com.au/library
Ditto call
[!Ditto? &parents=`22` &hideFolders=`1` &depth=`2` &format=`rss` &summarize=`10` &total=`10` &tpl=`blogtest` &hideFolders=`301` &dateSource=`pub_date`
!]
CHUNK
<item>
<title>[+rss_pagetitle+]</title>
<link>[(site_url)][~[+id+]~]</link>
<description><![CDATA[ [+blog-summary+] ]]></description>
[+pub_date+]
<guid isPermaLink="false">[(site_url)][~[+id+]~]</guid>
</item>
Any ideas?
Thanks
[ed. note: markg last edited this post 14 years, 4 months ago.]
Content Creator and Copywriter
Try [+date+] instead of [+pub_date+]
No luck.
I'm guessing the date is not being called or displayed properly but I can't figure out why.
Content Creator and Copywriter
See this also:
http://bobsguides.com/published-on-publish-date-confusion.html.
------------------------------------------------------------------------------------------
PLEASE, PLEASE specify the version of MODX you are using.
MODX info for everyone:
http://bobsguides.com/modx.html
Bob, kp,
ok no luck with either of those.
I did have partial luck using [+date+] in a different call, but not the one above which is the one I need.
Let me try and clarify what I'm trying to do.
The set up above is for my rss feed, and I want the date to display in the feed.
Does it need some extra tag around it?
At the moment no matter what I try I can't get the date to appear.
If I try it as a normal document (ie not rss) then I get the date, so I'm not sure why there is a difference.
Does it need some extra tag around the it?
[ed. note: markg last edited this post 14 years, 5 months ago.]
Content Creator and Copywriter
Thanks microcipcip,
<pubDate>[+rss_date+]</pubDate>
was what I needed. Working fine now.
However, I have another question, how do I format the date.
I tried Pogwatch's examples without any luck.
I'm using
&dateSource=`publishedon` &dateFormat=`%b %d %Y`
Basically I just want the date and not the time.
but it doesn't seem to have any effect.
Content Creator and Copywriter