Feature requests

34 views
Skip to first unread message

mattmcalister

unread,
Feb 24, 2009, 6:15:57 AM2/24/09
to Guardian API Talk
Please share new feature requests with us. We are collecting ideas
and will address as many of them as we can. Not all feature requests
will be prioritized and delivered, but we will consider everything
that gets submitted.

tom.d...@googlemail.com

unread,
Mar 10, 2009, 9:10:14 AM3/10/09
to Guardian API Talk
Question: If I do a search for all recent articles tagged Science. Are
they likely to the be the same ones that are you on your
http://www.guardian.co.uk/science or might they be slightly different?

If not, it might be nice to have a way to return articles that are
currently on /science /technology etc.

Peter Clark

unread,
Mar 10, 2009, 9:21:18 AM3/10/09
to Guardian API Talk
couldn't you just use RSS for those?

On Mar 10, 1:10 pm, "tom.dev...@googlemail.com"
<tom.dev...@googlemail.com> wrote:
> Question: If I do a search for all recent articles tagged Science. Are
> they likely to the be the same ones that are you on yourhttp://www.guardian.co.uk/scienceor might they be slightly different?

Michael Brunton-Spall

unread,
Mar 10, 2009, 9:54:23 AM3/10/09
to Guardian API Talk
Tom,

Indeed Peter is correct, for the content of the articles on any of our keyword pages, you can use the RSS feeds, which are universally at <url>/rss

A quick compare of http://www.guardian.co.uk/science/genetics/rss vs openapi /content/search?filter=/science/genetics shows that you will get slightly different results back for similar queries.
The RSS feed should always show you the latest news (caching excepted), as displayed on the website.
There are a number of reasons why you might get different results from the rss and the open platform.  Our website (and rss feeds) have a number of facilities to manually tweak what items are displayed.  So an editor can have selected articles to appear on the page, which will remove them from the RSS feed (don't ask why).  the open platform doesn't follow these business rules, so will just return content that is tagged.  But because of it's architecture, it may not return content in the same order, and there are some rules about certain types of content that we are not allowed to redistribute, and those can be different from RSS to Open Platform

Hope that helps

Michael Brunton-Spall
guardian.co.uk

Nick Ludlam

unread,
Mar 10, 2009, 9:56:44 AM3/10/09
to Guardian API Talk
On Feb 24, 11:15 am, mattmcalister <matt.mcalis...@gmail.com> wrote:
I'd very much like to see the Guardian quiz data become part of an
API, or being given in a structured, machine-readable way. Right now
for my iPhone app, I'm scraping the data via a simulated play through
of the quiz on the main website, which isn't ideal, and certainly
means I could not launch a proper application based on this method.

I hope the quiz data would not be too hard to expose via an RSS feed,
or JSON. All I'd need is the quiz title, description, categories,
questions, answers (along with a highlight for the correct one), and
any associated images.

One step further would be to list a set of related story URLs which
feature information that is relevant to the quiz. This would allow for
either a bit of pre-game revision, or some post-game education based
on what questions you got wrong, and ensures that the gaming is
reinforced with a bit of learning.

Nick

mattmcalister

unread,
Mar 10, 2009, 2:11:27 PM3/10/09
to Guardian API Talk
Good one, Nick. We have a feature request queue internally, and I've
added this one to the list. no promises on timing, obviously, but
I'll see what we can do.

Matt

Michael Brunton-Spall

unread,
Mar 11, 2009, 9:56:22 AM3/11/09
to Guardian API Talk
Just to confirm, my coworkers have corrected me and the RSS feeds work the way you would expect, and not the way I outlined before.

The RSS feeds will contain all articles, in date order, regardless of whether they appear on the page in the automatically generated section, or the manually edited section.

Note that there are some article bodies that we don't have rights to redistribute (because they come from freelance journalists for example), and in those cases you wont see the full body in the RSS feed or in the Open Platform, although I believe that it's possible that we have rights in some cases to provide RSS content, but not Open Platform content or vica versa.

Michael Brunton-Spall
guardian.co.uk


2009/3/10 Michael Brunton-Spall <mic...@brunton-spall.co.uk>

Tom Marsh

unread,
Mar 11, 2009, 10:08:25 AM3/11/09
to Guardian API Talk
The RSS contains all the data we have on our site as it is just a reinterpretation of the content in XML instead of HTML and is served from the same domain. The RSS / HTML are for private use only. 

OpenAPI is served from a different domain and at the moment we are restricting it to a white-list of known staff writers. 

Please forgive the inconvenience. 

Tom Marsh
Project Architect (OpenAPI) 
Twitter: tsmarsh



Tom

unread,
Mar 12, 2009, 10:07:28 AM3/12/09
to Guardian API Talk
Two features that I'd like:

You should be able to search for tags by type:

/content/tags/series?q=...

or

/content/tags?q=...&type=series

and filters should be grouped by type.

On Mar 11, 2:08 pm, Tom Marsh <ts.ma...@gmail.com> wrote:
> On 11 Mar 2009, at 13:56, Michael Brunton-Spall wrote:
>
>
>
> > Just to confirm, my coworkers have corrected me and the RSS feeds  
> > work the way you would expect, and not the way I outlined before.
>
> > The RSS feeds will contain all articles, in date order, regardless  
> > of whether they appear on the page in the automatically generated  
> > section, or the manually edited section.
>
> > Note that there are some article bodies that we don't have rights to  
> > redistribute (because they come from freelance journalists for  
> > example), and in those cases you wont see the full body in the RSS  
> > feed or in the Open Platform, although I believe that it's possible  
> > that we have rights in some cases to provide RSS content, but not  
> > Open Platform content or vica versa.
>
> > Michael Brunton-Spall
> > guardian.co.uk
>
> > 2009/3/10 Michael Brunton-Spall <mich...@brunton-spall.co.uk>
> > Tom,
>
> > Indeed Peter is correct, for the content of the articles on any of  
> > our keyword pages, you can use the RSS feeds, which are universally  
> > at <url>/rss
>
> > A quick compare ofhttp://www.guardian.co.uk/science/genetics/rssvs  
> > openapi /content/search?filter=/science/genetics shows that you will  
> > get slightly different results back for similar queries.
> > The RSS feed should always show you the latest news (caching  
> > excepted), as displayed on the website.
> > There are a number of reasons why you might get different results  
> > from the rss and the open platform.  Our website (and rss feeds)  
> > have a number of facilities to manually tweak what items are  
> > displayed.  So an editor can have selected articles to appear on the  
> > page, which will remove them from the RSS feed (don't ask why).  the  
> > open platform doesn't follow these business rules, so will just  
> > return content that is tagged.  But because of it's architecture, it  
> > may not return content in the same order, and there are some rules  
> > about certain types of content that we are not allowed to  
> > redistribute, and those can be different from RSS to Open Platform
>
> > Hope that helps
>
> > Michael Brunton-Spall
> > guardian.co.uk
>
> > On Tue, Mar 10, 2009 at 1:21 PM, Peter Clark <peter.cl...@gmail.com>  

Kelton Lynn

unread,
Mar 26, 2009, 12:16:19 PM3/26/09
to Guardian API Talk
A feature request:

Inclusion of media content (both image and/or video) associated with
the article in the API.

Is this accessible in any way currently through the API?

Thanks

mattmcalister

unread,
Mar 27, 2009, 5:46:26 AM3/27/09
to Guardian API Talk
We don't currently offer images or video. That seems to be a popular
request, though. So, we're working on an answer to that.

Matt

GrantK

unread,
Apr 22, 2009, 2:56:43 AM4/22/09
to Guardian API Talk
Hi

The Guardian has an obvious colour scheme...

Everything under environment is green
http://www.guardian.co.uk/environment
http://www.guardian.co.uk/environment/energy
http://www.guardian.co.uk/environment/fossil-fuels

And Everthing under technology is red
http://www.guardian.co.uk/technology
http://www.guardian.co.uk/technology/gamesblog

It would be great if those colours could somehow be exposed in the
API. This would be a great help when doing any sort of data
visualisation.

Grant

Paul Carvill

unread,
Apr 22, 2009, 3:33:18 AM4/22/09
to Guardian API Talk
good idea. would it help in the meantime if we posted a colour scheme
here? and what format would you like it in — hex, rgb etc?

paul

On Apr 22, 7:56 am, GrantK <grant.klop...@gmail.com> wrote:
> Hi
>
> The Guardian has an obviouscolourscheme...
>
> Everything under environment is greenhttp://www.guardian.co.uk/environmenthttp://www.guardian.co.uk/environment/energyhttp://www.guardian.co.uk/environment/fossil-fuels
>
> And Everthing under technology is redhttp://www.guardian.co.uk/technologyhttp://www.guardian.co.uk/technology/gamesblog

Michael Brunton-Spall

unread,
Apr 22, 2009, 3:50:47 AM4/22/09
to Paul Carvill, Guardian API Talk

Paul,

If you have it in hex format, that would probably be most useful, given it can be used in css directly, and all art packages let you select a colour in hex format.

Cheers
Michael Brunton-Spall
Guardian.co.uk

On Apr 22, 2009 8:33 AM, "Paul Carvill" <paul.c...@gmail.com> wrote:


good idea.  would it help in the meantime if we posted a colour scheme
here?  and what format would you like it in — hex, rgb etc?

paul

On Apr 22, 7:56 am, GrantK <grant.klop...@gmail.com> wrote: > Hi > > The Guardian has an obviouscol...

> > It would be great if those colours could somehow be exposed in the > API. This would be a great ...

Reply all
Reply to author
Forward
0 new messages