Hey Ramiro,
I'm afraid for legal reasons we need to ensure that deletions or
amendments of content are represented by all our clients within 24
hours.
That includes any text from the api, incuding headlines and urls.
We therefore require that you regenerate the lists of content at least
once every 24 hours.
The two most common wasy of achieving this are:
1. Run a regular shceduled job, that once every 24 hours, processes all
of the article id's you have stored, and checks to see if any of the
metadata has changed. If so delete or update as necessary
2. (For less regualrly visited sites or pages). When going to render
your page, fetch data from the content api from a cache. Set a maximum
age on the cache to be 24 hours. That way you'll never fetch more than
once every 24 hours, but will only fetch data on demand, not
unecessarily.
I hope that helps
Michael Brunton-Spall
On Sat, Mar 23, 2013 at 03:50:27PM -0700, Ramiro G�mez wrote:
> Hi,
>
> I'm currently working on a visualization project that shows the evolution
> of certain topics covered in the Gurdian over time.
>
> In some parts of the visualization I want to show a list of article titles
> and thumbnail images for a particular topic. The headlines would link to
> the original article on the Guardian website.
>
> To do so I intended to store meta information for those articles, but I've
> read that storing Guardian content for more than 24 hours does not comply
> with the API terms of service.
>
> I'm not sure whether storing article headlines for more than 24 hours would
> be regarded as a breach of the API terms or if by content you mean whole
> article texts. I hope someone from the Guardian team can clarify this and
> in case I have to change my plans advise on possible workarounds.
>
> TIA Ramiro
>
> --
> You received this message because you are subscribed to the Google Groups "Guardian API Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
guardian-api-t...@googlegroups.com.
> To post to this group, send an email to
guardian...@googlegroups.com.
> Visit this group at
http://groups.google.com/group/guardian-api-talk?hl=en-GB.
> For more options, visit
https://groups.google.com/groups/opt_out.
>
>