New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create HTML note error #5
Comments
Hi, Thank you. PS : I keep the issue open as a reminder. |
Hi Laurent, I finally used the ENML and everything is working. Thanks, Le 2015-02-25 ? 11:14, Laurent Sarrazin <notifications@github.commailto:notifications@github.com> a ?crit : Hi, Thank you. PS : I keep the issue open as a reminder. Reply to this email directly or view it on GitHubhttps://github.com//issues/5#issuecomment-75989539. |
@david-landry After doing the composer install, the error you mentioned would be gone. kenson@www:/var/www/public_html/evernote/evernote-cloud-sdk-php$ composer install
Writing lock file |
If you got the following error, please install the php extension "sudo apt-get install php5-xsl" PHP Warning: DOMDocument::load(): I/O warning : failed to load external entity "/var/www/public_html/evernote/evernote-cloud-sdk-php/sample/client/html2enml.xslt" in /var/www/public_html/evernote/evernote-cloud-sdk-php/src/Evernote/Enml/Converter/HtmlToEnmlConverter.php on line 92 |
However, I got the error unsolved. $content = new Evernote\Model\HtmlNoteContent(''); kenson@www:/var/www/public_html/evernote/evernote-cloud-sdk-php/src/Evernote/Enml/Converter$ php ../../../../sample/client/create_note.php |
It's 2016 and i'm getting the same exception. Looks like Evernote is dead. |
Hi,
I've been trying your code and the OAuth process work like a charm. However, I've tried to create a note and I receive the following error when using
$note->content = new \Evernote\Model\HtmlNoteContent($noteBody);
instead of
$note->content = new \Evernote\Model\PlainTextNoteContent('Some plain text content.');
Error:
Fatal error: Class 'HTMLPurifier' not found in /homepath/src/Evernote/Enml/HtmlCleaner/HtmlPurifier.php on line 13
Is something missing in the code? Will the ENMLNoteContent work?
Regards!
The text was updated successfully, but these errors were encountered: