I am using Feeds to automatically import an XML feed of classified ads from another Drupal site (running the same modules).

I've used XPath to map all my fields (I only have the taxonomy term/category, image, title, body, and published date). However, I can't map the expiration date field (it's not an option within my import settings). It'd be nice if I could somehow add the expiration date field and map that as well.

(As I typed this, I began wondering if I could add the status field and set the published status on each import. It might achieve a similar result.)

Expiration date feeds field

CommentFileSizeAuthor
feeds-expiration-date-field.jpg39.69 KBmrpeanut

Comments

fgm’s picture

Project: Classified Ads » Feeds
Version: 7.x-3.0-rc2 » 7.x-2.x-dev

In Drupal/Entity API parlance, the expiration date is not a "field" (instance), but a "property"/"extra field", like the "node id", "published status", "title" and a number of others.

Feeds could discover it because Classified Ads declares it as an "extra field", called "expire_fs" for forms and "expires" for display. So I think you should obtain more feedback from the Feeds contributors/maintainer(s), so retagging.

Also, note that since 04/2012 you should have been using 7.x-3.0 of Classified Ads, no longer 7.x-3.0-rc2, which has known issues, fixed in the final release.

bluegeek9’s picture

Issue summary: View changes
Status: Active » Closed (outdated)
//www.flaticon.com/free-icons/thank-you Thank you for your contribution!

Unfortunately, Drupal 7 is End of Life and no longer supported. We strongly encourage you to upgrade to a supported version of Drupal.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.