Skip to content
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

Notes from the same web page #16

Closed
ZiluTian opened this issue Apr 29, 2020 · 5 comments
Closed

Notes from the same web page #16

ZiluTian opened this issue Apr 29, 2020 · 5 comments
Labels
enhancement New feature or request
Milestone

Comments

@ZiluTian
Copy link

Hello,

Thank you for this tool! I am writing to see if it is possible to merge notes from the same web page to the same note in QOwnnotes, rather than one note per entry. Is there any suggestion is how to do this efficiently? Thanks!

Regards,
Zilu

@pbek pbek added the question Further information is requested label Apr 29, 2020
@pbek
Copy link
Member

pbek commented Apr 29, 2020

Thank you for your kind words.

if it is possible to merge notes from the same web page to the same note in QOwnnotes, rather than one note per entry

Do you mean Create note from selection?
No, currently always a new note is created.

@ZiluTian
Copy link
Author

ZiluTian commented Apr 29, 2020 via email

@pbek pbek added enhancement New feature or request and removed question Further information is requested labels May 10, 2020
@pbek pbek added this to the 20.5.0 milestone May 10, 2020
@pbek
Copy link
Member

pbek commented May 10, 2020

You will be able to write your own script to handle it the way you like.

20.5.0

  • the context menu entries Create note from page (HTML import) and Create note from selection where renamed to Send page to QOwnNotes and Send selection to QOwnNotes, because now a screenshot of the current page will also be sent to QOwnNotes so you are able to use them in scripts
    • you need QOwnNotes 20.5.7 or higher for this feature
    • the default behavior is still that a new note is created with the page or selection text

@pbek
Copy link
Member

pbek commented May 11, 2020

QOwnNotes 20.5.7

  • there now is a new method insertHtmlAsMarkdownIntoCurrentNote for mainWindow
    in the scripting engine that inserts html in the current note as markdown
    (for #1740)
    • this method also downloads remote images and transforms data:image urls
      to local images stored in the media directory
    • for more information please take a look at the
      Mainwindow scripting documentation
  • added a new scripting hook websocketRawDataHook that is called when data is
    sent from the QOwnNotes Web Companion browser extension via the web browser's
    context menu (for #1740)
    • you need the QOwnNotes Web Companion 20.5.0 or higher for this to work
    • this works with either the send page and send selection feature of the
      web companion
    • if a hook implementation is found in a script no new note will be created
    • take a look at the
      handleNoteNameHook documentation
      for more information

There now is a new release, could you please test it and report if it works for you?

@pbek
Copy link
Member

pbek commented May 11, 2020

Don't forget to update the QOwnNotes browser extension!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants