date not being processed with feedgrab
Posted: 25 July 2010 06:42 PM   [ Ignore ]  
Newbie
Rank
Total Posts:  1
Joined  2010-07-25

I’ve got feedgrab working great except that the date isn’t being entered correctly.

my code is below and the atom feed is here:

I think the problem is that the feed has the time output twice using the same tag (published) and the first time it’s got this extra “T” in it. Is there a way to work around this?

{exp:feedgrab url="http://www.dailymile.com/people/createsean/entries.atom" 
                          
weblog="5" 
                          
title="id"
                          
date="published"
                          
use="dm:distance|dm:duration|dm:felt|link" 
                          
fields="distance|duration|felt|dailymilelink" 
Profile
 
 
Posted: 27 July 2010 03:39 PM   [ Ignore ]   [ # 1 ]  
Administrator
RankRankRankRank
Total Posts:  179
Joined  2006-04-12

Hi,

The feed seems to have 2 occurrences of the element. Try using date=“published#2” - this should specify that it uses the 2nd one (but I have not tested this).

Andrew

Profile