0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Newsboatの使い方(続)

Posted at

はじめに

前回 2年以上前に書きました。
現在のバージョンではsnapでインストールでますが、どういうわけかブラウザが開きません。
ソースからインストールしました。

のsource tarball (signature)のリンクからダウンロードしてください。

依存関係

以下が一覧です。synapticを開いて閉じてなんとか終わらせました。
Makeでどこがないかをおしえてくれます。
Rustはいつも新しいインストールしてください。

  • GNU Make 4.0 or newer
  • C++ compiler that accepts -std=c++17 option:
  • GCC 5.0 or newer
  • Clang 5 or newer
  • libicu 76 or newer
  • libicu headers via
  • libxml2.
  • Rust and Cargo (Rust’s package manager)
  • STFL (version 0.21 or newer) (the link points to our own fork because the upstream is dead)
  • SQLite3 (version 3.5 or newer)
  • libcurl (version 7.32.0 or newer)
  • GNU gettext
  • pkg-config
  • json-c (version 0.11 or newer)
  • Asciidoctor (1.5.3 or newer)
  • GNU AWK or NAWK.

設定ファイル

ないときもあります。

  • ファイル構成
~/.newsboat
    urls
    config

urlsサンプル

  • https://~ TAG1 TAG2 "TA G3"
    RSSリンクにTAGをつける。スペースあるとき””でかこむ。
https://b.hatena.ne.jp/hotentry.rss news "はてな"
https://news.livedoor.com/topics/rss/top.xml news
http://kaigainohannoublog.blog55.fc2.com/?xml
http://blog.livedoor.jp/zzcj/index.rdf
https://news.yahoo.co.jp/rss/topics/science.xm news "Yahoo"
https://news.yahoo.co.jp/rss/topics/business.xml news "Yahoo"
https://news.yahoo.co.jp/rss/topics/domestic.xml news "Yahoo"
https://news.yahoo.co.jp/rss/topics/world.xml news "Yahoo"
https://rss.allabout.co.jp/aa/latest/ch/relationship/
http://www.asahi.com/rss/asahi/newsheadlines.rdf news
# https://rss.allabout.co.jp/aa/ranking/
# https://www.lifehacker.jp/feed/index.xml
# https://rss.app/feeds/X1U0V77wsc9hDaJK.xml x "小野寺まさる"
# https://rss.app/feeds/hUDlVPgtZbjKYFzN.xml x "百田尚樹"
# https://rss.app/feeds/uFTnOA3i94pDMSKY.xml x "有本 香"
https://www.nhk.or.jp/rss/news/cat0.xml
https://www.nhk.or.jp/rss/news/cat1.xml
https://www.nhk.or.jp/rss/news/cat2.xml
https://www.nhk.or.jp/rss/news/cat3.xml
https://www.nhk.or.jp/rss/news/cat4.xml
https://www.nhk.or.jp/rss/news/cat5.xml
https://www.nhk.or.jp/rss/news/cat6.xml
https://www.nhk.or.jp/rss/news/cat7.xml
https://number.bunshun.jp/list/rsssports
https://gigazine.net/news/rss_2.0/
https://dailyportalz.jp/feed/headline
# http://netafull.net/index.rdf
https://agora-web.jp/feed
https://rocketnews24.com/feed/
https://www.gizmodo.jp/index.xml
https://hamusoku.com/index.rdf
http://labaq.com/index.rdf
https://eiga.com/
https://sirabee.com/feed/

configサンプル

カラースキームは以下にある。
~/Downloads/newsboat-2.38/contrib/colorschemes
マニュアル以下にある。
https://newsboat.org/releases/2.39/docs/newsboat.html#_configuration

# browser "w3m %u"
# browser firefox %u
# browser "newsboat-browser.sh"
browser "firefox %u"

auto-reload yes

bind-key l open
bind-key k prev
bind-key j next

show-read-feeds no

# inkpotish color scheme for newsbeuter <http://www.newsbeuter.org/>
# more on inkpot: http://www.vim.org/scripts/script.php?script_id=1143

# colors
color background          color229   default
color listnormal          color229   default
color listnormal_unread   color229   default
color listfocus           color229   color61 bold
color listfocus_unread    color229   color61 bold
color info                color247   color235
color article             color229   default

# highlights
highlight article "^(Feed|Link):.*$" color46 default bold
highlight article "^(Title|Date|Author):.*$" color39 default bold
highlight article "https?://[^ ]+" color46 default underline
highlight article "\\[[0-9]+\\]" color63 default bold
highlight article "\\[image\\ [0-9]+\\]" color63 default bold
highlight feedlist "^─.*$" color61 color235 bold

参考リンク

ー以上ー

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?