text: const logger = require(appRootDirectory + '/app/logging/bunyan');
  const functionPath = '/app/endpoints/micropub/process-data/';
  const handleContent = require(appRootDirectory + functionPath + 'content');
  const handleDateTime = require(appRootDirectory + functionPath + 'datetime');
  const handlePhotos = require(appRootDirectory + functionPath + 'photos');
  const handleAltText = require(appRootDirectory + functionPath + 'alt-text');
  const handleTags = require(appRootDirectory + functionPath + 'tags');
  const handleTargets = require(appRootDirectory + functionPath + 'syndication-targets'); // This is untested. Also IndieNews isn't appearing.
  
  // Entry to be moved in to a formatter function, and return the markdown. It needs to take inputs from all the functions outputs previously.
  
  exports.photo = function photo(micropubContent) {
      logger.info('Photo JSON received: ' + JSON.stringify(micropubContent));
  
      const pubDate = handleDateTime.formatDateTime();
      const content = handleContent.formatContent(micropubContent);
      const alt = handleAltText.formatAltText(micropubContent);
      const tags = handleTags.formatTags(micropubContent);
      const photoURL = handlePhotos.formatPhotos(micropubContent);
      const targetArray = handleTargets.formatTargets(micropubContent);
      const entry = `---
  title: "Note for ${pubDate}"
  date: "${pubDate}"
  meta: "note posted on ${pubDate}"
  ${photoURL}
  ${alt}
  tags:${tags}
  ${targetArray}
  ---
  ${content}
  `;
  
      logger.info('Note formatter finished: ' + entry);
      return entry;
  };
  