Commit Graph

87 Commits

Author SHA1 Message Date
tastytea 2fd761ee72
Fixed the fix in to_lowercase with ICU. Now it is really working!
continuous-integration/drone/push Build is failing Details
Turns out I fixed the crash, but some unicode-characters were not
lower-cased. I'm using ICU now. It is very easy, makes sense and is
all-around pleasant.
2019-07-25 06:04:53 +02:00
tastytea d6dd8d4e16
Added support for regular expressions. 2019-07-25 03:41:57 +02:00
tastytea 21fe64b59c
Fixed to_lowercase().
Converting some text to lowercase caused range errors. I don't really
know what I'm doing here, so I replaced the code with this answer from
StackOverflow: <https://stackoverflow.com/a/21395>. It works now,
let's hope it stays that way.
2019-07-25 03:06:27 +02:00
tastytea df535cc6fb
--export has no default value anymore.
continuous-integration/drone/push Build is failing Details
If --export had a default value, it would have to be called with
--export=FORMAT or -eFORMAT, while it was previously possible to call
it with --export FORMAT or -e FORMAT. This is counter-intuitive and
not backwards-compatible, so I reverted the change.
2019-07-21 17:15:55 +02:00
tastytea f2917abb3b
Added documentation for “simple” export. 2019-07-21 16:39:36 +02:00
tastytea 71bce0c87d
Added “simple” export. 2019-07-21 16:37:36 +02:00
tastytea 4406a8c64d
Unescape HTML in titles. 2019-07-21 16:25:13 +02:00
tastytea a83a2548c3
Remove HTML-encoded newlines in descriptions.
continuous-integration/drone/push Build is passing Details
We didn't catch newlines encoded as HTML entities before.
2019-07-13 18:20:37 +02:00
tastytea ff708e9403
AsciiDoc export: Disable webfonts.
continuous-integration/drone/push Build is passing Details
2019-07-12 01:49:32 +02:00
tastytea 47bcffec64
Replace ', ", ´, `, ’ and # in tags in AsciiDoc output.
continuous-integration/drone/push Build is passing Details
2019-07-06 18:24:31 +02:00
tastytea 622ccb9a03
AsciiDoc export: Escape '[' and ']' in URIs.
continuous-integration/drone/push Build is failing Details
2019-06-26 19:55:05 +02:00
tastytea 59ec3f6d6d
Remove HTML from descriptions.
continuous-integration/drone/push Build is passing Details
2019-06-11 01:25:21 +02:00
tastytea c166de0883
Made title and description extraction case insensitive.
continuous-integration/drone/push Build is passing Details
2019-06-10 16:34:25 +02:00
tastytea 93298e5301
Splitted export header.
continuous-integration/drone/push Build is passing Details
2019-06-06 18:56:49 +02:00
tastytea 00aa9ffd47
Refactored Netscape bookmarks export.
continuous-integration/drone/push Build is failing Details
2019-06-06 17:11:56 +02:00
tastytea 8ff0d39927
AsciiDoc export: Group tags only if there are more than 20. 2019-06-06 16:59:45 +02:00
tastytea 17b33eacbf
Refactored AsciiDoc export more, escape in titles.
Fixes #1.
2019-06-06 16:51:13 +02:00
tastytea 98bb87ed93
Refactored AsciiDoc export into a class. 2019-06-06 16:16:57 +02:00
tastytea 008a5fe0f2
Refactored CSV export. 2019-06-06 16:06:25 +02:00
tastytea 885148ea97
Put tags that are used only once under the header “Less used tags”.
continuous-integration/drone/push Build is passing Details
2019-05-28 21:40:26 +02:00
tastytea 747ba749e8
Added bookmark export. 2019-05-26 15:57:01 +02:00
tastytea 8cd33bb083
Changed variable to prevent shadowing. 2019-05-25 16:06:16 +02:00
tastytea 9196585a98
Added date after title in tags section of AsciiDoc export.
continuous-integration/drone/push Build is passing Details
2019-05-24 23:53:01 +02:00
tastytea a169370066
Added comment.
continuous-integration/drone/push Build is passing Details
2019-05-23 13:42:28 +02:00
tastytea c7165f7ffe
Repalced regex in URI::remove_newlines() with search & replace. 2019-05-23 13:41:47 +02:00
tastytea 92f87fb85b
Changed AsciiDoc export. Each thing is now a list item.
continuous-integration/drone/push Build is passing Details
The structure makes more sense, looks better in text browsers.
2019-05-23 12:06:27 +02:00
tastytea 8275db6687
Remove leading and trailing spaces from tags.
continuous-integration/drone/push Build is passing Details
2019-05-22 15:13:10 +02:00
tastytea 162ff88163
Made searches case insensitive. 2019-05-22 13:30:42 +02:00
tastytea f94d6a2229
Set locale globally. 2019-05-22 12:25:06 +02:00
tastytea 8b84429c94
Changed -S, --span to -T, --time-span,
continuous-integration/drone/push Build is passing Details
and added -S as short option for --search-all.
2019-05-22 09:54:56 +02:00
tastytea 8e75e7bfbf
Added option to not archive page.
continuous-integration/drone/push Build is passing Details
2019-05-22 09:43:58 +02:00
tastytea 50f2007291
Fixed tag list in AsciiDoc-export if entry has no title. 2019-05-21 15:26:20 +02:00
tastytea feab1e8769
Forgot newline after error message. 2019-05-21 11:59:58 +02:00
tastytea 02aae04cf5
Replaced more characters for tag anchors, prepend t_ to tag anchors.
continuous-integration/drone/push Build is passing Details
2019-05-20 13:13:26 +02:00
tastytea 32040c277c
Replaced more regular expressions with search & replace.
continuous-integration/drone/push Build is passing Details
2019-05-20 10:50:49 +02:00
tastytea 344e77d8bf
Replace more characters for tag-anchors.
Asciidoctor doesn't like ₀-₉ and ⁰-⁹.
2019-05-20 10:49:15 +02:00
tastytea da4931ab2f
Made tag-sorting locale-aware.
continuous-integration/drone/push Build is failing Details
2019-05-19 19:19:51 +02:00
tastytea 679a335b63
Updated usage line.
continuous-integration/drone/push Build is passing Details
2019-05-19 13:03:53 +02:00
tastytea da5ff47396
Ruled out duplicates when searching. 2019-05-19 12:47:38 +02:00
tastytea 26623cc95b
Confused option description with default value for --search-all. 2019-05-19 11:52:31 +02:00
tastytea 896d0e7734
Added option to search in tags, titles, descriptions and full texts. 2019-05-19 10:56:03 +02:00
tastytea ef145b2b00
Added option to search for tags.
continuous-integration/drone/push Build is passing Details
2019-05-19 09:42:52 +02:00
tastytea 3d19b9a1d2
Sort tags by number of occurrences first, then alphabetically.
continuous-integration/drone/push Build is passing Details
2019-05-18 15:13:27 +02:00
tastytea 6036e6c35d
Return error if fulltext is empty. 2019-05-18 13:51:41 +02:00
tastytea 3c8f9d8c7f
Print error message if archiving fails.
continuous-integration/drone/push Build is passing Details
2019-05-18 12:46:58 +02:00
tastytea 8e4d70985d
Added set_curlpp_options() to set common curlpp options. 2019-05-18 07:54:22 +02:00
tastytea f57f2bf578
Fixed AsciiDoc export.
continuous-integration/drone/push Build is passing Details
It was not formatted correctly if descriptions were missing.
2019-05-18 03:03:37 +02:00
tastytea 28503cc3bd
Only attempt to extract title and description from HTML files.
continuous-integration/drone/push Build is failing Details
2019-05-18 01:57:07 +02:00
tastytea 662fe22df4
Modified AsciiDoc output a bit.
continuous-integration/drone/push Build is passing Details
Seconds are no longer included in times, the link to the archived
version comes directly after the time and tags are separated by a |.
2019-05-17 11:13:39 +02:00
tastytea 887d6bd0ca
That last newline was not necessary. 2019-05-17 08:07:32 +02:00