1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-11-24 08:12:24 +02:00

Clipper: Support 'author' property

This commit is contained in:
Laurent Cozic 2018-06-27 20:14:20 +01:00
parent 187fb1b85d
commit 424c8a2723
3 changed files with 6 additions and 0 deletions

View File

@ -94,6 +94,7 @@ class ClipperServer {
}
if (requestNote.source_url) output.source_url = requestNote.source_url;
if (requestNote.author) output.author = requestNote.author;
return output;
}

View File

@ -327,6 +327,10 @@ for (let portToTest = 41184; portToTest <= 41194; portToTest++) {
<td>The URL the note comes from</td>
</tr>
<tr>
<td>author</td>
<td>The note author</td>
</tr>
<tr>
<td>parent_id</td>
<td>The notebook (ID) to move the note to</td>
</tr>

View File

@ -84,6 +84,7 @@ title | Note title
body | Note body, in Markdown
body_html | Note body, in HTML format
source_url | The URL the note comes from
author | The note author
parent_id | The notebook (ID) to move the note to
base_url | If `body_html` is provided and contains relative URLs, provide the `base_url` parameter too so that all the URLs can be converted to absolute ones. The base URL is basically where the HTML was fetched from, minus the query (everything after the '?'). For example if the original page was `https://stackoverflow.com/search?q=%5Bjava%5D+test`, the base URL is `https://stackoverflow.com/search`.
image_data_url | An image to attach to the note, in [Data URL](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs) format.