Hello,

I've got the feeds module running, and it works fantastic. The only issue I'm having is with events feeds. I'm pulling in the rss feed from my drupal calendar, and that works ok, but it's not pulling over the date cck field.

I thought if I mapped that field it would then display it, but I don't see that field as an option for mapping.

Is there something else I need to do, or something else I'm missing?

Thanks!

Comments

jim005’s picture

same issue for me, I can't import events date... from XML :-( so, I needed to play around awaiting solutions. My timezone is UTC +2

alex_b’s picture

Status: Active » Postponed (maintainer needs more info)

> I thought if I mapped that field it would then display it, but I don't see that field as an option for mapping.

'That field' being an element on your feed or 'that field' being a CCK field? Can you be more specific? What's exactly missing: source or target?

georgedamonkey’s picture

Oh, sorry...

It's a cck field. I was able to (using Views RSS) get that field to display in the RSS feed. But, using feeds, I'm not able to map that field at all. So, events show up with a title, but no date.

Thanks for taking the time to help me with this!

alex_b’s picture

As what does it display in the RSS feed? Is it a custom element? If so, the parser likely won't pick it up. I need you to be more specific still :-)

georgedamonkey’s picture

The RSS feed itself displays the title of the page, and the date and time the event happens:

http://www.menashalibrary.org/calendar/feed

If it can't be mapped, do you know if there's a way to make the date be part of the teaser? Then it would at least display it as part of the content.

alex_b’s picture

The date is in the description field and is wrapped in a span element that is HTML character encoded. You either have to clean up that feed so that the date shows clean in the description field or you have to write an extension to the parser you are using to peel the date out of the garbage its wrapped in.

alex_b’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)
imiksu’s picture

I have same situation right now but I do have my dates in seperated XML nodes. Here's my XML structure:

<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="http://example.com/events" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <titleEvents</title>
    <link>http://example.com/events</link>
    <description>Upcoming events.</description>
    <language>en</language>

    <item>
      <title>...</title>
      <link>...</link>
      <description>...</description>
      <date-from>2011-03-01 00:00:00</date-from>
      <date-to>2011-03-02 00:00:00</date-to>
      <comments>...</comments>
      <pubDate>Wed, 19 Jan 2011 10:00:00 +0000</pubDate>
      <dc:creator>someone</dc:creator>
      <guid isPermaLink="false">2011 at http://example.com</guid>
    </item>
  </channel>
</rss>

I'm using XPath Parser just to track those two elements (date-from + date-to), but I can't map them since I don't have my date field in target dropdown list.

blackdotbug’s picture

Same exact issue. I am using xpath parser (6x-1.11) to grab specific date fields in an external xml. I added a cck datestamp field to the content type to be created by the feed, but the cck date field does not show up in the target dropdown in the node processor mapping section. Any solutions to this one magically appear? I have a site launch in two days and this is my last major hurdle. Fun! :)