Updated 09082022-004018
You can generate any kind of url scheme you want using
--url-template
. This is a string that can contain the following placeholders (all URL encoded):
- %title: The title of the page
- %text: The markdown text of the page
- %notebook: The contents of the
--nvu-notebook
option, can be used for additional meta in another key- %source: The canonical URL of the captured page, if available
- %date: Today's date and time in the format YYYY-mm-dd HH:MM
- %filename: The title of the page sanitized for use as a file name
- %slug: The title of the page lowercased, all punctuation and spaces replaced with dashes (
using-gather-as-a-web-clipper
)You can include a fallback title using
--fallback-title "TITLE"
. If a page title can't be determined (common when running on snippets of HTML), this variable will be inserted. You can include the "%date" placeholder, which will be replaced with an ISO datetime.
Timestamp: %date
%23%20%25title%0ATimestamp%3A%20%60%25date%60%0A-%20%5BSource%5D(%25source)%0A%0A---%0A%25text