Giter VIP home page Giter VIP logo

Comments (24)

Liongold avatar Liongold commented on May 18, 2024

What format would you like to export in?
On 19 Nov 2014 10:00, "volkerpfosten" [email protected] wrote:

Hey!

are there any plans for implementing an export function in nearer future?
Since I see me updating quite frequently, I want to backup my notes outside
of the server environment.

best regards!


Reply to this email directly or view it on GitHub
#12.

from paperwork.

 avatar commented on May 18, 2024

That doesn't really matter to me. I just thaught about a backup-solution prior to updating paperwork. So when things go wild, you are able to restore your notes with a fresh installation/database.
There is the ability to import from evernote files. Perhaps this is possible the way around?

from paperwork.

mrusme avatar mrusme commented on May 18, 2024

@Liongold we could try to play cool and export data in Evernote's XML format. Then the user could easily migrate from Paperwork to Evernote, if he'd like to. Besides, an Evernote XML importer is planned anyway, so we could use that to bring back the data.

@volkerpfosten as a temporary solution you could pretty much just dump the whole MySQL database. :-)

from paperwork.

Liongold avatar Liongold commented on May 18, 2024

I assume the Evernote XML is this
https://dev.evernote.com/doc/articles/enml.php, right?

On Tuesday, November 25, 2014, Marius [email protected] wrote:

@Liongold https://github.com/Liongold we could try to play cool and
export data in Evernote's XML format. Then the user could easily migrate
from Paperwork to Evernote, if he'd like to. Besides, an Evernote XML
importer is planned anyway, so we could use that to bring back the data.

@volkerpfosten https://github.com/volkerpfosten as a temporary solution
you could pretty much just dump the whole MySQL database. :-)


Reply to this email directly or view it on GitHub
#12 (comment).

Sincerely,
Jean Spiteri.

from paperwork.

mrusme avatar mrusme commented on May 18, 2024

@Liongold yupp, that's right. I've created & exported 3 test-notes, containing attachments and various formatting options, see here: https://gist.github.com/devilx/1e093ba85713122f5c76

from paperwork.

Liongold avatar Liongold commented on May 18, 2024

I'll tentatively assign this to me. Right now I'm a little busy with a couple of things but should be able to determine whether I can do it in a week or a little more. Hopefully before the new year.

from paperwork.

Liongold avatar Liongold commented on May 18, 2024

And I don't seem to be able to assign the issue to me from the web interface. So @devilx, if you want, you can assign me yourself.

from paperwork.

Liongold avatar Liongold commented on May 18, 2024

I've done some work on this and I've generated this first file. @devilx Can you check it out since I don't have Evernote myself? https://gist.github.com/Liongold/4b1a5d4b2dfcf78157fc

It includes an attachment which is a text file which includes Test in it.

from paperwork.

mrusme avatar mrusme commented on May 18, 2024

@Liongold thank you for your work! I tried to import your file into Evernote, unfortunately it didn't succeed. I've quickly compared your file with my export but couldn't find any differences, although I'd need to take a deeper look.

from paperwork.

Liongold avatar Liongold commented on May 18, 2024

Could you show me the export produced by Evernote for the same note as I've exported, please?

from paperwork.

mrusme avatar mrusme commented on May 18, 2024

@Liongold as I can not import your GIST into Evernote, I've just created one "Testing"-note myself and exported that one: https://gist.github.com/devilx/634b2d2bb5b0ff3ae5da

from paperwork.

Liongold avatar Liongold commented on May 18, 2024

Attachment?

from paperwork.

mrusme avatar mrusme commented on May 18, 2024

"Attachment"? I think it would be a good idea to set up a test account on Evernote.com and use that one to test importing/exporting functionality, as currently I can't answer to your requests as quickly as it might be needed for you to get this fixed. :-)

from paperwork.

Liongold avatar Liongold commented on May 18, 2024

I'd suggest that we meet for an hour or two on IRC to be able to work together.

The export I sent you is of one note that includes an attachment in it (txt file with Test content). However, in your export I don't see any mention of attachments. Does this: https://gist.github.com/devilx/634b2d2bb5b0ff3ae5da include an attachment?

from paperwork.

mrusme avatar mrusme commented on May 18, 2024

@Liongold nope, it doesn't. I didn't understand your question then. Here's one with a .txt File included: https://gist.github.com/devilx/f943fa7edb10b948a199

However, it'll still be good if you could set up your own Evernote account for testing purpose. Regarding the IRC thing: What timezone are you in? I'm UTC+1.

from paperwork.

Liongold avatar Liongold commented on May 18, 2024

CET. If you can, we can meet right now.

from paperwork.

Liongold avatar Liongold commented on May 18, 2024

Can you show me an export of multiple notebooks please?

from paperwork.

mrusme avatar mrusme commented on May 18, 2024

It turned out Evernote can't export multiple notebooks selectively. You can either export the notes from one notebook or all the notes available.

I can't demonstrate the latter since I'm - unfortunately - having sensitive data in Evernote. Please create a test account on evernote.com and try it out.

from paperwork.

Liongold avatar Liongold commented on May 18, 2024

I've opened a pull request for this feature. It's at pull request #41. Could you please check it out and comment since it's my first Laravel code?

from paperwork.

mrusme avatar mrusme commented on May 18, 2024

#41 was implemented by @Liongold and just merged into master. @volkerpfosten if you'd like, feel free to update & test.

from paperwork.

mrusme avatar mrusme commented on May 18, 2024

@Liongold could you check your code? I just tested it and found an issue:

Undefined variable: attachments (View: /Users/devilx/Projects/paperwork/frontend/app/views/user/settings/export_file.blade.php)

I took a look into the file and found something weird:

@if(isset($tags)) @foreach ($attachments as $attachment) <en-media type="[[ $attachment['mimetype'] ]]" hash="[[ $attachment['hash'] ]]" /><br /> @endforeach @endif

Is this supposed to check for $tags but then still use $attachments?

from paperwork.

Liongold avatar Liongold commented on May 18, 2024

Apologies for that issue. It should check for $attachments. I'll do it as
soon as possible.

Sincerely,
Jean Spiteri.

from paperwork.

Liongold avatar Liongold commented on May 18, 2024

Can you check it now, please?

from paperwork.

mrusme avatar mrusme commented on May 18, 2024

Looks good now! Thank you!

from paperwork.

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.