Hi Jelle, On 2012-04-20 16:15, Jelle Huisman wrote: > Hello all, > > I'd like to typeset an RSS feed and I was wondering whether I could > instruct ConTeXt to fetch the contents of a url like: > http://feeds.bbci.co.uk/news/rss.xml > Thanks for any pointers, the fetching part is easy as we have LuaSocket: ········································································ \starttext \startluacode local bbc_rss = socket.http.request"http://feeds.bbci.co.uk/news/rss.xml" context["type"](bbc_rss) \stopluacode \stoptext \endinput ········································································ In your document, however, you will want to save the file locally for a given Context session and reuse the local copy to avoid re-fetching it on every pass. Maybe use the timestamp to force a fresh fetch after some time. Regards Philipp > > Jelle > ___________________________________________________________________________________ > If your question is of interest to others as well, please add an entry to the Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___________________________________________________________________________________ -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments