1 \input texinfo @c -*-texinfo-*-
2 @comment %**start of header
3 @setfilename ../../info/newsticker.info
5 @set VERSION @value{EMACSVER}
6 @settitle Newsticker @value{VERSION}
10 @documentencoding UTF-8
11 @comment %**end of header
14 This manual documents Newsticker, a feed reader for Emacs. It
15 corresponds to Emacs version @value{EMACSVER}.
18 Copyright @copyright{} 2004--2014 Free Software Foundation, Inc.
21 Permission is granted to copy, distribute and/or modify this document
22 under the terms of the GNU Free Documentation License, Version 1.3 or
23 any later version published by the Free Software Foundation; with no
24 Invariant Sections, with the Front-Cover Texts being ``A GNU Manual'',
25 and with the Back-Cover Texts as in (a) below. A copy of the license
26 is included in the section entitled ``GNU Free Documentation License''.
28 (a) The FSF's Back-Cover Text is: ``You have the freedom to copy and
29 modify this GNU manual.''
33 @dircategory Emacs network features
35 * Newsticker: (newsticker). A feed reader for Emacs.
39 @title Newsticker---a feed reader for Emacs
41 @author @email{ulf.jasper@@web.de}
42 @author @uref{http://ulf.epplejasper.de/}
44 @vskip 0pt plus 1filll
59 * Overview:: What is Newsticker?
60 * Installation:: Things to do before starting Newsticker the first time.
61 * Retrieving News:: How Newsticker fetches headlines.
62 * Headline Management:: How Newsticker stores headlines.
63 * Reading News:: How to read RSS and Atom feeds with Newsticker.
64 * Automatic Processing:: Automatically process news items.
65 * Configuration:: Customize Newsticker to your liking.
66 * Supported Formats:: RSS and Atom formats supported by Newsticker.
68 * GNU Free Documentation License:: The license for this documentation.
69 * Index:: Variable, function, and concept index.
75 Newsticker provides a @b{Feed Reader} for Emacs. It retrieves
76 headlines from a list of news sites, processes them, and provides
77 frontends for reading and managing them. (Standard headline formats
78 are RSS and Atom which makes Newsticker an ``RSS Reader'', ``Atom
79 Reader'' or ``Feed Aggregator''.)
81 Headlines (or news items) consist of a title, (mostly) a description,
82 and a link to the full story. The description may be a brief summary
83 in plain text or a full HTML-formatted article. A headline may carry
84 enclosed data such as images, audio or video files, typically in the
85 case of so ``podcast feeds''.
87 Newsticker downloads headlines asynchronously at configurable times,
88 processes and stores them so that you can read them later. The list
89 of subscribed feeds, the headline processing, the presentation of the
90 headlines and almost all other aspects of Newsticker can be
91 customized to your liking.
96 As Newsticker is part of GNU Emacs there is no need to perform any
97 installation steps in order to use it.
99 Newsticker is highly customizable. All options have reasonable default
100 values, so that (in most cases) it is not necessary to customize
101 anything before you start Newsticker for the first time.
103 @node Retrieving News
104 @chapter Retrieving News
106 Newsticker downloads news periodically in the background. This is
107 triggered as soon as you start reading news (@ref{Reading News}).
109 @findex newsticker-start
110 @findex newsticker-stop
111 Alternatively you may use the command @code{newsticker-start}
112 (@code{newsticker-stop}) in order to start (stop) the periodic
113 download of news without opening the reader.
115 The following variables define which feeds are fetched and how this is
119 @vindex newsticker-url-list-defaults
120 @item newsticker-url-list-defaults
121 You may select any number of feeds from this list of (sample) news feeds.
123 @vindex newsticker-url-list
124 @item newsticker-url-list
125 All your personal news feeds are defined here. Each feed is
126 identified by its name and an URL. You may set the start-time and the
127 retrieval interval for each feed as well as the retrieval command
128 arguments in case that the default values do not fit a certain feed.
130 @vindex newsticker-retrieval-method
131 @vindex newsticker-wget-name
132 @vindex newsticker-wget-arguments
133 @item newsticker-retrieval-method
134 By default Newsticker uses Emacs's built-in download capabilities for
135 fetching headlines. You may change this to use an external tool like
136 @code{wget}. In this case you need to set @code{newsticker-wget-name}
137 and possibly @code{newsticker-wget-arguments}.
139 @vindex newsticker-retrieval-interval
140 @item newsticker-retrieval-interval
141 The number of seconds between headline retrievals.
144 @node Headline Management
145 @chapter Headline Management
150 Newsticker assigns a status (or ``age'') to each headline which you
151 can modify manually. This makes it easy to distinguish new headlines
152 from old ones, to keep important headlines, to hide boring headlines
153 etc. An item is ``new'' when it has just arrived and has not been
154 read. You can mark it as ``old'' when you have read it or -- if you
155 want to keep it -- you can mark it as ``immortal''. You can do that
156 manually and you can define filters which do that automatically, see
157 below. When a headline has vanished from the feed it is automatically
158 marked as ``obsolete'' unless it has the status ``immortal''.
159 ``Obsolete'' headlines get removed automatically after a certain time.
163 @vindex newsticker-auto-mark-filter-list
164 @item newsticker-auto-mark-filter-list
165 You may define any number of filters for automatically marking newly
166 arrived headlines as ``immortal'' or ``old''. A filter looks for a
167 regular expression in either the title or the description of a
168 headline and then, if the expression matches, marks the headline as
169 ``immortal'' or as ``old''. This is done only once, when a headline
170 is fetched for the very first time.
172 @vindex newsticker-keep-obsolete-items
173 @vindex newsticker-obsolete-item-max-age
174 @item newsticker-keep-obsolete-items
175 Obsolete headlines are removed immediately unless
176 @code{newsticker-keep-obsolete-items} is non-nil in which case they
177 are kept until @code{newsticker-obsolete-item-max-age} is reached.
179 @vindex newsticker-automatically-mark-items-as-old
180 @item newsticker-automatically-mark-items-as-old
181 If this is set to `t' then a ``new'' item becomes ``old'' as soon as
182 it is retrieved a second time.
187 @chapter Reading News
189 @findex newsticker-show-news
190 Start Newsticker with the command @kbd{M-x newsticker-show-news}. This
191 will start the asynchronous news download and displays all available
195 * Frontends:: Select the way headlines are displayed.
196 * Navigation:: Move to the next unread headline etc.
197 * Marking:: Mark important headlines.
198 * More Actions:: Add new feeds etc..
205 @vindex newsticker-frontend
206 Newsticker provides two different @i{views} for browsing, marking and
207 reading news. The variable @code{newsticker-frontend} determines the
208 actual headline reader.
213 In this view separate windows are used for displaying feeds, headlines
214 and their descriptions. The feeds are shown as a tree on the left
215 hand side, headlines of the currently selected feed are shown on the
216 upper right side, and the full contents of the currently selected
217 headline is shown on the lower right side.
219 Feeds can be placed into groups, which themselves can be placed in
220 groups and so on. This results in the tree which is displayed on the
221 left. A node represents either a feed or a group of feeds holding a
222 subtree. The following commands allow for managing groups.
227 @findex newsticker-group-add-group
228 Add a new feed group. Name of the new group and of the parent group
229 must be entered. If The name of the parent group is the new group
230 becomes a top-level group. (@code{newsticker-group-add-group})
233 @findex newsticker-group-move-feed
234 Moves a feed into a group. The name of the group must be
235 entered. (@code{newsticker-group-move-feed})
238 The position of groups and feeds within the tree can be changed with these
246 @findex newsticker-group-shift-feed-up
247 @findex newsticker-group-shift-feed-down
248 Shift the currently selected feed up and down within its group.
253 @findex newsticker-group-shift-group-up
254 @findex newsticker-group-shift-group-down
255 Shift the currently selected group up and down within its parent group.
258 The group settings are saved to a file either automatically when
259 newsticker is being quit or manually when the following command is
265 @findex newsticker-treeview-save
266 Save treeview group settings.
269 The Treeview is updated automatically as soon as new headlines have
272 The Treeview is used when the variable @code{newsticker-frontend} is
273 set to the value @code{newsticker-treeview}. (Alternatively it can be
274 started with the command @code{newsticker-treeview}.)
276 @subheading Plainview
279 In this view all headlines of all feeds are displayed in a single
280 buffer (@file{*newsticker*}). The modeline in the @file{*newsticker*}
281 buffer informs you whenever new headlines have arrived.
283 You may want to use imenu with Plainview, which allows for navigating
284 with the help of a menu. In this case add the following to your Emacs
285 startup file (@file{~/.emacs}).
288 (add-hook 'newsticker-mode-hook 'imenu-add-menubar-index)
291 (Note that preparing the Plainview takes significantly more time than
292 starting the Treeview because all headlines are displayed in a single
293 buffer. When you have subscribed to a large amount of feeds you may
294 find that Newsticker's efforts of minimizing rendering times, caching
295 rendered items and so on you may find However, when you have
296 subscribed to a large amount of feeds you may want to give the
299 The Plainview is used when the variable @code{newsticker-frontend} is
300 set to the value @code{newsticker-plainview}. (Alternatively it can be
301 started with the command @code{newsticker-plainview}.)
306 Additionally, headlines can be displayed in the echo area in the style of a
309 @findex newsticker-start-ticker
310 @findex newsticker-stop-ticker
311 Headlines can be displayed in the echo area, either scrolling like
312 messages in a stock-quote ticker, or just changing. This can be
313 started with the command @code{newsticker-start-ticker}. It can be
314 stopped with @code{newsticker-stop-ticker}.
321 Navigating through the list of feeds and headlines is rather
322 straightforward. You may do this either with the mouse or with the
323 keyboard. The following key bindings are provided in both, the
324 Treeview as well as the Plainview.
328 @findex newsticker-next-feed
329 @findex newsticker-treeview-next-feed
330 Move to next feed (@code{newsticker-next-feed},
331 @code{newsticker-treeview-next-feed}).
333 @findex newsticker-previous-feed
334 @findex newsticker-treeview-prev-feed
335 Move to previous feed (@code{newsticker-previous-feed},
336 @code{newsticker-treeview-prev-feed}).
338 @findex newsticker-next-item
339 @findex newsticker-treeview-next-item
340 Move to next item (@code{newsticker-next-item},
341 @code{newsticker-treeview-next-item}).
343 @findex newsticker-next-new-item
344 @findex newsticker-treeview-next-new-item
345 Move to next new item (possibly in another feed)
346 (@code{newsticker-next-new-item},
347 @code{newsticker-treeview-next-new-item}).
349 @findex newsticker-previous-item
350 @findex newsticker-treeview-prev-item
351 Move to previous item (@code{newsticker-previous-item},
352 @code{newsticker-treeview-prev-item}).
354 @findex newsticker-previous-new-item
355 @findex newsticker-treeview-prev-new-item
356 Move to previous new item (possibly in another feed)
357 (@code{newsticker-previous-new-item},
358 @code{newsticker-treeview-prev-new-item}).
364 @findex newsticker-treeview-jump
365 Enter the name of a feed and jump to it
366 (@code{newsticker-treeview-jump}).
374 The following key bindings are provided in both, the Treeview as well
379 @findex newsticker-mark-item-at-point-as-read
380 @findex newsticker-treeview-mark-item-old
381 Mark current item as old.
382 (@code{newsticker-mark-item-at-point-as-read},
383 @code{newsticker-treeview-mark-item-old}).
385 @findex newsticker-mark-item-at-point-as-immortal
386 @findex newsticker-treeview-mark-item-immortal
387 Mark current item as immortal. Immortal items are kept forever.
388 (@code{newsticker-mark-item-at-point-as-immortal},
389 @code{newsticker-treeview-mark-item-immortal}).
393 @section More Actions
396 @subheading View full article
402 @findex newsticker-treeview-browse-url
403 Open the link to the full article (as contained in the current
404 headline) in your web browser @code{newsticker-treeview-browse-url}).
410 You can force immediate download of news with the following commands.
414 @findex newsticker-treeview-get-news
415 Get news for currently shown feed (@code{newsticker-treeview-get-news}).
417 @findex newsticker-get-all-news
418 Get news for all feeds (@code{newsticker-get-all-news}).
421 @subheading Add More Feeds
422 @cindex Add More Feeds
426 @findex newsticker-add-url
427 The command @code{newsticker-add-url} prompts for an URL and a name of
428 a new feed. It then prepares a customization buffer where the details
429 of the new feed can be set.
433 @node Automatic Processing
434 @chapter Automatic Processing
435 @cindex Automatic Processing
437 Apart from automatic marking of headlines (by means of filters)
438 Newsticker provides the possibility to fully process newly arrived
439 headlines. Instead of reading headlines yourself you can tell
440 Newsticker to do that for you.
442 @vindex newsticker-new-item-functions
443 In order to do so write a function which takes three arguments
447 the name of the corresponding news feed,
449 the title of the headline,
451 the decoded description of the headline.
454 and add it to @code{newsticker-new-item-functions}. Each function
455 contained in this list is called once for each new headline.
456 Depending on the feed, the title and the description of a headline you
461 automatically download images referenced in HTML-formatted
462 descriptions (for which a function already exists, see
463 @code{newsticker-download-images}),
465 automatically save enclosed audio and video files (for which another
466 function exists as well, see @code{newsticker-download-images}),
468 flash the screen while playing some sound,
474 @chapter Configuration
476 All Newsticker options are customizable, i.e., they can be changed with
477 Emacs customization methods. Call the command
478 @code{customize-group} and enter @samp{newsticker} for the customization
482 The following list shows the available groups of Newsticker options
483 and some of the most important options.
488 @code{newsticker-retrieval} contains options that define which news
489 feeds are retrieved and how this is done.
493 @vindex newsticker-url-list
494 @code{newsticker-url-list} defines the list of headlines that are
497 @vindex newsticker-retrieval-method
498 @code{newsticker-retrieval-method} defines how headlines are
499 retrieved. This is either done using Emacs's built-in download
500 capabilities or using an external tool.
502 @vindex newsticker-retrieval-interval
503 @code{newsticker-retrieval-interval} defines how often headlines
508 @code{newsticker-headline-processing} contains options that define
509 how the retrieved headlines are processed.
513 @vindex newsticker-keep-obsolete-items
514 @code{newsticker-keep-obsolete-items} decides whether unread
515 headlines that have been removed from the feed are kept in the
518 @vindex newsticker-auto-mark-filter-list
519 @code{newsticker-auto-mark-filter-list} provides the possibility to
520 automatically mark headlines as immortal or old.
524 @code{newsticker-hooks} contains options for hooking other Emacs
525 commands to newsticker functions.
528 @vindex newsticker-new-item-functions
529 @code{newsticker-new-item-functions} allows for automatic
530 processing of headlines. See @code{newsticker-download-images}, and
531 @code{newsticker-download-enclosures} for sample functions.
533 @vindex newsticker-plainview-hooks
534 The subgroup @code{newsticker-plainview-hooks} contains hooks that
535 apply to the plainview reader only.
539 @code{newsticker-miscellaneous} contains other Newsticker options.
542 @code{newsticker-ticker} contains options that define how headlines
543 are shown in the echo area, i.e., the ``ticker''.
547 @vindex newsticker-display-interval
548 @vindex newsticker-scroll-smoothly
549 @code{newsticker-ticker-interval} and
550 @code{newsticker-scroll-smoothly} define how headlines are shown in
556 @code{newsticker-reader} contains options for adjusting the headline reader.
560 @vindex newsticker-frontend
561 @code{newsticker-frontend} determines the actual headline reader. The
562 ``plainview'' reader uses a single buffer, the ``treeview'' uses
563 separate buffers and windows.
568 @vindex newsticker-plainview
569 The subgroup @code{newsticker-plainview} contains options for the
572 @vindex newsticker-treeview
573 The subgroup @code{newsticker-treeview} contains options for the
580 For the complete list of options please have a look at the
581 customization buffers.
583 @node Supported Formats
584 @appendix Supported Formats
585 @cindex Supported Formats
587 Newsticker works with the standard RSS and Atom formats listed below
588 (being lenient with feeds which break the specifications).
590 @subheading RSS formats
593 @item RSS 0.91 (see @uref{http://backend.userland.com/rss091} or
594 @uref{http://my.netscape.com/publish/formats/rss-spec-0.91.html})
595 @item RSS 0.92 (see @uref{http://backend.userland.com/rss092})
596 @item RSS 1.0 (see @uref{http://purl.org/rss/1.0/spec})
597 @item RSS 2.0 (see @uref{http://blogs.law.harvard.edu/tech/rss})
600 @subheading Atom formats
605 @uref{https://datatracker.ietf.org/doc/rfc4287/})
609 @node GNU Free Documentation License
610 @appendix GNU Free Documentation License
611 @include doclicense.texi