diff options
| author | Ulf Jasper | 2014-10-19 18:50:15 +0200 |
|---|---|---|
| committer | Ulf Jasper | 2014-10-19 18:50:15 +0200 |
| commit | 8259e90ecdd4fd4d85d81fa410f676e8c245f3f4 (patch) | |
| tree | 19ea666d2bfb02720be899b502376339de5093ff /etc | |
| parent | 58af643d69eeb911ac8842c6dc4ddd06f6ea0b00 (diff) | |
| download | emacs-8259e90ecdd4fd4d85d81fa410f676e8c245f3f4.tar.gz emacs-8259e90ecdd4fd4d85d81fa410f676e8c245f3f4.zip | |
Newsticker: Show feedicons in treeview. Small fix in opml export.
* etc/images/newsticker/README: Add rss-feed.png, rss-feed.svg.
* etc/images/newsticker/rss-feed.png: New.
* etc/images/newsticker/rss-feed.svg: New.
* lisp/net/newst-backend.el: Require url-parse.
(newsticker--get-news-by-wget): Store feed name as process property.
(newsticker--sentinel): Read feed name from process property.
(newsticker--sentinel-work): Rename argument name to feed-name.
Rename variable imageurl to image-url. Pick icon url from Atom
1.0 data. Launch download of feed icon.
(newsticker--get-icon-url-atom-1.0): New.
(newsticker--unxml)
(newsticker--unxml-node)
(newsticker--unxml-attribute): Documentation.
(newsticker--icons-dir): New.
(newsticker--image-get): New arguments FILENAME and DIRECTORY.
Use `url-retrieve' if `newsticker-retrieval-method' is 'intern.
(newsticker--image-download-by-wget): New. Use process properties
for storing informations.
(newsticker--image-sentinel): Read informations from process properties.
(newsticker--image-save)
(newsticker--image-remove)
(newsticker--image-download-by-url)
(newsticker--image-download-by-url-callback): New.
(newsticker-opml-export): Handle url list entries containing a
function instead of an url string.
* lisp/net/newst-reader.el (newsticker-html-renderer): Whitespace.
(newsticker--print-extra-elements)
(newsticker--do-print-extra-element): Documentation
(newsticker--image-read): Optionally limit image height. Use
imagemagick if possible.
(newsticker--icon-read): New.
* lisp/net/newst-treeview.el (newsticker--treeview-item-show): Limit height of feed logo.
(newsticker--treeview-tree-expand): Use feed icons in treeview.
(newsticker--tree-widget-icon-create): New. Set the tree widget icon.
(newsticker--tree-widget-leaf-icon): Use feed icon.
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/ChangeLog | 8 | ||||
| -rw-r--r-- | etc/images/newsticker/README | 2 | ||||
| -rw-r--r-- | etc/images/newsticker/rss-feed.png | bin | 0 -> 639 bytes | |||
| -rw-r--r-- | etc/images/newsticker/rss-feed.svg | 121 |
4 files changed, 130 insertions, 1 deletions
diff --git a/etc/ChangeLog b/etc/ChangeLog index 5b70ee83c8a..4968084b7ec 100644 --- a/etc/ChangeLog +++ b/etc/ChangeLog | |||
| @@ -1,3 +1,11 @@ | |||
| 1 | 2014-10-19 Ulf Jasper <ulf.jasper@web.de> | ||
| 2 | |||
| 3 | * images/newsticker/rss-feed.png: New. | ||
| 4 | |||
| 5 | * images/newsticker/rss-feed.svg: New. | ||
| 6 | |||
| 7 | * images/newsticker/README: Add rss-feed.png, rss-feed.svg. | ||
| 8 | |||
| 1 | 2014-10-18 Michal Nazarewicz <mina86@mina86.com> | 9 | 2014-10-18 Michal Nazarewicz <mina86@mina86.com> |
| 2 | 10 | ||
| 3 | * NEWS: Mention new whitespace-mode option: big-indent. | 11 | * NEWS: Mention new whitespace-mode option: big-indent. |
diff --git a/etc/images/newsticker/README b/etc/images/newsticker/README index 237b7f08e66..31ca46c8aff 100644 --- a/etc/images/newsticker/README +++ b/etc/images/newsticker/README | |||
| @@ -2,7 +2,7 @@ COPYRIGHT AND LICENSE INFORMATION FOR IMAGE FILES | |||
| 2 | 2 | ||
| 3 | Files: browse-url.xpm get-all.xpm mark-immortal.xpm mark-read.xpm | 3 | Files: browse-url.xpm get-all.xpm mark-immortal.xpm mark-read.xpm |
| 4 | narrow.xpm next-feed.xpm next-item.xpm prev-feed.xpm | 4 | narrow.xpm next-feed.xpm next-item.xpm prev-feed.xpm |
| 5 | prev-item.xpm update.xpm | 5 | prev-item.xpm rss-feed.png rss-feed.svg update.xpm |
| 6 | Author: Ulf Jasper | 6 | Author: Ulf Jasper |
| 7 | Copyright (C) 2011-2014 Free Software Foundation, Inc. | 7 | Copyright (C) 2011-2014 Free Software Foundation, Inc. |
| 8 | License: GNU General Public License version 3 or later (see COPYING) | 8 | License: GNU General Public License version 3 or later (see COPYING) |
diff --git a/etc/images/newsticker/rss-feed.png b/etc/images/newsticker/rss-feed.png new file mode 100644 index 00000000000..41a3263390a --- /dev/null +++ b/etc/images/newsticker/rss-feed.png | |||
| Binary files differ | |||
diff --git a/etc/images/newsticker/rss-feed.svg b/etc/images/newsticker/rss-feed.svg new file mode 100644 index 00000000000..a4abd6cc19f --- /dev/null +++ b/etc/images/newsticker/rss-feed.svg | |||
| @@ -0,0 +1,121 @@ | |||
| 1 | <?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
| 2 | <!-- Created with Inkscape (http://www.inkscape.org/) --> | ||
| 3 | |||
| 4 | <svg | ||
| 5 | xmlns:dc="http://purl.org/dc/elements/1.1/" | ||
| 6 | xmlns:cc="http://creativecommons.org/ns#" | ||
| 7 | xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" | ||
| 8 | xmlns:svg="http://www.w3.org/2000/svg" | ||
| 9 | xmlns="http://www.w3.org/2000/svg" | ||
| 10 | xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" | ||
| 11 | xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" | ||
| 12 | width="16px" | ||
| 13 | height="16px" | ||
| 14 | id="svg3028" | ||
| 15 | version="1.1" | ||
| 16 | inkscape:version="0.48.5 r10040" | ||
| 17 | sodipodi:docname="newst-rss.svg"> | ||
| 18 | <defs | ||
| 19 | id="defs3030" /> | ||
| 20 | <sodipodi:namedview | ||
| 21 | id="base" | ||
| 22 | pagecolor="#ffffff" | ||
| 23 | bordercolor="#666666" | ||
| 24 | borderopacity="1.0" | ||
| 25 | inkscape:pageopacity="0.0" | ||
| 26 | inkscape:pageshadow="2" | ||
| 27 | inkscape:zoom="22.197802" | ||
| 28 | inkscape:cx="-0.87475255" | ||
| 29 | inkscape:cy="-1.0099011" | ||
| 30 | inkscape:current-layer="layer1" | ||
| 31 | showgrid="true" | ||
| 32 | inkscape:grid-bbox="true" | ||
| 33 | inkscape:document-units="px" | ||
| 34 | inkscape:snap-global="true" | ||
| 35 | inkscape:snap-object-midpoints="false" | ||
| 36 | inkscape:window-width="1680" | ||
| 37 | inkscape:window-height="1026" | ||
| 38 | inkscape:window-x="0" | ||
| 39 | inkscape:window-y="24" | ||
| 40 | inkscape:window-maximized="0"> | ||
| 41 | <inkscape:grid | ||
| 42 | type="xygrid" | ||
| 43 | id="grid3036" /> | ||
| 44 | </sodipodi:namedview> | ||
| 45 | <metadata | ||
| 46 | id="metadata3033"> | ||
| 47 | <rdf:RDF> | ||
| 48 | <cc:Work | ||
| 49 | rdf:about=""> | ||
| 50 | <dc:format>image/svg+xml</dc:format> | ||
| 51 | <dc:type | ||
| 52 | rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> | ||
| 53 | </cc:Work> | ||
| 54 | </rdf:RDF> | ||
| 55 | </metadata> | ||
| 56 | <g | ||
| 57 | id="layer1" | ||
| 58 | inkscape:label="Layer 1" | ||
| 59 | inkscape:groupmode="layer"> | ||
| 60 | <rect | ||
| 61 | style="fill:#ff8000;fill-opacity:1;stroke:#0000ff;stroke-width:0;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" | ||
| 62 | id="rect3038" | ||
| 63 | width="16" | ||
| 64 | height="16" | ||
| 65 | x="0" | ||
| 66 | y="0" | ||
| 67 | ry="2" | ||
| 68 | rx="2" /> | ||
| 69 | <path | ||
| 70 | sodipodi:type="arc" | ||
| 71 | style="fill:#ffffff;fill-opacity:1;stroke:#ffffff;stroke-width:0;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" | ||
| 72 | id="path3814" | ||
| 73 | sodipodi:cx="-4.5" | ||
| 74 | sodipodi:cy="7.5" | ||
| 75 | sodipodi:rx="2" | ||
| 76 | sodipodi:ry="2" | ||
| 77 | d="m -2.5,7.5 a 2,2 0 1 1 -4,0 2,2 0 1 1 4,0 z" | ||
| 78 | transform="matrix(0,1,-1,0,11.5,16.5)" /> | ||
| 79 | <path | ||
| 80 | sodipodi:type="arc" | ||
| 81 | style="fill:none;stroke:#ffffff;stroke-width:1.89999996;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" | ||
| 82 | id="path3847" | ||
| 83 | sodipodi:cx="8.5" | ||
| 84 | sodipodi:cy="7.5" | ||
| 85 | sodipodi:rx="9.5" | ||
| 86 | sodipodi:ry="9.5" | ||
| 87 | d="m 18,7.5 a 9.5,9.5 0 1 1 -19,0 9.5,9.5 0 1 1 19,0 z" | ||
| 88 | transform="matrix(1.0526316,0,0,1.0526316,-8.9473684,8.1052632)" /> | ||
| 89 | <path | ||
| 90 | sodipodi:type="arc" | ||
| 91 | style="fill:none;stroke:#ffffff;stroke-width:0.96362412;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" | ||
| 92 | id="path3849" | ||
| 93 | sodipodi:cx="2" | ||
| 94 | sodipodi:cy="14.5" | ||
| 95 | sodipodi:rx="7" | ||
| 96 | sodipodi:ry="6.5" | ||
| 97 | d="m 9,14.5 a 7,6.5 0 1 1 -14,0 7,6.5 0 1 1 14,0 z" | ||
| 98 | transform="matrix(2,0,0,2.1538461,-3.9999999,-15.230768)" /> | ||
| 99 | <rect | ||
| 100 | style="fill:none;fill-opacity:1;stroke:#ff8000;stroke-width:0;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" | ||
| 101 | id="rect3869" | ||
| 102 | width="15" | ||
| 103 | height="15" | ||
| 104 | x="2" | ||
| 105 | y="-1" | ||
| 106 | rx="0" | ||
| 107 | ry="0" /> | ||
| 108 | <path | ||
| 109 | style="fill:#ff8000;fill-opacity:1;stroke:none" | ||
| 110 | d="M 2 0 C 0.892 0 0 0.892 0 2 L 0 14 C 0 15.108 0.892 16 2 16 L 2 0 z " | ||
| 111 | id="rect3891" /> | ||
| 112 | <path | ||
| 113 | style="fill:#ff8000;fill-opacity:1;stroke:none" | ||
| 114 | d="M 0 14 C 0 15.108 0.892 16 2 16 L 14 16 C 15.108 16 16 15.108 16 14 L 0 14 z " | ||
| 115 | id="rect3913" /> | ||
| 116 | </g> | ||
| 117 | <g | ||
| 118 | inkscape:groupmode="layer" | ||
| 119 | id="layer2" | ||
| 120 | inkscape:label="Ebene" /> | ||
| 121 | </svg> | ||