Home
Packages
Forums
Wiki
GitLab
Security
AUR
Download
コンテンツにスキップ
メインメニュー
メインメニュー
サイドバーに移動
非表示
案内
メインページ
目次
コミュニティに貢献
最近の出来事
おまかせ表示
特別ページ
交流
ヘルプ
貢献
最近の更新
最近の議論
新しいページ
統計
リクエスト
ArchWiki
検索
検索
表示
アカウント作成
ログイン
個人用ツール
アカウント作成
ログイン
Newsraftのソースを表示
ページ
議論
日本語
閲覧
ソースを閲覧
履歴を表示
ツール
ツール
サイドバーに移動
非表示
操作
閲覧
ソースを閲覧
履歴を表示
全般
リンク元
関連ページの更新状況
ページ情報
表示
サイドバーに移動
非表示
←
Newsraft
あなたには「このページの編集」を行う権限がありません。理由は以下の通りです:
この操作は、次のグループに属する利用者のみが実行できます:
登録利用者
。
このページのソースの閲覧やコピーができます。
[[Category:ニュースアグリゲータ]] [[Category:コンソールアプリケーション]] [https://codeberg.org/grisha/newsraft Newsraft] is a {{pkg|ncurses}} feed reader inspired by [[Newsboat]] while seeking to be its lightweight alternative. It supports RSS 2.0 and lower, Atom 1.0, RSS Content Module, Media RSS, DublinCore 1.1 Elements, and JSON Feed. == Installation == [[Install]] the {{AUR|newsraft}} package. == Configuration == Configuration of newsraft is optional, used only to change default settings or add functionality. This is accomplished via entries in {{ic|~/.config/newsraft/config}}, including reader and color settings, and key bindings for both built in actions {{ic|bind ''key action''}} and shell commands {{ic|bind ''key'' exec ''command''}}, including options for opening links in designated programs. Multiple commands can be associated with a single binding by separating them with semicolons: {{hc|~/.config/newsraft/config| bind f exec feh "%l" bind ''key action1''; exec ''command1''; ''action2''; exec ''command2'' }} Default key bindings can be disabled if undesired or for repurposing with {{ic|unbind ''key''}}. Finally, like the feeds file, the # symbol designates comment lines and will be ignored by newsraft. === Example configuration === {{hc|~/.config/newsraft/config| # Colors set color-list-item-fg red set color-list-item-unread-fg white # Settings set send-user-agent-header false # Key bindings bind d mark-read unbind D bind m exec mpv "%l" }} A full listing of available actions, settings, and defaults is available in {{man|1|newsraft|url=https://txgk.ru/newsraft.html}}. == Usage == Newsraft needs a feeds file created before it can be launched. The default feed file location and name is {{ic|~/.config/newsraft/feeds}}. Once this is populated with links to feeds, start newsraft with the command: $ newsraft === Managing feeds === The feeds file can contain three types of lines. The first is the feed URL, which can be added with a text editor one feed per line: {{hc|~/.config/newsraft/feeds| <nowiki>https://example.org/feed.xml "Lorem Ipsum Blog"</nowiki> }} Only the URL is strictly necessary. Newsraft will attempt to name the feed based on information provided by the feed. If an alternate name is desired, this can be supplied by adding the title in enclosed double quotes separated from the URL by at least one white space. Section headers are the next type of line, which start with the @ symbol, at least one white space, and then the section name: {{hc|~/.config/newsraft/feeds| @ Section Header }} The final type of entry in the feeds file are comments, which start with the # symbol: {{hc|~/.config/newsraft/feeds| # this line is completely ignored by newsraft }} Both feed URLs and section headers can set auto update frequency, with individual feed frequencies overriding sectional frequencies. The period is specified by a number minutes enclosed by curly brackets: {{hc|~/.config/newsraft/feeds|<nowiki> @ Section Header {120} https://example.org/feed2.xml "Lorem Ipsum Blog" {60} https://example.org/feed3.xml https://example.org/feed4.xml {0} </nowiki>}} Specifying {{ic|{0}<nowiki/>}} will disable automatic updates and global feed updates can be specified by using the {{ic|Global}} section header. In the above example, all feeds under {{ic|Section Header}} are automatically updated every two hours, except feed2, which is updated every hour, and feed4, which is never automatically updated. === Basic default commands === While all of these key bindings can be modified via newsraft's [[#Configuration|config file]], here are the basic default key bindings and their commands: {| class="wikitable" ! Command ! Description |- | {{ic|j - ''select-next''}} | move selection down to next menu item |- | {{ic|k - ''select-prev''}} | move selection up to previous menu item |- | {{ic|l - ''enter''}} | open selected menu item |- | {{ic|h - ''quit''}} | close selected menu item, return to previous menu. If currently in top menu, quit newsraft |- | {{ic|d - ''mark-read; jump-to-next''}} | mark selection read and move to next menu item |- | {{ic|D - ''mark-unread; jump-to-next''}} | mark selection unread and move to next menu item |- | {{ic|^D - ''mark-read-all''}} | mark all menu items read |- | {{ic|o - ''open-in-browser''}} | open selection in browser. If no number precedes 'o', opens first selection |- | {{ic|r - ''reload''}} | manually update selected feed |- | {{ic|^R - ''reload-all''}} | manually update all feeds |}
このページで使用されているテンプレート:
テンプレート:AUR
(
ソースを閲覧
)
テンプレート:Hc
(
ソースを閲覧
)
テンプレート:Ic
(
ソースを閲覧
)
テンプレート:Man
(
ソースを閲覧
)
テンプレート:Pkg
(
ソースを閲覧
)
Newsraft
に戻る。
検索
検索
Newsraftのソースを表示
話題を追加