Gnus development mailing list
 help / color / mirror / Atom feed
* how to render rss with shr?
@ 2011-05-06 10:13 joakim
  2011-05-30 20:31 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: joakim @ 2011-05-06 10:13 UTC (permalink / raw)
  To: ding

I have a project which integrates Inkscape and Emacs.
https://github.com/jave/inkmacs

Openclipart has a rss API I would like to use that looks like this:
http://www.openclipart.org/media/feed/rss/server
where "server" is the search term.

So, I'd like to make an Emacs interfare for this of course and I'm
researching the best way to do it. Can SHR be used to implement part of
the plan?

Plan:
- fetch the query result to a buffer with url-get
- parse the xml using the emacs 24 xml parser
- fetch thumbnails and display asynchronously(SHR?)
- each thumbnail is a button with an interface to inkmacs-file-import
- download the svg and import in Incscape when button clicked


-- 
Joakim Verona



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: how to render rss with shr?
  2011-05-06 10:13 how to render rss with shr? joakim
@ 2011-05-30 20:31 ` Lars Magne Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Magne Ingebrigtsen @ 2011-05-30 20:31 UTC (permalink / raw)
  To: ding

joakim@verona.se writes:

> Plan:
> - fetch the query result to a buffer with url-get
> - parse the xml using the emacs 24 xml parser
> - fetch thumbnails and display asynchronously(SHR?)
> - each thumbnail is a button with an interface to inkmacs-file-import
> - download the svg and import in Incscape when button clicked

Sure; should work pretty easily.  You'll have to convert the XML parse
tree into an HTML parse tree, though.  But that should be pretty simple.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-05-30 20:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-06 10:13 how to render rss with shr? joakim
2011-05-30 20:31 ` Lars Magne Ingebrigtsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).