I’m using XML Importers and cron to regularly update a section from an XML feed. My section includes a ‘date’ field, but the XML feed does not. The feed items have a unique ID and existing entries can be updated by XML Importer.

I would like for the date field to be set when a new entry is created, but not updated to the current date when entries are updated. Is this possible, using a helper function perhaps?

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details