137 |
138 |
139 |
153 |
154 |
155 |
--------------------------------------------------------------------------------
/testdata/end_to_end_test/comparison/1985/01/01/old-entry9/source.org.txt:
--------------------------------------------------------------------------------
1 | CLOSED: [1985-01-01 Tue 15:09]
2 | :PROPERTIES:
3 | :ID: 1985-01-01-old-entry9
4 | :CREATED: [1985-01-01 Tue 15:09]
5 | :END:
6 | :LOGBOOK:
7 | - State "DONE" from [1985-01-01 Tue 15:09]
8 | :END:
9 |
10 | Test entry.
11 |
12 |
--------------------------------------------------------------------------------
/testdata/end_to_end_test/comparison/2013/02/14/lazyblorg-example-entry/source.org.txt:
--------------------------------------------------------------------------------
1 | ** DONE This is an example blog entry :blog:mytest:programming:
2 | CLOSED: [2013-02-14 Thu 19:02]
3 | :LOGBOOK:
4 | - State "DONE" from "" [2013-02-14 Thu 19:02]
5 | :END:
6 | :PROPERTIES:
7 | :CREATED: [2013-02-12 Tue 10:58]
8 | :ID: 2013-02-12-lazyblorg-example-entry
9 | :END:
10 |
11 | This is an introduction text which describes the blog entry with some
12 | catchy information. Readers should be convinced to read this
13 | interesting text. [[https://github.com/novoid/Memacs][Memacs]] is an external link to Memacs.
14 |
15 | *** Sub-heading foo
16 | :PROPERTIES:
17 | :END:
18 |
19 | This is a dummy text whose only purpose is to generate some content
20 | which is then processed by this lovely tool. The resulting web blog
21 | might win the Pulitzer Prize some day!
22 |
23 | - this list
24 | - gives a great overview
25 | - about something
26 |
27 | **** Sub-sub heading about something
28 | :PROPERTIES:
29 | :END:
30 |
31 | This is a dummy text whose only purpose is to generate some content
32 | which is then processed by this lovely tool. The resulting web blog
33 | might win the Pulitzer Prize some day!
34 |
35 | #+BEGIN_VERSE
36 | Well, in here, I want to write verbatim text.
37 | Line breaks should be exactly the same.
38 |
39 | This is a
40 | dummy text whose only purpose is to generate
41 | some content
42 | which is then processed by this lovely tool.
43 | The resulting web blog
44 | might win the Pulitzer Prize some day!
45 |
46 | #+END_VERSE
47 |
48 | *** Sub-heading HTML block
49 | :PROPERTIES:
50 | :END:
51 |
52 | Here comes some HTML:
53 |
54 | #+NAME: my-HTML-example name
55 | #+BEGIN_HTML
56 | foo
57 | bar
58 |
59 | baz
60 | #+END_HTML
61 |
62 | *** heading with lists
63 | :PROPERTIES:
64 | :END:
65 |
66 | - this is a list
67 | - second line
68 | - third line
69 | - last line
70 |
71 |
--------------------------------------------------------------------------------
/testdata/end_to_end_test/comparison/2013/08/22/testid/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
28 |
29 |
31 |
33 |
35 |
36 |
37 |
38 |
39 | Mini blog entry
40 |
41 |
42 |
43 |
137 |
138 |
139 |
153 |
154 |
155 |
--------------------------------------------------------------------------------
/testdata/end_to_end_test/comparison/2013/08/22/testid/source.org.txt:
--------------------------------------------------------------------------------
1 | * DONE Mini blog entry :blog:
2 | CLOSED: [2013-08-22 Thu 21:06]
3 | :LOGBOOK:
4 | - State "DONE" from "" [2013-08-22 Thu 21:06]
5 | :END:
6 | :PROPERTIES:
7 | :CREATED: [2013-08-22 Thu 21:06]
8 | :ID: 2013-08-22-testid
9 | :END:
10 |
11 | Just for testing.
12 |
13 |
--------------------------------------------------------------------------------
/testdata/end_to_end_test/comparison/2014/01/30/full-syntax-test/2017-03-11T18.29.21 Sterne im Baum -- mytag publicvoit - scaled width 100.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/novoid/lazyblorg/d95e1cf260be24edaf75fdc767c254c84087856b/testdata/end_to_end_test/comparison/2014/01/30/full-syntax-test/2017-03-11T18.29.21 Sterne im Baum -- mytag publicvoit - scaled width 100.jpg
--------------------------------------------------------------------------------
/testdata/end_to_end_test/comparison/2014/01/30/full-syntax-test/2017-03-11T18.29.21 Sterne im Baum -- mytag publicvoit - scaled width 300.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/novoid/lazyblorg/d95e1cf260be24edaf75fdc767c254c84087856b/testdata/end_to_end_test/comparison/2014/01/30/full-syntax-test/2017-03-11T18.29.21 Sterne im Baum -- mytag publicvoit - scaled width 300.jpg
--------------------------------------------------------------------------------
/testdata/end_to_end_test/comparison/2014/01/30/full-syntax-test/2017-03-11T18.29.21 Sterne im Baum -- mytag publicvoit.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/novoid/lazyblorg/d95e1cf260be24edaf75fdc767c254c84087856b/testdata/end_to_end_test/comparison/2014/01/30/full-syntax-test/2017-03-11T18.29.21 Sterne im Baum -- mytag publicvoit.jpg
--------------------------------------------------------------------------------
/testdata/end_to_end_test/comparison/2014/01/30/full-syntax-test/2019-07-26T11.44.35 Shinjuku - Skyline -- specialP publicvoit - scaled width 200.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/novoid/lazyblorg/d95e1cf260be24edaf75fdc767c254c84087856b/testdata/end_to_end_test/comparison/2014/01/30/full-syntax-test/2019-07-26T11.44.35 Shinjuku - Skyline -- specialP publicvoit - scaled width 200.jpg
--------------------------------------------------------------------------------
/testdata/end_to_end_test/comparison/2014/01/30/full-syntax-test/2019-07-26T11.44.35 Shinjuku - Skyline -- specialP publicvoit - scaled width 750.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/novoid/lazyblorg/d95e1cf260be24edaf75fdc767c254c84087856b/testdata/end_to_end_test/comparison/2014/01/30/full-syntax-test/2019-07-26T11.44.35 Shinjuku - Skyline -- specialP publicvoit - scaled width 750.jpg
--------------------------------------------------------------------------------
/testdata/end_to_end_test/comparison/2014/01/30/full-syntax-test/2019-07-29T19.57.10 This is my Life -- sign specialL cliparts publicvoit - scaled width 350.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/novoid/lazyblorg/d95e1cf260be24edaf75fdc767c254c84087856b/testdata/end_to_end_test/comparison/2014/01/30/full-syntax-test/2019-07-29T19.57.10 This is my Life -- sign specialL cliparts publicvoit - scaled width 350.jpg
--------------------------------------------------------------------------------
/testdata/end_to_end_test/comparison/2014/01/30/full-syntax-test/2019-07-29T19.57.10 This is my Life -- sign specialL cliparts publicvoit.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/novoid/lazyblorg/d95e1cf260be24edaf75fdc767c254c84087856b/testdata/end_to_end_test/comparison/2014/01/30/full-syntax-test/2019-07-29T19.57.10 This is my Life -- sign specialL cliparts publicvoit.jpg
--------------------------------------------------------------------------------
/testdata/end_to_end_test/comparison/2016/09/18/from-nothing-to-done/source.org.txt:
--------------------------------------------------------------------------------
1 | ** DONE from nothing to DONE :blog:testtag1:
2 | CLOSED: [2016-09-18 Sun 13:19]
3 | :PROPERTIES:
4 | :ID: 2016-09-18-from-nothing-to-done
5 | :CREATED: [2016-09-18 Sun 13:19]
6 | :END:
7 | :LOGBOOK:
8 | - State "DONE" from [2016-09-18 Sun 13:19]
9 | :END:
10 |
11 |
--------------------------------------------------------------------------------
/testdata/end_to_end_test/comparison/2016/10/31/an-hidden-blog-entry/source.org.txt:
--------------------------------------------------------------------------------
1 | CLOSED: [2016-10-31 Mon 16:41]
2 | :PROPERTIES:
3 | :ID: 2016-10-31-an-hidden-blog-entry
4 | :CREATED: [2016-10-31 Mon 16:40]
5 | :END:
6 | :LOGBOOK:
7 | - State "DONE" from "NEXT" [2016-10-31 Mon 16:41]
8 | :END:
9 |
10 | [[id:2016-10-31-my-temporal-article][Link to temporal article]]
11 |
12 | Lorem ipsum dolor sit amet, malorum scaevola ut ius, ridens admodum adipisci eam ad. Eu quo ignota appareat, an primis expetendis eum, atqui labitur ceteros quo ad. Id zril partiendo cotidieque nam, nemore legimus has ad. Nec cu regione sensibus volutpat.
13 |
14 | Novum possit temporibus his in. Eam ut scripserit reformidans conclusionemque. Odio disputando ei his, ei est mutat mediocritatem. Harum verterem ex mea, sed saepe viderer scribentur ex. Pri te dictas eligendi praesent.
15 |
16 |
--------------------------------------------------------------------------------
/testdata/end_to_end_test/comparison/2016/10/31/my-temporal-article/source.org.txt:
--------------------------------------------------------------------------------
1 | CLOSED: [2016-10-31 Mon 16:40]
2 | :PROPERTIES:
3 | :ID: 2016-10-31-my-temporal-article
4 | :CREATED: [2016-10-31 Mon 16:39]
5 | :END:
6 | :LOGBOOK:
7 | - State "DONE" from "NEXT" [2016-10-31 Mon 16:40]
8 | :END:
9 |
10 | [[id:2016-10-31-an-hidden-blog-entry][Link to a hidden entry]]
11 |
12 | [[id:2016-10-31-persistent-entry][Link to persistent article]]
13 |
14 | [[id:2016-10-31-a-tag-page][Link to tag page]]
15 |
16 | Lorem ipsum dolor sit amet, malorum scaevola ut ius, ridens admodum adipisci eam ad. Eu quo ignota appareat, an primis expetendis eum, atqui labitur ceteros quo ad. Id zril partiendo cotidieque nam, nemore legimus has ad. Nec cu regione sensibus volutpat.
17 |
18 | Novum possit temporibus his in. Eam ut scripserit reformidans conclusionemque. Odio disputando ei his, ei est mutat mediocritatem. Harum verterem ex mea, sed saepe viderer scribentur ex. Pri te dictas eligendi praesent.
19 |
20 |
--------------------------------------------------------------------------------
/testdata/end_to_end_test/comparison/2016/11/06/sanitization-examples/source.org.txt:
--------------------------------------------------------------------------------
1 | CLOSED: [2016-11-06 Sun 17:40]
2 | :PROPERTIES:
3 | :ID: 2016-11-06-sanitization-examples
4 | :CREATED: [2016-11-06 Sun 17:38]
5 | :END:
6 | :LOGBOOK:
7 | - State "DONE" from "NEXT" [2016-11-06 Sun 17:40]
8 | :END:
9 |
10 | #+BEGIN_EXAMPLE
11 | This ought to be escaped & >printed< well.
12 | #+END_EXAMPLE
13 |
14 | -----------------
15 |
16 | [[https://github.com/novoid/lazyblorg/issues/6][Issue number 19]] deals with sanitizing of < and > within blocks.
17 |
18 | #+BEGIN_EXAMPLE
19 | This is example block.
20 | #+END_EXAMPLE
21 |
22 | #+BEGIN_SRC sh
23 | Maybe is not sanitized?
24 | #+END_SRC
25 |
26 | #+BEGIN_VERSE
27 | Maybe is not sanitized?
28 | #+END_VERSE
29 |
30 | #+BEGIN_QUOTE
31 | Maybe is not sanitized?
32 | #+END_QUOTE
33 |
34 | #+BEGIN_CENTER
35 | Maybe is not sanitized?
36 | #+END_CENTER
37 |
38 | #+BEGIN_EXPORT html
39 | Maybe should not be sanitized?
40 | #+END_EXPORT
41 |
42 | -----------------
43 |
44 | - Entry ending with a list which causes [[https://github.com/novoid/lazyblorg/issues/4][issue number 4]]
45 | - Another list item
46 |
47 | -----------
48 |
49 | 1. Using an enumerated list
50 | 2. Ending this article ~that~ way!
51 |
52 |
--------------------------------------------------------------------------------
/testdata/end_to_end_test/comparison/2016/11/16/empty-language-autotag-page/source.org.txt:
--------------------------------------------------------------------------------
1 | CLOSED: [2016-11-16 Wed 21:39]
2 | :PROPERTIES:
3 | :ID: empty-language-autotag-page
4 | :CREATED: [2016-11-16 Wed 21:33]
5 | :END:
6 | :LOGBOOK:
7 | - State "DONE" from "NEXT" [2016-11-16 Wed 21:39]
8 | :END:
9 |
10 | ** English
11 |
12 | This is a placeholder blog article which is used for autotag pages.
13 |
14 | As long as lazyblorg does not support tag pages for autotags, every
15 | autotag links to here.
16 |
17 | Autotags are tags like 'language:english' or 'size:small' and so on.
18 |
19 | ** Deutsch
20 |
21 | Das ist eine Platzhalterseite, die als Sprungziel verwendet wird, bis
22 | lazyblorg auch tag pages für autotags unterstützt.
23 |
24 | Autotags sind tags wie beispielsweise 'language:english' oder
25 | 'size:small' und so weiter.
26 |
27 |
--------------------------------------------------------------------------------
/testdata/end_to_end_test/comparison/2016/11/27/image-test/2017-03-11T18.29.21 Sterne im Baum -- mytag publicvoit - scaled width 300.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/novoid/lazyblorg/d95e1cf260be24edaf75fdc767c254c84087856b/testdata/end_to_end_test/comparison/2016/11/27/image-test/2017-03-11T18.29.21 Sterne im Baum -- mytag publicvoit - scaled width 300.jpg
--------------------------------------------------------------------------------
/testdata/end_to_end_test/comparison/2016/11/27/image-test/2017-03-11T18.29.21 Sterne im Baum -- mytag publicvoit - scaled width 560.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/novoid/lazyblorg/d95e1cf260be24edaf75fdc767c254c84087856b/testdata/end_to_end_test/comparison/2016/11/27/image-test/2017-03-11T18.29.21 Sterne im Baum -- mytag publicvoit - scaled width 560.jpg
--------------------------------------------------------------------------------
/testdata/end_to_end_test/comparison/2016/11/27/image-test/2017-03-11T18.29.21 Sterne im Baum -- mytag publicvoit.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/novoid/lazyblorg/d95e1cf260be24edaf75fdc767c254c84087856b/testdata/end_to_end_test/comparison/2016/11/27/image-test/2017-03-11T18.29.21 Sterne im Baum -- mytag publicvoit.jpg
--------------------------------------------------------------------------------
/testdata/end_to_end_test/comparison/2016/11/27/image-test/source.org.txt:
--------------------------------------------------------------------------------
1 | CLOSED: [2016-11-27 Sun 15:01]
2 | :PROPERTIES:
3 | :ID: 2016-11-27-image-test
4 | :CREATED: [2016-11-27 Sun 15:00]
5 | :END:
6 | :LOGBOOK:
7 | - State "DONE" from "NEXT" [2016-11-27 Sun 15:01]
8 | :END:
9 |
10 | With caption, alt, centered and 560px width:
11 |
12 | #+CAPTION: This is my caption
13 | #+ATTR_HTML: :alt This is my alt text
14 | #+ATTR_HTML: :align center :width 560
15 | [[tsfile:2017-03-11T18.29.21%20Sterne%20im%20Baum%20--%20mytag%20publicvoit.jpg][2017-03-11T18.29.21 Sterne im Baum -- mytag publicvoit.jpg]]
16 |
17 | Without caption, alt, centered and 560px width:
18 |
19 | #+ATTR_HTML: :alt This is my alt text
20 | #+ATTR_HTML: :align center :width 560
21 | [[tsfile:2017-03-11T18.29.21%20Sterne%20im%20Baum%20--%20mytag%20publicvoit.jpg][2017-03-11T18.29.21 Sterne im Baum -- mytag publicvoit.jpg]]
22 |
23 | With caption, without alt, left aligned and 300px width:
24 |
25 | #+CAPTION: This is my caption
26 | #+ATTR_HTML: :align left :width 300
27 | [[tsfile:2017-03-11T18.29.21%20Sterne%20im%20Baum%20--%20mytag%20publicvoit.jpg][2017-03-11T18.29.21 Sterne im Baum -- mytag publicvoit.jpg]]
28 |
29 | With caption, alt, right alined and 300px width:
30 |
31 | #+CAPTION: This is my caption
32 | #+ATTR_HTML: :alt This is my alt text
33 | #+ATTR_HTML: :align right :width 300
34 | [[tsfile:2017-03-11T18.29.21%20Sterne%20im%20Baum%20--%20mytag%20publicvoit.jpg][2017-03-11T18.29.21 Sterne im Baum -- mytag publicvoit.jpg]]
35 |
36 | Without caption, without alt, centered and 300px width and
37 | linked-image-width set to "none":
38 |
39 | #+ATTR_HTML: :align center :width 560 :linked-image-width none
40 | [[tsfile:2017-03-11T18.29.21%20Sterne%20im%20Baum%20--%20mytag%20publicvoit.jpg][2017-03-11T18.29.21 Sterne im Baum -- mytag publicvoit.jpg]]
41 |
42 | Just the image without ATTR lines or caption:
43 |
44 | [[tsfile:2017-03-11T18.29.21%20Sterne%20im%20Baum%20--%20mytag%20publicvoit.jpg][2017-03-11T18.29.21 Sterne im Baum -- mytag publicvoit.jpg]]
45 |
46 | --------------------------
47 |
48 | Linking a differently sized image:
49 |
50 | With caption, alt, right alined and 300px width, linked-image-width
51 | 560:
52 |
53 | #+CAPTION: This is my caption
54 | #+ATTR_HTML: :alt This is my alt text
55 | #+ATTR_HTML: :align right :width 300 :linked-image-width 560
56 | [[tsfile:2017-03-11T18.29.21%20Sterne%20im%20Baum%20--%20mytag%20publicvoit.jpg][2017-03-11T18.29.21 Sterne im Baum -- mytag publicvoit.jpg]]
57 |
58 | With caption, alt, right alined and 300px width, linked-image-width
59 | "original":
60 |
61 | #+CAPTION: This is my caption
62 | #+ATTR_HTML: :alt This is my alt text
63 | #+ATTR_HTML: :align right :width 300 :linked-image-width 560
64 | [[tsfile:2017-03-11T18.29.21%20Sterne%20im%20Baum%20--%20mytag%20publicvoit.jpg][2017-03-11T18.29.21 Sterne im Baum -- mytag publicvoit.jpg]]
65 |
66 | FIXXME: not tested so far:
67 | - :width and :linked-image-width with same integers
68 | - :width is original and :linked-image-width is original
69 | - float number for :width or :linked-image-width
70 | - zero or negative integers for :width or :linked-image-width
71 |
72 |
--------------------------------------------------------------------------------
/testdata/end_to_end_test/comparison/2016/11/27/special-characters/source.org.txt:
--------------------------------------------------------------------------------
1 | CLOSED: [2016-11-27 Sun 15:00]
2 | :PROPERTIES:
3 | :ID: 2016-11-27-special-characters
4 | :CREATED: [2016-11-27 Sun 14:58]
5 | :END:
6 | :LOGBOOK:
7 | - State "DONE" from "NEXT" [2016-11-27 Sun 15:00]
8 | :END:
9 |
10 | This is a «test» with some Umlauts and special characters: ö߀x²y³¼½¾.
11 |
12 | Being curious how this is going to work out.
13 |
14 |
--------------------------------------------------------------------------------
/testdata/end_to_end_test/comparison/2017/01/08/sanitizing-tests/source.org.txt:
--------------------------------------------------------------------------------
1 | ** DONE Sanitizing Elements :blog:lazyblorg:
2 | CLOSED: [2017-01-08 Sun 10:58]
3 | :PROPERTIES:
4 | :ID: 2017-01-08-sanitizing-tests
5 | :CREATED: [2017-01-08 Sun 10:55]
6 | :END:
7 | :LOGBOOK:
8 | - State "DONE" from "NEXT" [2017-01-08 Sun 10:58]
9 | :END:
10 |
11 | #+BEGIN_SRC elisp
12 | ;;some text
13 | (defun my-org-region-to-property (&optional property)
14 | "Copies the region as value to an Org-mode property"
15 | (interactive)
16 | ;; if no region is defined, do nothing
17 | (message "foobar")
18 | )
19 | #+END_SRC
20 |
21 | A simple code block:
22 |
23 | : \** Cabaret `(my-capture-prompt "date of event" 'my-event-date)`: `(my-capture-prompt "artist" 'my-artist)`
24 | : SCHEDULED: <`(my-capture-prompt "date 1st email" 'my-email-date)`>
25 |
26 | A comment with a non-existent ID:
27 |
28 | : :PROPERTIES:
29 | : :ID: this-is-not-an-existent-id
30 | : :END:
31 |
32 | An example with a non-existent ID:
33 |
34 | #+BEGIN_EXAMPLE
35 | :PROPERTIES:
36 | :ID: this-is-not-an-existent-id
37 | :END:
38 |
39 | - [[id:2021-01-23-this-does-not-exist1][This does not exist 1]]
40 | #+END_EXAMPLE
41 |
42 | Example link that exists: [[id:2020-10-02-Heading-which-starts-with-a-list][existing link]]
43 |
44 | Example comment with non-existent ID and link:
45 |
46 | : *** Example heading
47 | : :PROPERTIES:
48 | : :ID: 2021-01-23-example-heading
49 | : :END:
50 | :
51 | : - Also: [[id:2021-01-23-this-does-not-exist2][this does not exist 2]]
52 |
53 | Test case for two ampersants in an URL, causing an issue in the feed: [[https://duckduckgo.com/?t=ffab&q=searchterm&ia=web][link description]]
54 |
55 |
--------------------------------------------------------------------------------
/testdata/end_to_end_test/comparison/2017/09/30/link-test/source.org.txt:
--------------------------------------------------------------------------------
1 | CLOSED: [2017-09-30 Sat 17:05]
2 | :PROPERTIES:
3 | :CREATED: [2017-09-30 Sat 17:05]
4 | :ID: 2017-09-30-link-test
5 | :END:
6 | :LOGBOOK:
7 | - State "DONE" from [2017-09-30 Sat 17:05]
8 | :END:
9 |
10 | This is a test article which tests its links to other (internal) blog entries.
11 |
12 | - This should work [[id:2016-10-31-persistent-entry][in lists]] as [[id:2016-11-27-special-characters][well]].
13 | - This should work [[id:2016-10-31-persistent-entry]] and [[id:2016-11-27-special-characters]].
14 |
15 | | also in | a [[id:2016-11-27-special-characters][table]] | with [[id:2016-11-27-special-characters][multiple cells containing links]] |
16 | | also | [[id:2016-11-27-special-characters]] | and [[id:2016-11-27-special-characters]] |
17 |
18 | #+BEGIN_QUOTE
19 | Here [[id:2016-10-31-a-tag-page][in a quote]] block.
20 | #+END_QUOTE
21 |
22 | Here is [[id:2017-09-30-link-test][a self-reference]] which should not result in a backlink to itself.
23 |
24 | *** Even [[id:2016-10-31-my-temporal-article][a heading should]] work
25 | :PROPERTIES:
26 | :END:
27 |
28 | What about [[id:2016-10-31-an-hidden-blog-entry][a hidden entry]]?
29 |
30 | *** Some test to get the reading time to exceed one minute
31 | :PROPERTIES:
32 | :END:
33 |
34 | The [[https://github.com/novoid/lazyblorg/issues/47][reading time estimation feature]] is a very nice touch for the
35 | reader in order to get a rough figure how many minutes it takes to
36 | read an article.
37 |
38 | This way, she is able to determine if it is worth the time or not.
39 | Having such an indicator is almost standard in nowaday's web culture.
40 |
41 | My assumption is, that the reader is able to read a certain amount of
42 | words per minute. The initial value was chosen with 250. So maybe this
43 | is not adequate - let's see. Furthermore, I had to derive a heuristic
44 | algorithm to filter out non-word noise of the original Org mode source
45 | file. Those filtered things might contain real word (false positives)
46 | and the rest could contain non-words (false negatives). On average,
47 | this should not be a big issue. At least, this is a better
48 | approximation than counting all characters and assuming an average
49 | word consisting of five characters as I've seen in another algorithm.
50 | First, I would have had issues with filtering non-word content.
51 | Secondly, different languages do have different average sizes of
52 | words. So let's hope this is a valueable contribution to lazyblorg.
53 |
54 | ------------
55 |
56 | In order to get the reading length high, here is some further dummy
57 | text as well:
58 |
59 | Aliquam erat volutpat. Nunc eleifend leo vitae magna. In id erat non
60 | orci commodo lobortis. Proin neque massa, cursus ut, gravida ut,
61 | lobortis eget, lacus. Sed diam. Praesent fermentum tempor tellus.
62 | Nullam tempus. Mauris ac felis vel velit tristique imperdiet. Donec at
63 | pede. Etiam vel neque nec dui dignissim bibendum. Vivamus id enim.
64 | Phasellus neque orci, porta a, aliquet quis, semper a, massa.
65 | Phasellus purus. Pellentesque tristique imperdiet tortor. Nam euismod
66 | tellus id erat.
67 |
68 | Aliquam erat volutpat. Nunc eleifend leo vitae magna. In id erat non
69 | orci commodo lobortis. Proin neque massa, cursus ut, gravida ut,
70 | lobortis eget, lacus. Sed diam. Praesent fermentum tempor tellus.
71 | Nullam tempus. Mauris ac felis vel velit tristique imperdiet. Donec at
72 | pede. Etiam vel neque nec dui dignissim bibendum. Vivamus id enim.
73 | Phasellus neque orci, porta a, aliquet quis, semper a, massa.
74 | Phasellus purus. Pellentesque tristique imperdiet tortor. Nam euismod
75 | tellus id erat.
76 |
77 | Aliquam erat volutpat. Nunc eleifend leo vitae magna. In id erat non
78 | orci commodo lobortis. Proin neque massa, cursus ut, gravida ut,
79 | lobortis eget, lacus. Sed diam. Praesent fermentum tempor tellus.
80 | Nullam tempus. Mauris ac felis vel velit tristique imperdiet. Donec at
81 | pede. Etiam vel neque nec dui dignissim bibendum. Vivamus id enim.
82 | Phasellus neque orci, porta a, aliquet quis, semper a, massa.
83 | Phasellus purus. Pellentesque tristique imperdiet tortor. Nam euismod
84 | tellus id erat.
85 |
86 | *** An almost empty heading at the end
87 | :PROPERTIES:
88 | :END:
89 |
90 | This is to test the reading length estimation algorithm with a
91 | property drawer at the end.
92 |
93 |
--------------------------------------------------------------------------------
/testdata/end_to_end_test/comparison/2020/10/02/Heading-which-starts-with-a-list/source.org.txt:
--------------------------------------------------------------------------------
1 | ** DONE Heading which starts with a list :blog:
2 | CLOSED: [2020-10-02 Fri 19:03]
3 | :PROPERTIES:
4 | :CREATED: [2020-10-02 Fri 19:02]
5 | :ID: 2020-10-02-Heading-which-starts-with-a-list
6 | :END:
7 | :LOGBOOK:
8 | - State "DONE" from [2020-10-02 Fri 19:03]
9 | :END:
10 |
11 | - this is a list with some text
12 | - another item in the list
13 |
14 |
--------------------------------------------------------------------------------
/testdata/end_to_end_test/comparison/2021/01/30/drawer-tests/source.org.txt:
--------------------------------------------------------------------------------
1 | CLOSED: [2021-01-30 Sat 23:32]
2 | :PROPERTIES:
3 | :ID: 2021-01-30-drawer-tests
4 | :CREATED: [2021-01-30 Sat 23:26]
5 | :END:
6 | :LOGBOOK:
7 | - State "DONE" from "NEXT" [2021-01-30 Sat 23:32]
8 | :END:
9 |
10 | ** RELATED drawer
11 | :PROPERTIES:
12 | :END:
13 |
14 | This is just a dummy text.
15 |
16 | # not working: link to [[id:2021-01-30-LINKS-drawer][LINKS drawer]]
17 |
18 | ** LINKS drawer
19 | :PROPERTIES:
20 | :END:
21 |
22 | Another dummy text.
23 |
24 |
--------------------------------------------------------------------------------
/testdata/end_to_end_test/comparison/about/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
10 |
11 |
13 |
15 |
17 |
18 |
19 |
20 | Placeholder: About
21 |
22 |
23 |
24 |
25 |
87 |
88 | Lorem ipsum dolor sit amet, malorum scaevola ut ius, ridens admodum adipisci eam ad. Eu quo ignota appareat, an primis expetendis eum, atqui labitur ceteros quo ad. Id zril partiendo cotidieque nam, nemore legimus has ad. Nec cu regione sensibus volutpat.
89 |
90 |
91 |
92 |
93 |
94 | Novum possit temporibus his in. Eam ut scripserit reformidans conclusionemque. Odio disputando ei his, ei est mutat mediocritatem. Harum verterem ex mea, sed saepe viderer scribentur ex. Pri te dictas eligendi praesent.
95 |
96 |
87 |
88 | Tag cloud of all tags except «hardware» and «software» which are my most general tags.
89 | The bigger the tag, the more articles are tagged with it.
90 |
91 |
92 |