Commit graph

4 commits

Author SHA1 Message Date
939a7f94ba Pass-off cleaning up of text to separate function
* avandu.el (avandu-entity-replacement-alist): An alist that keeps
  track which titled entities should be replaced by which character.

  (avandu-clean-text): New function.

  (avandu--insert-article-excerpt): Don't run endless chains of
  `replace-regexp-in-string', leave (almost) all cleanup to
  `avandu-clean-text'.  Don't print an excerpt if it is empty.
2012-07-27 01:44:14 +02:00
529c17e7c1 Add excerpt to articles
* avandu.el (avandu-overview-excerpt): New face.

  (avandu--insert-feed-title): Replace `newline' with `insert-char' to
  prevent newlines from continuing indentation.

  (avandu--insert-article-title): Replace `newline' with
  `insert-char'.

  (avandu--insert-article-excerpt): New function.

  (avandu-list): Ask tt-rss to send along an excerpt of each article
  and print this excerpt after the article's title.
2012-07-26 00:49:18 +02:00
a0882bf8da Add/improve docstrings 2012-07-26 00:43:30 +02:00
810732f559 Initial commit 2012-07-25 01:49:02 +02:00