def METHOD_NAME(app):
    singleton.SingleInstance('archivecontent')
    app = spoof_request(app)  # noqa
    for oid in app.objectIds():  # noqa
        obj = app[oid]  # noqa
        if IPloneSiteRoot.providedBy(obj):
            try:
                archive(obj, app)
            except Exception:
                logger.error('Could not archive %s' % oid, exc_info=True)