GithubHelp home page GithubHelp logo

Comments (6)

Laurent-Sarrazin avatar Laurent-Sarrazin commented on June 28, 2024

Hi,
thanks for the feedback and sorry for the delay.
The HtmlNoteContent is "experimental" so far...
I'd recommend that you stick with the ENML or plain text for now.

Thank you.

PS : I keep the issue open as a reminder.

from evernote-cloud-sdk-php.

david-landry avatar david-landry commented on June 28, 2024

Hi Laurent,

I finally used the ENML and everything is working.

Thanks,
David Landry

Le 2015-02-25 ? 11:14, Laurent Sarrazin <[email protected]mailto:[email protected]> a ?crit :

Hi,
thanks for the feedback and sorry for the delay.
The HtmlNoteContent is "experimental" so far...
I'd recommend that you stick with the ENML or plain text for now.

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.

from evernote-cloud-sdk-php.

mfkenson avatar mfkenson commented on June 28, 2024

@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
Loading composer repositories with package information
Installing dependencies (including require-dev)

  • Installing ezyang/htmlpurifier (v4.6.0)
    Downloading: 100%
  • Installing symfony/css-selector (v2.6.4)
    Downloading: 100%
  • Installing tijsverkoyen/css-to-inline-styles (1.5.2)
    Downloading: 100%

Writing lock file
Generating autoload files

from evernote-cloud-sdk-php.

mfkenson avatar mfkenson commented on June 28, 2024

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
PHP Fatal error: Class 'XSLTProcessor' not found in /var/www/public_html/evernote/evernote-cloud-sdk-php/src/Evernote/Enml/Converter/HtmlToEnmlConverter.php on line 94

from evernote-cloud-sdk-php.

mfkenson avatar mfkenson commented on June 28, 2024

However, I got the error unsolved.

$content = new Evernote\Model\HtmlNoteContent('');
$content->setBaseUrl('http://www.google.com');
$note->setContent($content);

kenson@www:/var/www/public_html/evernote/evernote-cloud-sdk-php/src/Evernote/Enml/Converter$ php ../../../../sample/client/create_note.php
PHP Fatal error: Uncaught exception 'EDAM\Error\EDAMUserException' in /var/www/public_html/evernote/evernote-cloud-sdk-php/src/EDAM/NoteStore/NoteStore.php:13807
Stack trace:
0 /var/www/public_html/evernote/evernote-cloud-sdk-php/src/EDAM/NoteStore/NoteStore.php(2393): EDAM\NoteStore\NoteStore_createNote_result->read(Object(Thrift\Protocol\TBinaryProtocol))
1 /var/www/public_html/evernote/evernote-cloud-sdk-php/src/EDAM/NoteStore/NoteStore.php(2353): EDAM\NoteStore\NoteStoreClient->recv_createNote()
2 [internal function]: EDAM\NoteStore\NoteStoreClient->createNote('S=s67:U=5efd9f1...', Object(EDAM\Types\Note))
3 /var/www/public_html/evernote/evernote-cloud-sdk-php/src/Evernote/Store/Store.php(25): ReflectionMethod->invokeArgs(Object(EDAM\NoteStore\NoteStoreClient), Array)
4 /var/www/public_html/evernote/evernote-cloud-sdk-php/src/Evernote/Client.php(449): Evernote\Store\Store->__call('createNote', Array)
5 /var/www/public_html/ever in /var/www/public_html/evernote/evernote-cloud-sdk-php/src/EDAM/NoteStore/NoteStore.php on line 13807

from evernote-cloud-sdk-php.

tetreum avatar tetreum commented on June 28, 2024

It's 2016 and i'm getting the same exception. Looks like Evernote is dead.

from evernote-cloud-sdk-php.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.