Add info on unique URL.

Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
This commit is contained in:
Arun Prakash Jana 2015-11-09 05:21:25 +05:30
parent d9e74898c4
commit a3ed4cdc0d
3 changed files with 4 additions and 4 deletions

View File

@ -5,7 +5,7 @@ The SQLite3 database file is stored in `$HOME/.cache/bookmarks.db` for each user
It's advisable to copy URLs directly from the browser address bar, i.e., along with the leading `http://` or `https://` token. `markit` looks up title data (found within <title></title> tags of HTML) from the web only for fully-formed HTTP or HTTPS URLs. It's advisable to copy URLs directly from the browser address bar, i.e., along with the leading `http://` or `https://` token. `markit` looks up title data (found within <title></title> tags of HTML) from the web only for fully-formed HTTP or HTTPS URLs.
You can either add or update or delete record(s) in one instance. A combination of these operations are not supported in a single instance. You can either add or update or delete record(s) in one instance. A combination of these operations are not supported in a single instance. The same URL cannot be added twice. You can update tags and title data or delete it.
Search works in mysterious ways. All the keywords are treated as a single tag together. Partial sequential tag matches are shown in results. The same keywords are separately searched as unique tokens so that entries with matching URL or title data are also shown in results. Search works in mysterious ways. All the keywords are treated as a single tag together. Partial sequential tag matches are shown in results. The same keywords are separately searched as unique tokens so that entries with matching URL or title data are also shown in results.
@ -59,7 +59,7 @@ $ ./markit ...</pre>
Bookmark manager. Your private Google. Bookmark manager. Your private Google.
Options Options
-a URL tag 1, tag 2, ... add a bookmark with comma separated tags -a URL tag 1, tag 2, ... add URL as bookmark with comma separated tags
-d N delete entry at index N -d N delete entry at index N
-D delete ALL bookmarks -D delete ALL bookmarks
-i N add entry at index N, works with -a, use to fill deleted index -i N add entry at index N, works with -a, use to fill deleted index

2
markit
View File

@ -46,7 +46,7 @@ def usage():
print("Usage: markit [OPTIONS] KEYWORDS...") print("Usage: markit [OPTIONS] KEYWORDS...")
print("Bookmark manager. Your private Google.\n") print("Bookmark manager. Your private Google.\n")
print("Options") print("Options")
print(" -a URL tag 1, tag 2, ... add a bookmark with comma separated tags") print(" -a URL tag 1, tag 2, ... add URL as bookmark with comma separated tags")
print(" -d N delete entry at index N") print(" -d N delete entry at index N")
print(" -D delete ALL bookmarks") print(" -D delete ALL bookmarks")
print(" -i N add entry at index N, works with -a, use to fill deleted index") print(" -i N add entry at index N, works with -a, use to fill deleted index")

View File

@ -21,7 +21,7 @@ Search works in mysterious ways. All the keywords are treated as a single tag to
.BI \-a " URL" " " "tag 1", " tag 2", " ..." .BI \-a " URL" " " "tag 1", " tag 2", " ..."
Bookmark Bookmark
.I URL .I URL
along with comma separated tags. A tag can have multiple words. along with comma separated tags. A tag can have multiple words. The same URL cannot be added twice.
.TP .TP
.BI \-d " N" .BI \-d " N"
Delete bookmark at index Delete bookmark at index