Commit Graph

267 Commits

Author SHA1 Message Date
Arun Prakash Jana
58191c20b4 Update README.md 2015-11-10 12:05:32 +05:30
Arun Prakash Jana
91fbd573a9 Add help, more clarity in working. 2015-11-10 12:04:37 +05:30
Arun Prakash Jana
c853d04ac9 Show index for new bookmark.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-10 11:54:30 +05:30
Arun Prakash Jana
52d8a6fdc1 Merge branch 'master' of https://github.com/jarun/markit 2015-11-10 11:11:59 +05:30
Arun Prakash Jana
fade21d6fa Print title data only if online lookup requested.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-10 11:10:58 +05:30
Arun Prakash Jana
4c233d59a3 Update README.md 2015-11-10 10:54:22 +05:30
Arun Prakash Jana
b0a8225d31 Update README.md 2015-11-10 10:53:35 +05:30
Arun Prakash Jana
0b5e8466c8 OS independent path for DB file.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-10 10:34:34 +05:30
Arun Prakash Jana
9b467bc576 Print bookmark record of a single index.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-10 00:02:10 +05:30
Arun Prakash Jana
7c1195fd43 Add note on occurance of brackets.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-09 22:21:24 +05:30
Arun Prakash Jana
b4ff8c902b Note on occurance of special charcters like ';' or '&' in URL. They are interpreted by the shell.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-09 22:17:34 +05:30
Arun Prakash Jana
957d4f7ede Update readme with new features.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-09 21:08:44 +05:30
Arun Prakash Jana
0ab3a4c30d 1. Detect charset dynamically from page response.
2. Initialize 'fetchurl' if URL doesn't end with '/'.

Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-09 20:54:52 +05:30
Arun Prakash Jana
470d050ee5 Fetch suburl from server instead of full URL.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-09 20:07:09 +05:30
Arun Prakash Jana
938871ea62 Remove newline from title data.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-09 03:21:45 -08:00
Arun Prakash Jana
7c8613072d Strip titla data for whitespaces and newline.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-09 03:01:16 -08:00
Arun Prakash Jana
cfd217d317 More clarity in search description.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-09 02:29:16 -08:00
Arun Prakash Jana
c4474ccaf9 Plcase title data before tags in DB.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-09 02:18:44 -08:00
Arun Prakash Jana
8a70865e8e Show tags in search result.
Show tags as last row in all results.

Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-09 06:01:29 +05:30
Arun Prakash Jana
a3ed4cdc0d Add info on unique URL.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-09 05:21:25 +05:30
Arun Prakash Jana
d9e74898c4 Merge branch 'master' of https://github.com/jarun/markit 2015-11-09 05:00:00 +05:30
Arun Prakash Jana
89f6a262d8 Show index in case of duplicate URL.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-09 04:59:06 +05:30
Arun Prakash Jana
595a465dac Update README.md 2015-11-09 04:02:12 +05:30
Arun Prakash Jana
7d2f5beeed Update README.md 2015-11-09 03:59:17 +05:30
Arun Prakash Jana
3c1ac79222 Update README.md 2015-11-09 03:53:36 +05:30
Arun Prakash Jana
fc9df49ac2 Fied typo.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-09 03:52:15 +05:30
Arun Prakash Jana
9450181b73 Minor change in description.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-09 03:50:54 +05:30
Arun Prakash Jana
682fd9e3b7 Update README.md 2015-11-09 03:35:35 +05:30
Arun Prakash Jana
b6083978ef Added current features. 2015-11-09 03:34:49 +05:30
Arun Prakash Jana
a537ebcbfd Manpage and help changes.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-09 03:18:44 +05:30
Arun Prakash Jana
8ab56e6b6c More clarity in manpage.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-09 02:52:45 +05:30
Arun Prakash Jana
bf7048b3f0 Comprehensive manpage.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-09 02:46:01 +05:30
Arun Prakash Jana
aa595325bd Add Makefile and manpage.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-09 01:01:07 +05:30
Arun Prakash Jana
83b9edb529 Comments, indentation for clarity.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-09 00:26:52 +05:30
Arun Prakash Jana
78c0c639e6 Add debug options.
Vaiable name changes.

Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-08 23:49:12 +05:30
Arun Prakash Jana
6df582db2a Better search.
The input keywords, combined as a single tag, are used to match against tags for each bookmark entry. Partial matches (but in same sequence) are accepted.
The same input keywords are also used to search title metadata. Even if a single keyword is found in URL or title metadata the bookmark is shown in results.

Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-08 23:14:35 +05:30
Arun Prakash Jana
3a89429079 Change DB file location.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-08 00:49:59 +05:30
Arun Prakash Jana
c68ee3c764 Implemented ifirst level server redirection handling.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-08 00:36:46 +05:30
Arun Prakash Jana
268bdffb64 1. Allow insert at index to fill up missing entries after delete
2. Close DB connection before showing usage
3. Reformat help

Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-07 23:40:21 +05:30
Arun Prakash Jana
52b85a63dd Opening browser with clean URL.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-07 23:18:53 +05:30
Arun Prakash Jana
84ac223562 1. Removed AUTOINCREMENT for primary key
2. Cleaned URL before opening in webbrowser

Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-07 23:17:24 +05:30
Arun Prakash Jana
3c8112a90f More clarity in search output.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-07 20:38:15 +05:30
Arun Prakash Jana
db63d3f44b 1. Add option to delete single entry
2. Support both HTTP and HTTPS connections based on URL
3. Merged add and update options
4. Print exception info

Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-07 18:59:38 +05:30
Arun Prakash Jana
dcf8abaf78 Show page title metadata in search results.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-07 12:59:40 +05:30
Arun Prakash Jana
c0a5f7f2b5 Add option to search title data online.
Handle HTTPS connection error, exception.

Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-07 12:49:13 +05:30
Arun Prakash Jana
69a4d9f994 Implement HTTPS connection.
Fetch URL and get the title to store as metadata.

Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-07 04:37:15 +05:30
Arun Prakash Jana
bc567174bc HTML title parser implementation.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-07 04:02:08 +05:30
Arun Prakash Jana
775ec7fdd3 Added some color to output.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-07 02:15:30 +05:30
Arun Prakash Jana
59d3d2aec6 Suppress browser warnings and errors.
Discard negative index, though valid in python.

Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-07 01:56:08 +05:30
Arun Prakash Jana
c4dbee4aed Open results in web browser.
Add check for no options passed.

Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-07 01:29:57 +05:30