aboutsummaryrefslogtreecommitdiff
path: root/TODOs.org
blob: ae2d7f9424f6cc1de3f616f76619740122ffd280 (plain) (blame)
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
27
28
29
30
31
32
33
34
35
#+STARTUP:    align fold hidestars oddeven indent 
#+SEQ_TODO:   TODO(t) INPROGRESS(i) | DONE(d) CANCELED(c)
* why not using hn api
hn api will invole a lot of rest requests which would not be fast for emacs
also the data layout is already available at hn webiste, one curl call and 
then parse them to org would be faster
* parse front page
now what 
* parse comments
          <table border="0" class='comment-tree'>
            <tr class='athing comtr ' id='20724657'>
comment are same level in regard to html node 
but child comments have different ident block width

top level comment
                    <td class='ind'><img src="s.gif" height="1" width="0"></td>
child 

                    <td class='ind'><img src="s.gif" height="1" width="40"></td>
* TODO show number of child comments
https://emacs.stackexchange.com/questions/10245/counting-sub-headings-in-org-mode-using-elisp
or recursive on dom will be just fine
* DONE run eslip on org link

#+begin_example org-mode
[[elisp:(find-function 'describe-function)]]
#+end_example

[[elisp:(hnreader-comment 20724363)][read]

      ;; (setq-local org-confirm-elisp-link-function nil)
      
* DONE comment page show main link and intro text
* TODO display page takes page number
* TODO reload page