require_once('include/ostatus.php');
/**
- * @brief Adds the header elements for the DFRN protocol
+ * @brief Generates the atom entries for delivery.php
+ *
+ * This function is used whenever content is transmitted via DFRN.
*
* @param array $items Item elements
* @param array $owner Owner record
}
/**
- * @brief Adds the header elements for the DFRN protocol
+ * @brief Generate an atom feed for the given user
+ *
+ * This function is called when another server is pulling data from the user feed.
*
* @param App $a
* @param string $dfrn_id
}
/**
- * @brief Create XML text for DFRN mail
+ * @brief Create XML text for DFRN mails
*
* @param array $item message elements
* @param array $owner Owner record
}
/**
- * @brief Create XML text for DFRN suggestions
+ * @brief Create XML text for DFRN friend suggestions
*
* @param array $item suggestion elements
* @param array $owner Owner record
}
/**
- * @brief Adds the author elements for the DFRN protocol
+ * @brief Adds the author element in the header for the DFRN protocol
*
* @param object $doc XML document
* @param array $owner Owner record
}
/**
- * @brief Adds the author elements for the item entries of the DFRN protocol
+ * @brief Adds the author elements in the "entry" elements of the DFRN protocol
*
* @param object $doc XML document
* @param string $element Element name for the author
}
/**
- * @brief Adds the attachments elements
+ * @brief Adds the elements for attachments
*
* @param object $doc XML document
* @param object $root XML root
}
/**
- * @brief Adds the header elements for the DFRN protocol
+ * @brief Adds the "entry" elements for the DFRN protocol
*
* @param object $doc XML document
* @param string $type "text" or "html"