1 ;;; org-feed.el --- Add RSS feed items to Org files
3 ;; Copyright (C) 2009-2016 Free Software Foundation, Inc.
5 ;; Author: Carsten Dominik <carsten at orgmode dot org>
6 ;; Keywords: outlines, hypermedia, calendar, wp
7 ;; Homepage: http://orgmode.org
9 ;; This file is part of GNU Emacs.
11 ;; GNU Emacs is free software: you can redistribute it and/or modify
12 ;; it under the terms of the GNU General Public License as published by
13 ;; the Free Software Foundation, either version 3 of the License, or
14 ;; (at your option) any later version.
16 ;; GNU Emacs is distributed in the hope that it will be useful,
17 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
18 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 ;; GNU General Public License for more details.
21 ;; You should have received a copy of the GNU General Public License
22 ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
23 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
27 ;; This module allows entries to be created and changed in an Org-mode
28 ;; file triggered by items in an RSS feed. The basic functionality is
29 ;; geared toward simply adding new items found in a feed as outline nodes
30 ;; to an Org file. Using hooks, arbitrary actions can be triggered for
31 ;; new or changed items.
33 ;; Selecting feeds and target locations
34 ;; ------------------------------------
36 ;; This module is configured through a single variable, `org-feed-alist'.
37 ;; Here is an example, using a notes/tasks feed from reQall.com.
39 ;; (setq org-feed-alist
41 ;; "http://www.reqall.com/user/feeds/rss/a1b2c3....."
42 ;; "~/org/feeds.org" "ReQall Entries")
44 ;; With this setup, the command `M-x org-feed-update-all' will
45 ;; collect new entries in the feed at the given URL and create
46 ;; entries as subheadings under the "ReQall Entries" heading in the
47 ;; file "~/org/feeds.org". Each feed should normally have its own
48 ;; heading - however see the `:drawer' parameter.
50 ;; Besides these standard elements that need to be specified for each
51 ;; feed, keyword-value pairs can set additional options. For example,
52 ;; to de-select transitional entries with a title containing
54 ;; "reQall is typing what you said",
56 ;; you could use the `:filter' argument:
58 ;; (setq org-feed-alist
60 ;; "http://www.reqall.com/user/feeds/rss/a1b2c3....."
61 ;; "~/org/feeds.org" "ReQall Entries"
62 ;; :filter my-reqall-filter)))
64 ;; (defun my-reqall-filter (e)
65 ;; (if (string-match "reQall is typing what you said"
66 ;; (plist-get e :title))
70 ;; See the docstring for `org-feed-alist' for more details.
73 ;; Keeping track of previously added entries
74 ;; -----------------------------------------
76 ;; Since Org allows you to delete, archive, or move outline nodes,
77 ;; org-feed.el needs to keep track of which feed items have been handled
78 ;; before, so that they will not be handled again. For this, org-feed.el
79 ;; stores information in a special drawer, FEEDSTATUS, under the heading
80 ;; that received the input of the feed. You should add FEEDSTATUS
81 ;; to your list of drawers in the files that receive feed input:
83 ;; #+DRAWERS: PROPERTIES CLOCK LOGBOOK RESULTS FEEDSTATUS
88 ;; org-feed.el is based on ideas by Brad Bozarth who implemented a
89 ;; similar mechanism using shell and awk scripts.
96 (declare-function url-retrieve-synchronously
"url" (url))
97 (declare-function xml-node-children
"xml" (node))
98 (declare-function xml-get-children
"xml" (node child-name
))
99 (declare-function xml-get-attribute
"xml" (node attribute
))
100 (declare-function xml-get-attribute-or-nil
"xml" (node attribute
))
101 (declare-function xml-substitute-special
"xml" (string))
103 (declare-function org-capture-escaped-%
"org-capture" ())
104 (declare-function org-capture-inside-embedded-elisp-p
"org-capture" ())
105 (declare-function org-capture-expand-embedded-elisp
"org-capture" ())
107 (defgroup org-feed nil
108 "Options concerning RSS feeds as inputs for Org files."
112 (defcustom org-feed-alist nil
113 "Alist specifying RSS feeds that should create inputs for Org.
114 Each entry in this list specified an RSS feed tat should be queried
115 to create inbox items in Org. Each entry is a list with the following items:
117 name a custom name for this feed
119 file the target Org file where entries should be listed, when
120 nil the target becomes the current buffer (may be an
121 indirect buffer) each time the feed update is invoked
122 headline the headline under which entries should be listed
124 Additional arguments can be given using keyword-value pairs. Many of these
125 specify functions that receive one or a list of \"entries\" as their single
126 argument. An entry is a property list that describes a feed item. The
127 property list has properties for each field in the item, for example `:title'
128 for the `<title>' field and `:pubDate' for the publication date. In addition,
129 it contains the following properties:
131 `:item-full-text' the full text in the <item> tag
132 `:guid-permalink' t when the guid property is a permalink
134 Here are the keyword-value pair allows in `org-feed-alist'.
137 The name of the drawer for storing feed information. The default is
138 \"FEEDSTATUS\". Using different drawers for different feeds allows
139 several feeds to target the same inbox heading.
141 :filter filter-function
142 A function to select interesting entries in the feed. It gets a single
143 entry as parameter. It should return the entry if it is relevant, or
146 :template template-string
147 The default action on new items in the feed is to add them as children
148 under the headline for the feed. The template describes how the entry
149 should be formatted. If not given, it defaults to
150 `org-feed-default-template'.
152 :formatter formatter-function
153 Instead of relying on a template, you may specify a function to format
154 the outline node to be inserted as a child. This function gets passed
155 a property list describing a single feed item, and it should return a
156 string that is a properly formatted Org outline node of level 1.
158 :new-handler function
159 If adding new items as children to the outline is not what you want
160 to do with new items, define a handler function that is called with
161 a list of all new items in the feed, each one represented as a property
162 list. The handler should do what needs to be done, and org-feed will
163 mark all items given to this handler as \"handled\", i.e. they will not
164 be passed to this handler again in future readings of the feed.
165 When the handler is called, point will be at the feed headline.
167 :changed-handler function
168 This function gets passed a list of all entries that have been
169 handled before, but are now still in the feed and have *changed*
170 since last handled (as evidenced by a different sha1 hash).
171 When the handler is called, point will be at the feed headline.
174 This function gets passed a buffer, and should return a list
175 of entries, each being a property list containing the
176 `:guid' and `:item-full-text' keys. The default is
177 `org-feed-parse-rss-feed'; `org-feed-parse-atom-feed' is an
180 :parse-entry function
181 This function gets passed an entry as returned by the parse-feed
182 function, and should return the entry with interesting properties added.
183 The default is `org-feed-parse-rss-entry'; `org-feed-parse-atom-entry'
187 (list :value
("" "http://" "" "")
189 (string :tag
"Feed URL")
190 (file :tag
"File for inbox")
191 (string :tag
"Headline for inbox")
194 (list :inline t
:tag
"Filter"
196 (symbol :tag
"Filter Function"))
197 (list :inline t
:tag
"Template"
199 (string :tag
"Template"))
200 (list :inline t
:tag
"Formatter"
202 (symbol :tag
"Formatter Function"))
203 (list :inline t
:tag
"New items handler"
205 (symbol :tag
"Handler Function"))
206 (list :inline t
:tag
"Changed items"
207 (const :changed-handler
)
208 (symbol :tag
"Handler Function"))
209 (list :inline t
:tag
"Parse Feed"
211 (symbol :tag
"Parse Feed Function"))
212 (list :inline t
:tag
"Parse Entry"
214 (symbol :tag
"Parse Entry Function"))
217 (defcustom org-feed-drawer
"FEEDSTATUS"
218 "The name of the drawer for feed status information.
219 Each feed may also specify its own drawer name using the `:drawer'
220 parameter in `org-feed-alist'."
222 :type
'(string :tag
"Drawer Name"))
224 (defcustom org-feed-default-template
"\n* %h\n %U\n %description\n %a\n"
225 "Template for the Org node created from RSS feed items.
226 This is just the default, each feed can specify its own.
227 Any fields from the feed item can be interpolated into the template with
228 %name, for example %title, %description, %pubDate etc. In addition, the
229 following special escapes are valid as well:
231 %h The title, or the first line of the description
232 %t The date as a stamp, either from <pubDate> (if present), or
235 %u,%U Like %t,%T, but inactive time stamps
236 %a A link, from <guid> if that is a permalink, else from <link>
237 %(sexp) Evaluate elisp `(sexp)' and replace with the result, the simple
238 %-escapes above can be used as arguments, e.g. %(capitalize \\\"%h\\\")"
240 :type
'(string :tag
"Template"))
242 (defcustom org-feed-save-after-adding t
243 "Non-nil means save buffer after adding new feed items."
247 (defcustom org-feed-retrieve-method
'url-retrieve-synchronously
248 "The method to be used to retrieve a feed URL.
249 This can be `curl' or `wget' to call these external programs, or it can be
250 an Emacs Lisp function that will return a buffer containing the content
251 of the file pointed to by the URL."
254 (const :tag
"Internally with url.el" url-retrieve-synchronously
)
255 (const :tag
"Externally with curl" curl
)
256 (const :tag
"Externally with wget" wget
)
257 (function :tag
"Function")))
259 (defcustom org-feed-before-adding-hook nil
260 "Hook that is run before adding new feed items to a file.
261 You might want to commit the file in its current state to version control,
266 (defcustom org-feed-after-adding-hook nil
267 "Hook that is run after new items have been added to a file.
268 Depending on `org-feed-save-after-adding', the buffer will already
273 (defvar org-feed-buffer
"*Org feed*"
274 "The buffer used to retrieve a feed.")
277 (defun org-feed-update-all ()
278 "Get inbox items from all feeds in `org-feed-alist'."
280 (let ((nfeeds (length org-feed-alist
))
281 (nnew (apply '+ (mapcar 'org-feed-update org-feed-alist
))))
282 (message "%s from %d %s"
283 (cond ((= nnew
0) "No new entries")
284 ((= nnew
1) "1 new entry")
285 (t (format "%d new entries" nnew
)))
287 (if (= nfeeds
1) "feed" "feeds"))))
290 (defun org-feed-update (feed &optional retrieve-only
)
291 "Get inbox items from FEED.
292 FEED can be a string with an association in `org-feed-alist', or
293 it can be a list structured like an entry in `org-feed-alist'."
294 (interactive (list (org-completing-read "Feed name: " org-feed-alist
)))
295 (if (stringp feed
) (setq feed
(assoc feed org-feed-alist
)))
297 (error "No such feed in `org-feed-alist"))
299 (let ((name (car feed
))
301 (file (or (nth 2 feed
) (buffer-file-name (or (buffer-base-buffer)
303 (headline (nth 3 feed
))
304 (filter (nth 1 (memq :filter feed
)))
305 (formatter (nth 1 (memq :formatter feed
)))
306 (new-handler (nth 1 (memq :new-handler feed
)))
307 (changed-handler (nth 1 (memq :changed-handler feed
)))
308 (template (or (nth 1 (memq :template feed
))
309 org-feed-default-template
))
310 (drawer (or (nth 1 (memq :drawer feed
))
312 (parse-feed (or (nth 1 (memq :parse-feed feed
))
313 'org-feed-parse-rss-feed
))
314 (parse-entry (or (nth 1 (memq :parse-entry feed
))
315 'org-feed-parse-rss-entry
))
316 feed-buffer inbox-pos new-formatted
317 entries old-status status new changed guid-alist e guid olds
)
318 (setq feed-buffer
(org-feed-get-feed url
))
319 (unless (and feed-buffer
(bufferp (get-buffer feed-buffer
)))
320 (error "Cannot get feed %s" name
))
322 (throw 'exit feed-buffer
))
323 (setq entries
(funcall parse-feed feed-buffer
))
324 (ignore-errors (kill-buffer feed-buffer
))
326 (save-window-excursion
327 (setq inbox-pos
(org-feed-goto-inbox-internal file headline
))
328 (setq old-status
(org-feed-read-previous-status inbox-pos drawer
))
329 ;; Add the "handled" status to the appropriate entries
330 (setq entries
(mapcar (lambda (e)
332 (plist-put e
:handled
337 ;; Find out which entries are new and which are changed
339 (if (not (plist-get e
:handled
))
341 (setq olds
(nth 2 (assoc (plist-get e
:guid
) old-status
)))
344 (plist-get e
:item-full-text
))
348 ;; Parse the relevant entries fully
349 (setq new
(mapcar parse-entry new
)
350 changed
(mapcar parse-entry changed
))
354 (setq new
(delq nil
(mapcar filter new
))
355 changed
(delq nil
(mapcar filter new
))))
357 (when (not (or new changed
))
358 (message "No new items in feed %s" name
)
361 ;; Get alist based on guid, to look up entries
364 (mapcar (lambda (e) (list (plist-get e
:guid
) e
)) new
)
365 (mapcar (lambda (e) (list (plist-get e
:guid
) e
)) changed
)))
367 ;; Construct the new status
371 (setq guid
(plist-get e
:guid
))
373 ;; things count as handled if we handle them now,
374 ;; or if they were handled previously
375 (if (assoc guid guid-alist
) t
(plist-get e
:handled
))
376 ;; A hash, to detect changes
377 (sha1 (plist-get e
:item-full-text
))))
380 ;; Handle new items in the feed
384 (goto-char inbox-pos
)
385 (funcall new-handler new
))
386 ;; No custom handler, do the default adding
387 ;; Format the new entries into an alist with GUIDs in the car
390 (lambda (e) (org-feed-format-entry e template formatter
))
393 ;; Insert the new items
394 (org-feed-add-items inbox-pos new-formatted
))
396 ;; Handle changed items in the feed
397 (when (and changed-handler changed
)
398 (goto-char inbox-pos
)
399 (funcall changed-handler changed
))
401 ;; Write the new status
402 ;; We do this only now, in case something goes wrong above, so
403 ;; that would would end up with a status that does not reflect
404 ;; which items truely have been handled
405 (org-feed-write-status inbox-pos drawer status
)
407 ;; Normalize the visibility of the inbox tree
408 (goto-char inbox-pos
)
409 (outline-hide-subtree)
410 (outline-show-children)
411 (org-cycle-hide-drawers 'children
)
413 ;; Hooks and messages
414 (when org-feed-save-after-adding
(save-buffer))
415 (message "Added %d new item%s from feed %s to file %s, heading %s"
416 (length new
) (if (> (length new
) 1) "s" "")
418 (file-name-nondirectory file
) headline
)
419 (run-hooks 'org-feed-after-adding-hook
)
423 (defun org-feed-goto-inbox (feed)
424 "Go to the inbox that captures the feed named FEED."
426 (list (if (= (length org-feed-alist
) 1)
428 (org-completing-read "Feed name: " org-feed-alist
))))
429 (if (stringp feed
) (setq feed
(assoc feed org-feed-alist
)))
431 (error "No such feed in `org-feed-alist"))
432 (org-feed-goto-inbox-internal (nth 2 feed
) (nth 3 feed
)))
435 (defun org-feed-show-raw-feed (feed)
436 "Show the raw feed buffer of a feed."
438 (list (if (= (length org-feed-alist
) 1)
440 (org-completing-read "Feed name: " org-feed-alist
))))
441 (if (stringp feed
) (setq feed
(assoc feed org-feed-alist
)))
443 (error "No such feed in `org-feed-alist"))
444 (org-pop-to-buffer-same-window
445 (org-feed-update feed
'retrieve-only
))
446 (goto-char (point-min)))
448 (defun org-feed-goto-inbox-internal (file heading
)
449 "Find or create HEADING in FILE.
450 Switch to that buffer, and return the position of that headline."
453 (goto-char (point-min))
454 (if (re-search-forward
455 (concat "^\\*+[ \t]+" heading
"[ \t]*\\(:.*?:[ \t]*\\)?$")
457 (goto-char (match-beginning 0))
458 (goto-char (point-max))
459 (insert "\n\n* " heading
"\n\n")
460 (org-back-to-heading t
))
463 (defun org-feed-read-previous-status (pos drawer
)
464 "Get the alist of old GUIDs from the entry at POS.
465 This will find DRAWER and extract the alist."
468 (let ((end (save-excursion (org-end-of-subtree t t
))))
469 (if (re-search-forward
470 (concat "^[ \t]*:" drawer
":[ \t]*\n\\([^\000]*?\\)\n[ \t]*:END:")
472 (read (match-string 1))
475 (defun org-feed-write-status (pos drawer status
)
476 "Write the feed STATUS to DRAWER in entry at POS."
479 (let ((end (save-excursion (org-end-of-subtree t t
)))
481 (if (re-search-forward (concat "^[ \t]*:" drawer
":[ \t]*\n")
484 (goto-char (match-end 0))
485 (delete-region (point)
487 (and (re-search-forward "^[ \t]*:END:" nil t
)
488 (match-beginning 0)))))
489 (outline-next-heading)
490 (insert " :" drawer
":\n :END:\n")
491 (beginning-of-line 0))
492 (insert (pp-to-string status
)))))
494 (defun org-feed-add-items (pos entries
)
495 "Add the formatted items to the headline as POS."
499 (unless (looking-at org-complex-heading-regexp
)
500 (error "Wrong position"))
501 (setq level
(org-get-valid-level (length (match-string 1)) 1))
502 (org-end-of-subtree t t
)
503 (skip-chars-backward " \t\n")
504 (beginning-of-line 2)
506 (while (setq entry
(pop entries
))
507 (org-paste-subtree level entry
'yank
))
508 (org-mark-ring-push pos
))))
510 (defun org-feed-format-entry (entry template formatter
)
511 "Format ENTRY so that it can be inserted into an Org file.
512 ENTRY is a property list. This function adds a `:formatted-for-org' property
513 and returns the full property list.
514 If that property is already present, nothing changes."
515 (require 'org-capture
)
517 (funcall formatter entry
)
518 (let (dlines time escape name tmp
519 v-h v-t v-T v-u v-U v-a
)
520 (setq dlines
(org-split-string (or (plist-get entry
:description
) "???")
522 v-h
(or (plist-get entry
:title
) (car dlines
) "???")
523 time
(or (if (plist-get entry
:pubDate
)
524 (org-read-date t t
(plist-get entry
:pubDate
)))
526 v-t
(format-time-string (org-time-stamp-format nil nil
) time
)
527 v-T
(format-time-string (org-time-stamp-format t nil
) time
)
528 v-u
(format-time-string (org-time-stamp-format nil t
) time
)
529 v-U
(format-time-string (org-time-stamp-format t t
) time
)
530 v-a
(if (setq tmp
(or (and (plist-get entry
:guid-permalink
)
531 (plist-get entry
:guid
))
532 (plist-get entry
:link
)))
533 (concat "[[" tmp
"]]\n")
539 ;; before embedded elisp to support simple %-escapes as
540 ;; arguments for embedded elisp
541 (goto-char (point-min))
542 (while (re-search-forward "%\\([a-zA-Z]+\\)" nil t
)
543 (unless (org-capture-escaped-%
)
544 (setq name
(match-string 1)
545 escape
(org-capture-inside-embedded-elisp-p))
547 ((member name
'("h" "t" "T" "u" "U" "a"))
548 (setq tmp
(symbol-value (intern (concat "v-" name
)))))
549 ((setq tmp
(plist-get entry
(intern (concat ":" name
))))
552 (beginning-of-line 1)
554 (concat "^\\([ \t]*\\)%" name
"[ \t]*$"))
555 (setq tmp
(org-feed-make-indented-block
556 tmp
(org-get-indentation))))))))
558 ;; escape string delimiters `"' when inside %() embedded lisp
560 (setq tmp
(replace-regexp-in-string "\"" "\\\\\"" tmp
)))
561 (replace-match tmp t t
))))
563 ;; %() embedded elisp
564 (org-capture-expand-embedded-elisp)
566 (decode-coding-string
567 (buffer-string) (detect-coding-region (point-min) (point-max) t
))))))
569 (defun org-feed-make-indented-block (s n
)
570 "Add indentation of N spaces to a multiline string S."
571 (if (not (string-match "\n" s
))
574 (org-split-string s
"\n")
575 (concat "\n" (make-string n ?\
)))))
577 (defun org-feed-skip-http-headers (buffer)
578 "Remove HTTP headers from BUFFER, and return it.
579 Assumes headers are indeed present!"
580 (with-current-buffer buffer
582 (goto-char (point-min))
583 (search-forward "\n\n")
584 (delete-region (point-min) (point))
587 (defun org-feed-get-feed (url)
588 "Get the RSS feed file at URL and return the buffer."
590 ((eq org-feed-retrieve-method
'url-retrieve-synchronously
)
591 (org-feed-skip-http-headers (url-retrieve-synchronously url
)))
592 ((eq org-feed-retrieve-method
'curl
)
593 (ignore-errors (kill-buffer org-feed-buffer
))
594 (call-process "curl" nil org-feed-buffer nil
"--silent" url
)
596 ((eq org-feed-retrieve-method
'wget
)
597 (ignore-errors (kill-buffer org-feed-buffer
))
598 (call-process "wget" nil org-feed-buffer nil
"-q" "-O" "-" url
)
600 ((functionp org-feed-retrieve-method
)
601 (funcall org-feed-retrieve-method url
))))
603 (defun org-feed-parse-rss-feed (buffer)
604 "Parse BUFFER for RSS feed entries.
605 Returns a list of entries, with each entry a property list,
606 containing the properties `:guid' and `:item-full-text'."
608 (let ((case-fold-search t
)
609 entries beg end item guid entry
)
610 (with-current-buffer buffer
612 (goto-char (point-min))
613 (while (re-search-forward "<item\\>.*?>" nil t
)
615 end
(and (re-search-forward "</item>" nil t
)
616 (match-beginning 0)))
617 (setq item
(buffer-substring beg end
)
618 guid
(if (string-match "<guid\\>.*?>\\(.*?\\)</guid>" item
)
619 (xml-substitute-special (org-match-string-no-properties 1 item
))))
620 (setq entry
(list :guid guid
:item-full-text item
))
624 (nreverse entries
))))
626 (defun org-feed-parse-rss-entry (entry)
627 "Parse the `:item-full-text' field for xml tags and create new properties."
630 (insert (plist-get entry
:item-full-text
))
631 (goto-char (point-min))
632 (while (re-search-forward "<\\([a-zA-Z]+\\>\\).*?>\\([^\000]*?\\)</\\1>"
634 (setq entry
(plist-put entry
635 (intern (concat ":" (match-string 1)))
636 (xml-substitute-special (match-string 2)))))
637 (goto-char (point-min))
638 (unless (re-search-forward "isPermaLink[ \t]*=[ \t]*\"false\"" nil t
)
639 (setq entry
(plist-put entry
:guid-permalink t
))))
642 (defun org-feed-parse-atom-feed (buffer)
643 "Parse BUFFER for Atom feed entries.
644 Returns a list of entries, with each entry a property list,
645 containing the properties `:guid' and `:item-full-text'.
647 The `:item-full-text' property actually contains the sexp
648 formatted as a string, not the original XML data."
650 (with-current-buffer buffer
652 (let ((feed (car (xml-parse-region (point-min) (point-max)))))
656 :guid
(car (xml-node-children (car (xml-get-children entry
'id
))))
657 :item-full-text
(prin1-to-string entry
)))
658 (xml-get-children feed
'entry
)))))
660 (defun org-feed-parse-atom-entry (entry)
661 "Parse the `:item-full-text' as a sexp and create new properties."
662 (let ((xml (car (read-from-string (plist-get entry
:item-full-text
)))))
663 ;; Get first <link href='foo'/>.
664 (setq entry
(plist-put entry
:link
666 (car (xml-get-children xml
'link
))
668 ;; Add <title/> as :title.
669 (setq entry
(plist-put entry
:title
670 (xml-substitute-special
671 (car (xml-node-children
672 (car (xml-get-children xml
'title
)))))))
673 (let* ((content (car (xml-get-children xml
'content
)))
674 (type (xml-get-attribute-or-nil content
'type
)))
677 ((string= type
"text")
678 ;; We like plain text.
679 (setq entry
(plist-put entry
:description
680 (xml-substitute-special
681 (car (xml-node-children content
))))))
682 ((string= type
"html")
683 ;; TODO: convert HTML to Org markup.
684 (setq entry
(plist-put entry
:description
685 (xml-substitute-special
686 (car (xml-node-children content
))))))
687 ((string= type
"xhtml")
688 ;; TODO: convert XHTML to Org markup.
689 (setq entry
(plist-put entry
:description
691 (xml-node-children content
)))))
693 (setq entry
(plist-put entry
:description
695 "Unknown `%s' content." type
)))))))
701 ;; generated-autoload-file: "org-loaddefs.el"
704 ;;; org-feed.el ends here