Date and Category Problems
Posted: 07 April 2010 04:29 AM   [ Ignore ]  
Newbie
Rank
Total Posts:  2
Joined  2010-04-07

Hi,

Thanks for a great plugin - I am using it to import data from an old EE site into a new one. Everything is working fine except for assigning entries to the correct category automatically and setting the date correctly.
It checks and creates categories just fine but it never assigns the entry to that category. I have solved this by creating a seperate feed for each category on the old system and then importing them into the matching category on the new system.
But where I am stuck now is with the Date. No matter what format I try and use for the date it just imports all entries with the date the import was run.
Here’s an example feed and this is the template I use for it:

{exp:xmlgrab url="http://www.alpentrekking.ch/index.php?feed_swift"
                          
itempath="/feed/entry"
                          
weblog="3" 
                          
title="title"
                          
date="published"
                          
use="content"
                          
fields="news_content"
                          
category="13"
                          
author="2"

Does the plugin expect the date to be in a certain format?
Thanks for your help.

Profile
 
 
Posted: 07 April 2010 06:53 PM   [ Ignore ]   [ # 1 ]  
Administrator
RankRankRankRank
Total Posts:  179
Joined  2006-04-12

The plugin currently likes dates in the format: YYYYMMDD (eg, 20100408).

I want to improve the date handling drastically for these plugins, but if you need something in the meantime let me know and I’ll try and provide a solution.

Andrew

Profile