PHP code example of bdunogier / ezdisqus-ls
1. Go to this page and download the library: Download bdunogier/ezdisqus-ls library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
bdunogier / ezdisqus-ls example snippets
use Disqus\Export\Processor as ExportProcessor,
Disqus\Export\Exporter\EzComments as EzCommentsExporter,
Disqus\Export\Formatter\DisqusWXR as DisqusFormatter;
$processor = new ExportProcessor(
new EzCommentsExporter(),
new DisqusFormatter()
);
$processor->export();
echo $processor->render();
bash
php bin/php/ezexec.php extension/ezdisqus/bin/php/export.php