Libreav

From Things and Stuff Wiki
Revision as of 19:50, 27 August 2020 by Milk (talk | contribs)
Jump to navigation Jump to search



Feeds

Mapping

Tamper

  • Feed: Software -> Release: Software - make sure Release entity has field pointing back to the Software entity
  • Title -> Version: The version number of this specific release - Find replace REGEX /(?![0-9])/ - replace any version field without numbers with an empty field

Rules

After saving a new content item of type Software:

  • Text comparison - Parameters: text: node.title.value, operator: contains, match: [0-9] - make sure Version has a number in it -
  • Entity is of bundle - Parameters: entity: node, type: node, bundle: software -
  • Entity has field - Parameters: entity: node, field: field_rssatomfeed -


After updating a content item of type Software:

  • Entity is of bundle - Parameters: entity: node, type: node, bundle: software -
  • Entity has field - Parameters: entity: node, field: field_rssatomfeed -