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:
parent
187fb1b85d
commit
424c8a2723
@ -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;
|
||||
}
|
||||
|
@ -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>
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user