• Register

News API v1.5 - RSS response format

Back to top

List Response - Navigation

This general response type is used for enumerating the available lists of resources, such as feeds, schedules,  packages and galleries when accessing the corresponding base endpoint:

<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/" version="2.0">
  <channel>
    <title>Press Association News API Feeds</title>
    <link>http://news.api.press.net/v1.5/feeds</link>
    <atom:link rel="self" href="http://news.api.press.net/v1.5/feeds" type="application/rss+xml" />
    <description>Press Association News API Feeds</description>
    <lastBuildDate>Mon, 17 Aug 2015 15:51:27 +0000</lastBuildDate>
    <opensearch:totalResults>25</opensearch:totalResults>
    <opensearch:startIndex>1</opensearch:startIndex>
    <opensearch:itemsPerPage>10</opensearch:itemsPerPage>
    <item>
      <title>Business and Finance</title>
      <link>http://news.api.press.net/v1.5/feeds/businessFinance</link>
      <guid isPermaLink="false">businessFinance</guid>
      <pubDate>Mon, 17 Aug 2015 15:51:27 +0000</pubDate>
    </item>
  </channel>
</rss>

All list types for the RSS response format are structured as RSS channels, with each option listed as an item. Note that for navigation list responses, paging of results is exposed using opensearch elements and may be controlled by the offset and limit parameters. The itemsPerPage will be be no more than limit, whilst totalResults will be the total list size.

The channel has a title and link (also an atom self link) to the original resource. The lastBuildDate is used to convery the origin time of the list rendition. Opensearch elements are used to aid navigation.

Each item has a guid, title and pubDate for publish time, as well as an a link which may be used to access the individual resource.

Search Response

The search response is returned for feed listing/searching and ad-hoc general searches on the /assets and /feeds/{id} endpoints. The response is based on the list response, but with additional information to assist navigation through the result space.

<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:pa="http://rss.pressassociation.com/pa" version="2.0">
  <channel>
    <title>Search Results</title>
    <link>http://news.api.press.net/v1.5/assets?sortby=modified:desc&amp;facets=when,tag</link>
    <atom:link rel="self" href="http://news.api.press.net/v1.5/assets?sortby=modified:desc&amp;facets=when,tag" type="application/rss+xml" />
    <description>Search Results</description>
    <lastBuildDate>Mon, 17 Aug 2015 16:02:34 +0000</lastBuildDate>
    <opensearch:totalResults>6386</opensearch:totalResults>
    <opensearch:startIndex>1</opensearch:startIndex>
    <opensearch:itemsPerPage>10</opensearch:itemsPerPage>
    <pa:facets>
      <pa:facet field="when">
        <pa:facetValue term="today" label="Today" count="6" />
        <pa:facetValue term="yesterday" label="Yesterday" count="6" />
        <pa:facetValue term="7-days" label="7-days" count="12" />
        <pa:facetValue term="30-days" label="30-days" count="29" />
        <pa:facetValue term="older" label="Older" count="6357" />
      </pa:facet>
      <pa:facet field="tag">
        <pa:facetValue term="pacategory:HHH" label="Home News" count="5247" />
        <pa:facetValue term="patopic:INDUSTRY" label="Industry" count="2927" />
        <pa:facetValue term="patopic:SCHEDULE" label="Schedule" count="2369" />
        <pa:facetValue term="patopic:CITY" label="City" count="924" />
        <pa:facetValue term="pacategory:FFF" label="Financial (City) copy" count="771" />
        <pa:facetValue term="patopic:POLITICS" label="Politics" count="165" />
        <pa:facetValue term="patopic:SCOTLAND" label="Scotland" count="112" />
        <pa:facetValue term="pacategory:SCN" label="Scottish News" count="95" />
        <pa:facetValue term="pasportstopic:SCHEDULE" label="Schedule" count="93" />
      </pa:facet>
    </pa:facets>
    <item>
      <title>Chief executives' average pay '183 times that of workers'</title>
      <link>http://news.api.press.net/v1.5/assets/71890800-3f4f-48b7-bb5b-d3f179961a53</link>
      <atom:link rel="story" href="http://news.api.press.net/v1.5/stories/ea4b7e43-4548-4c2d-9081-834fdff27a00" type="application/rss+xml" />
      <description>The average pay of a chief executive in leading companies is almost £5 million - 183 times that of workers, a new study has revealed.</description>
      <category domain="keyword">Pay</category>
      <category domain="simple-tag">High Pay Centre</category>
      <category domain="simple-tag">Chief executives</category>
      <category domain="simple-tag">FTSE 100 Index</category>
      <category domain="simple-tag">TUC</category>
      <category domain="wire-topic">Industry</category>
      <category domain="wire-topic">City</category>
      <category domain="wire-topic">Money</category>
      <category domain="category">Home News</category>
      <guid isPermaLink="false">71890800-3f4f-48b7-bb5b-d3f179961a53</guid>
      <pubDate>Mon, 17 Aug 2015 10:27:13 +0000</pubDate>
      <content:encoded><![CDATA[<article><section data-page-number="1" data-page-modified="2015-08-16T23:01:00Z"><p>The average pay of a chief executive in leading companies is almost £5 million - 183 times that of workers, a new study has revealed.</p><p>The top 10 highest-paid chief executives (CEOs) were paid over £156 million between them in 2014, prompting fresh calls for action to curb executive pay.</p><p>Research among FTSE 100 companies by the High Pay Centre think tank found that average pay jumped to £4.964 million in 2014, compared with £4.129 million in 2010.</p><p>The figure was 183 times the earnings of average full-time workers, up from 160 times in 2010.</p><p>High Pay Centre director Deborah Hargreaves said: "Pay packages of this size go far beyond what is sensible or necessary to reward and inspire top executives.</p><p>"It's more likely that corporate governance structures in the UK are riddled with glaring weaknesses and conflicts of interest</p><p>"The coalition Government introduced some welcome reforms in 2013 that have at least enabled us to get a better understanding of the executive pay racket.</p><p>"However it's clear that these reforms didn't do nearly enough to start building a pay culture where everybody is rewarded fairly and proportionally for the work that they do."</p><p>The average pay ratio between FTSE 100 chief executives and the average wage of their employees was 148 last year, up from 146 in 2013.</p><p>Only a quarter of the FTSE 100 firms are accredited to the Living Wage Foundation for paying the living wage, the report added.</p><p>The report said changes to regulations so that UK-listed companies have to publish pay details of their lead executive appear to have had virtually no effect in curbing "excessive" executive pay.</p><p>"It seems highly unlikely that the gap between CEOs and other workers will close in the foreseeable future," said the report.</p><p>The reforms in 2013 increased the powers of shareholders to hold companies to account over executive pay, but they have shown "little interest" in doing so, said the High Pay Centre.</p><p>TUC general secretary Frances O'Grady said: "With top bosses now earning 183 times more than the average full-time worker, inequality is reaching stratospheric levels.</p><p>"After years of falling living standards it is a disgrace that top execs are taking an even bigger share of the rewards of growth. We need a recovery that works for the many and not just the few.</p><p>"Ordinary employees need to be included in workplace pay committees to add some common sense and reality to boardroom pay decisions. They should not be a closed shop for an elite who are only interested in looking after their own."</p><p>Unite general secretary Len McCluskey commented: "The parallel pay universe that Britain's top bosses live in has again been exposed by these new findings.</p><p>"Action needs to be taken to reduce the outrageous gap between CEOs pay and that of the average worker. Institutional shareholders increasingly need to use their clout to draw a line in the sand over CEO pay.</p><p>"CEOs ought to be putting cash into creating jobs, especially for apprentices and rewarding employees with decent pay rises, instead of greedily hosing themselves down with torrents of cash."</p></section><section data-page-number="2" data-page-modified="2015-08-17T09:29:05Z"><p>Labour leadership contender Jeremy Corbyn said: "These grotesque levels of inequality highlight the fact that our economy is working for the few not the many. We need to reform company law and strengthen workplace rights to ensure that all workers share in the proceeds of growth.</p><p>"We also need to promote different forms of ownership - such as co-operatives - so that consumers and workers aren't ripped off by the gratuitous greed of those at the top."</p></section><section data-page-number="3" data-page-modified="2015-08-17T10:27:13Z"><p>Green Party MEP and finance spokesperson Molly Scott Cato said: "This report shows that a chasm has opened up between executive and average pay, and proves that for many corporations paying less than the Living Wage is a choice and not a necessity.</p><p>"In the era of austerity a decision to serve their senior staff and shareholders at the expense of average workers is unacceptable."</p></section></article>]]></content:encoded>
      <dcterms:alternative>INDUSTRY Pay</dcterms:alternative>
      <pa:leadNumber>0</pa:leadNumber>
      <media:thumbnail url="https://news.static.press.net/v2/image/preview/eaa92cced98a30df4e65c8e7228170ee/2.23639132.jpg" width="511" height="376" />
      <media:content url="https://news.static.press.net/v2/image/production/94c2e658caba03c85046223ba0240a72/2.23639132.jpg" type="image/jpeg" width="3500" height="2577" fileSize="1952257">
        <media:thumbnail url="https://news.static.press.net/v2/image/thumbnail/35ce40fc6615dd2dd5e42223374768d7/2.23639132.jpg" width="128" height="94" />
        <media:thumbnail url="https://news.static.press.net/v2/image/preview/eaa92cced98a30df4e65c8e7228170ee/2.23639132.jpg" width="511" height="376" />
        <media:title>Pay study</media:title>
        <media:description>The High Pay Centre think tank found that chief executives' average pay jumped to £4.964 million in 2014</media:description>
        <media:credit>PA WIRE</media:credit>
      </media:content>
      <pa:type>asset</pa:type>
      <pa:embargoed>Sun, 16 Aug 2015 23:01:00 +0000</pa:embargoed>
    </item>
    <item ... 
  </channel>
</rss>

Again the totalResults and itemsPerPage have different values, indicating that you can page through the set of search results using the limit and offset parameters.

The above search response also includes a set of facets which can be used to drill down further into the result set, enabled by use of the facets parameter. The when facet provides a breakdown of results into commonly-used time bands (if a specific band contains no results then it will be omitted). The tag facet reveals how many results include the (up to) 10 most commonly used tags within the result set, inviting guided navigation by adding an additional ?tag= query parameter to add the relevant filter.

For search responses in RSS, each item is an asset represented as a Full Asset Response.

Package response

The package response is returned for packages, where there is a managed finite set of assets curated by PA editorial teams.

<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:pa="http://rss.pressassociation.com/pa" version="2.0">
  <channel>
    <title>Main News</title>
    <link>http://news.api.press.net/v1.5/packages/news-main</link>
    <atom:link rel="self" href="http://news.api.press.net/v1.5/packages/news-main" type="application/rss+xml" />
    <description />
    <lastBuildDate>Mon, 17 Aug 2015 15:50:40 +0000</lastBuildDate>
    <opensearch:totalResults>10</opensearch:totalResults>
    <opensearch:startIndex>1</opensearch:startIndex>
    <opensearch:itemsPerPage>10</opensearch:itemsPerPage>
    <item>
      <title>Jeremy Corbyn 'defiance' will leave Tories in charge, warns David Miliband</title>
      <link>http://news.api.press.net/v1.5/assets/82497c1e-3af8-4294-a5fb-a519215301ec</link>
      <atom:link rel="story" href="http://news.api.press.net/v1.5/stories/f40af4f7-d4e4-49c7-80bf-cf1387424aea" type="application/rss+xml" />
      <description>Labour leadership frontrunner Jeremy Corbyn would take the party "backwards" and risks leaving Britain a one-party state, David Miliband has warned.</description>
      <category domain="keyword">Labour</category>
      <category domain="simple-tag">Yvette Cooper</category>
      <category domain="simple-tag">Peter Mandelson</category>
      <category domain="simple-tag">Andy Burnham</category>
      <category domain="simple-tag">Liz Kendall</category>
      <category domain="simple-tag">Jeremy Corbyn</category>
      <category domain="simple-tag">Labour leadership</category>
      <category domain="simple-tag">Ben Bradshaw</category>
      <category domain="simple-tag">Labour party</category>
      <category domain="simple-tag">People's History Museum</category>
      <category domain="simple-tag">Government</category>
      <category domain="simple-tag">David Miliband</category>
      <category domain="wire-topic">Politics</category>
      <category domain="category">Home News</category>
      <guid isPermaLink="false">82497c1e-3af8-4294-a5fb-a519215301ec</guid>
      <pubDate>Mon, 17 Aug 2015 14:37:04 +0000</pubDate>
      <content:encoded><![CDATA[<article><section data-page-number="1" data-page-modified="2015-08-17T14:37:04Z"><p>Labour leadership frontrunner Jeremy Corbyn would take the party "backwards" and risks leaving Britain a one-party state, David Miliband has warned.</p><p>In the latest of a string of interventions from the party's big beasts, the former foreign secretary endorsed Liz Kendall to take the top job and disclosed that his second preference vote would go to Yvette Cooper.</p><p>The "angry defiance" of the Corbyn campaign will lead only to electoral defeat, he warns in an article for The Guardian.</p><p>Mr Miliband wrote: "Given the collapse of the Lib Dems, the stakes now are very high indeed, not just for Labour but for the country.</p><p>"Get it wrong, and Britain could become a multiparty democracy with only one party – the Conservative Party – that can win parliamentary majorities. A one-governing-party state."</p><p>Mr Miliband dismissed the radical left-winger's "demand that Labour become an anti-austerity movement on the Greek model".</p><p>He added: "The alternative to Syriza/ Corbyn is based on passionate reform, not angry defiance. Clear-eyed about the dangers of inequality, the corrosion of the public realm, the weakness of international political cooperation relative to economic forces, the necessity of domestic institutional change, it does not seek to fight the next election as a party of angry protest but instead as one of reforming government.</p><p>"The Corbyn programme looks backwards. The pledges of nationalisation, 7p in the pound increases in national insurance for those earning more than £50,000, and equivocation about Britain's place in the EU are the same ideas that I learned were wrong when I joined the Labour party in 1981."</p><p>It comes after both Mr Burnham and Mr Corbyn offered to "involve" each other in their teams if they succeeded Ed Miliband.</p><p>Mr Burnham told activists in Manchester there is a "good deal of common ground" between him and his rival on some of the major policy areas, including transport and education.</p><p>As he reached out to the Islington North MP's supporters, the shadow health secretary said Mr Corbyn had brought "real energy to this race" and he would "involve" his rival in his team from the outset.</p><p>But Mr Burnham warned there is a "real risk of division" following the increasingly bitter leadership contest and insisted he was the one candidate who could unite the party.</p><p>He said it was crucial for Labour to have a "credible" plan for public finances and criticised the Islington North MP's opaque stance on Britain's future in the European Union as well as his plans for renationalisation of utilities and "printing money" to pay for infrastructure.</p><p>Speaking at the People's History Museum in Manchester, he said: "My worry is that policies like these would leave us open to losing the argument on the economy on day one."</p><p>He added: "I won't let our party repeat the history of the early 1980s when we were more interested in fighting each other and we left the pitch clear for Margaret Thatcher to bulldoze her way through Labour communities up and down the country.</p><p>"I won't let those Bullingdon Boys - the heirs to Thatcher - do the same to people in 2015 as she did in 1985.</p><p>"That was the year I joined Labour here in the North West. I have given my life to it ever since.</p><p>"I am now fighting to win this contest with everything I've got because the very future of our party hangs in the balance."</p><p>After the speech, Mr Corbyn said: "We welcome Andy's inclusive tone towards our campaign and the view is mutual - if we win we would involve Andy in our team if he was willing. From day one, whoever wins must pull the party together."</p><p>Meanwhile, Yvette Cooper and Liz Kendall have denied reports that Lord Mandelson approached them in a bid to suspend the election by persuading the pair and Mr Burnham to drop out en masse.</p><p>While Ms Cooper said she had not been approached directly by the grandee and said she was unaware if her campaign team had been contacted, Ms Kendall insisted that neither she nor her office had spoken to the peer.</p><p>Asked about the claims made by the Telegraph, Ms Kendall told BBC Radio 4's World At One: "No, neither me nor anybody in my team (have spoken to Lord Mandelson). I have no idea where that came from."</p><p>Ms Kendall also rubbished suggestions that she has been asked to drop out of the race to boost Mr Burnham and Ms Cooper's chances of winning.</p><p>She said: "I haven't made that proposal and none of the other candidates have made that to me.</p><p>"I have said that I want people to vote for me with their first preference but they should use their second or third preferences for Yvette or Andy or Andy or Yvette.</p><p>"I'm not going to be dropping out in this contest, I can't stop making the case."</p></section></article>]]></content:encoded>
      <dcterms:alternative>POLITICS Labour</dcterms:alternative>
      <pa:leadNumber>3</pa:leadNumber>
      <media:thumbnail url="https://news.static.press.net/v2/image/preview/92a94679f1fce210ca6ca722e8fa5469/2.23257908.jpg" width="428" height="512" />
      <media:content url="https://news.static.press.net/v2/image/production/cfc19828bd1e990ac0b75313adfb320f/2.23257908.jpg" type="image/jpeg" width="2632" height="3148" fileSize="663173">
        <media:thumbnail url="https://news.static.press.net/v2/image/thumbnail/5e2faa67fde07f089c2309954583f20b/2.23257908.jpg" width="107" height="128" />
        <media:thumbnail url="https://news.static.press.net/v2/image/preview/92a94679f1fce210ca6ca722e8fa5469/2.23257908.jpg" width="428" height="512" />
        <media:title>David Miliband interview</media:title>
        <media:description>David Miliband is warning Labour not to go back to the policies of the 1980s</media:description>
        <media:credit>PA WIRE</media:credit>
      </media:content>
      <media:content url="https://news.static.press.net/v2/image/production/17a2ff1ffcacab043777b6f13d2348fe/2.23833199.jpg" type="image/jpeg" width="3600" height="2451" fileSize="550395">
        <media:thumbnail url="https://news.static.press.net/v2/image/thumbnail/c807077cdfcbf88a3bdcfd406e431173/2.23833199.jpg" width="128" height="87" />
        <media:thumbnail url="https://news.static.press.net/v2/image/preview/09d184385a4dda4045cfb48b6f4fbd7a/2.23833199.jpg" width="511" height="348" />
        <media:title>Labour leadership contest</media:title>
        <media:description>Andy Burnham has said he will reach out to Jeremy Corbyn and his supporters in an appeal for party unity as the leadership election threatens to tear Labour apart</media:description>
        <media:credit>PA WIRE</media:credit>
      </media:content>
      <media:content url="https://news.static.press.net/v2/image/production/00c88be45afb4515b5e194ac2829867b/2.23817466.jpg" type="image/jpeg" width="4240" height="2524" fileSize="1278471">
        <media:thumbnail url="https://news.static.press.net/v2/image/thumbnail/028be61f03e085217ea4c27031b292f7/2.23817466.jpg" width="128" height="76" />
        <media:thumbnail url="https://news.static.press.net/v2/image/preview/c9e45c66391bd3556dd3da72ac006c76/2.23817466.jpg" width="511" height="304" />
        <media:title>Labour leadership contest</media:title>
        <media:description>Yvette Cooper says she has not had direct discussions with Lord Mandelson about quitting Labour's leadership race</media:description>
        <media:credit>PA WIRE</media:credit>
      </media:content>
      <media:content url="https://news.static.press.net/v2/image/production/74e11c845cd49a6e2b1ab8b394365cae/2.23806339.jpg" type="image/jpeg" width="2817" height="3600" fileSize="719040">
        <media:thumbnail url="https://news.static.press.net/v2/image/thumbnail/123fd9f1ca2725bbb2204e46e2091411/2.23806339.jpg" width="100" height="128" />
        <media:thumbnail url="https://news.static.press.net/v2/image/preview/af76a236338bdd5fcaa0fab7332fbd9d/2.23806339.jpg" width="400" height="511" />
        <media:title>Labour leadership contest</media:title>
        <media:description>Liz Kendall says she is not dropping out of the Labour leadership contest</media:description>
        <media:credit>PA WIRE</media:credit>
      </media:content>
      <pa:videoRef>urn:newsml:pressassociation.com:20150817:IPkg1439820530348I</pa:videoRef>
      <pa:type>asset</pa:type>
    </item>
    <item ... 
  </channel>
</rss>

The package response is also returned as an RSS channel, where every curated asset in the package is an item. The channel title and link identifies the package, whilst the lastBuildDate element is the last time the package was published by PA editorial with any changes (textual or media).

The RSS item for each asset in the package is returned as a Full Asset Response (unlike the JSON) so that the entire package feed may be ingested and used without further API calls.

Each asset returned in a package is always the last published lead from the story of that asset. Therefore the asset id (item/guid) may change over time as new leads are written and published to replace the previous. However there will always be a consistent link to the story that the asset belongs to, in the <atom:link rel="story" .../> element. The <pa:leadNumber> in each entry will inform which lead the asset is within it's story.

Schedule response

The schedule response is returned for schedules, where there is a managed finite set of assets curated by PA editorial teams.

<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:pa="http://rss.pressassociation.com/pa" version="2.0">
  <channel>
    <title>News Schedule</title>
    <link>http://news.api.press.net/v1.5/schedules/news</link>
    <atom:link rel="self" href="http://news.api.press.net/v1.5/schedules/news" type="application/rss+xml" />
    <description>News Schedule</description>
    <lastBuildDate>Mon, 17 Aug 2015 15:45:56 +0000</lastBuildDate>
    <opensearch:totalResults>27</opensearch:totalResults>
    <opensearch:startIndex>1</opensearch:startIndex>
    <opensearch:itemsPerPage>27</opensearch:itemsPerPage>
    <item>
      <title>Jeremy Corbyn 'defiance' will leave Tories in charge, warns David Miliband</title>
      <link>http://news.api.press.net/v1.5/assets/82497c1e-3af8-4294-a5fb-a519215301ec</link>
      <atom:link rel="story" href="http://news.api.press.net/v1.5/stories/f40af4f7-d4e4-49c7-80bf-cf1387424aea" type="application/rss+xml" />
      <description>Labour leadership frontrunner Jeremy Corbyn would take the party "backwards" and risks leaving Britain a one-party state, David Miliband has warned.</description>
      <category domain="keyword">Labour</category>
      <category domain="simple-tag">Yvette Cooper</category>
      <category domain="simple-tag">Peter Mandelson</category>
      <category domain="simple-tag">Andy Burnham</category>
      <category domain="simple-tag">Liz Kendall</category>
      <category domain="simple-tag">Jeremy Corbyn</category>
      <category domain="simple-tag">Labour leadership</category>
      <category domain="simple-tag">Ben Bradshaw</category>
      <category domain="simple-tag">Labour party</category>
      <category domain="simple-tag">People's History Museum</category>
      <category domain="simple-tag">Government</category>
      <category domain="simple-tag">David Miliband</category>
      <category domain="wire-topic">Politics</category>
      <category domain="category">Home News</category>
      <guid isPermaLink="false">82497c1e-3af8-4294-a5fb-a519215301ec</guid>
      <pubDate>Mon, 17 Aug 2015 14:37:04 +0000</pubDate>
      <content:encoded><![CDATA[<article><section data-page-number="1" data-page-modified="2015-08-17T14:37:04Z"><p>Labour leadership frontrunner Jeremy Corbyn would take the party "backwards" and risks leaving Britain a one-party state, David Miliband has warned.</p><p>In the latest of a string of interventions from the party's big beasts, the former foreign secretary endorsed Liz Kendall to take the top job and disclosed that his second preference vote would go to Yvette Cooper.</p><p>The "angry defiance" of the Corbyn campaign will lead only to electoral defeat, he warns in an article for The Guardian.</p><p>Mr Miliband wrote: "Given the collapse of the Lib Dems, the stakes now are very high indeed, not just for Labour but for the country.</p><p>"Get it wrong, and Britain could become a multiparty democracy with only one party – the Conservative Party – that can win parliamentary majorities. A one-governing-party state."</p><p>Mr Miliband dismissed the radical left-winger's "demand that Labour become an anti-austerity movement on the Greek model".</p><p>He added: "The alternative to Syriza/ Corbyn is based on passionate reform, not angry defiance. Clear-eyed about the dangers of inequality, the corrosion of the public realm, the weakness of international political cooperation relative to economic forces, the necessity of domestic institutional change, it does not seek to fight the next election as a party of angry protest but instead as one of reforming government.</p><p>"The Corbyn programme looks backwards. The pledges of nationalisation, 7p in the pound increases in national insurance for those earning more than £50,000, and equivocation about Britain's place in the EU are the same ideas that I learned were wrong when I joined the Labour party in 1981."</p><p>It comes after both Mr Burnham and Mr Corbyn offered to "involve" each other in their teams if they succeeded Ed Miliband.</p><p>Mr Burnham told activists in Manchester there is a "good deal of common ground" between him and his rival on some of the major policy areas, including transport and education.</p><p>As he reached out to the Islington North MP's supporters, the shadow health secretary said Mr Corbyn had brought "real energy to this race" and he would "involve" his rival in his team from the outset.</p><p>But Mr Burnham warned there is a "real risk of division" following the increasingly bitter leadership contest and insisted he was the one candidate who could unite the party.</p><p>He said it was crucial for Labour to have a "credible" plan for public finances and criticised the Islington North MP's opaque stance on Britain's future in the European Union as well as his plans for renationalisation of utilities and "printing money" to pay for infrastructure.</p><p>Speaking at the People's History Museum in Manchester, he said: "My worry is that policies like these would leave us open to losing the argument on the economy on day one."</p><p>He added: "I won't let our party repeat the history of the early 1980s when we were more interested in fighting each other and we left the pitch clear for Margaret Thatcher to bulldoze her way through Labour communities up and down the country.</p><p>"I won't let those Bullingdon Boys - the heirs to Thatcher - do the same to people in 2015 as she did in 1985.</p><p>"That was the year I joined Labour here in the North West. I have given my life to it ever since.</p><p>"I am now fighting to win this contest with everything I've got because the very future of our party hangs in the balance."</p><p>After the speech, Mr Corbyn said: "We welcome Andy's inclusive tone towards our campaign and the view is mutual - if we win we would involve Andy in our team if he was willing. From day one, whoever wins must pull the party together."</p><p>Meanwhile, Yvette Cooper and Liz Kendall have denied reports that Lord Mandelson approached them in a bid to suspend the election by persuading the pair and Mr Burnham to drop out en masse.</p><p>While Ms Cooper said she had not been approached directly by the grandee and said she was unaware if her campaign team had been contacted, Ms Kendall insisted that neither she nor her office had spoken to the peer.</p><p>Asked about the claims made by the Telegraph, Ms Kendall told BBC Radio 4's World At One: "No, neither me nor anybody in my team (have spoken to Lord Mandelson). I have no idea where that came from."</p><p>Ms Kendall also rubbished suggestions that she has been asked to drop out of the race to boost Mr Burnham and Ms Cooper's chances of winning.</p><p>She said: "I haven't made that proposal and none of the other candidates have made that to me.</p><p>"I have said that I want people to vote for me with their first preference but they should use their second or third preferences for Yvette or Andy or Andy or Yvette.</p><p>"I'm not going to be dropping out in this contest, I can't stop making the case."</p></section></article>]]></content:encoded>
      <dcterms:alternative>POLITICS Labour</dcterms:alternative>
      <pa:leadNumber>3</pa:leadNumber>
      <media:thumbnail url="https://news.static.press.net/v2/image/preview/92a94679f1fce210ca6ca722e8fa5469/2.23257908.jpg" width="428" height="512" />
      <media:content url="https://news.static.press.net/v2/image/production/cfc19828bd1e990ac0b75313adfb320f/2.23257908.jpg" type="image/jpeg" width="2632" height="3148" fileSize="663173">
        <media:thumbnail url="https://news.static.press.net/v2/image/thumbnail/5e2faa67fde07f089c2309954583f20b/2.23257908.jpg" width="107" height="128" />
        <media:thumbnail url="https://news.static.press.net/v2/image/preview/92a94679f1fce210ca6ca722e8fa5469/2.23257908.jpg" width="428" height="512" />
        <media:title>David Miliband interview</media:title>
        <media:description>David Miliband is warning Labour not to go back to the policies of the 1980s</media:description>
        <media:credit>PA WIRE</media:credit>
      </media:content>
      <media:content url="https://news.static.press.net/v2/image/production/17a2ff1ffcacab043777b6f13d2348fe/2.23833199.jpg" type="image/jpeg" width="3600" height="2451" fileSize="550395">
        <media:thumbnail url="https://news.static.press.net/v2/image/thumbnail/c807077cdfcbf88a3bdcfd406e431173/2.23833199.jpg" width="128" height="87" />
        <media:thumbnail url="https://news.static.press.net/v2/image/preview/09d184385a4dda4045cfb48b6f4fbd7a/2.23833199.jpg" width="511" height="348" />
        <media:title>Labour leadership contest</media:title>
        <media:description>Andy Burnham has said he will reach out to Jeremy Corbyn and his supporters in an appeal for party unity as the leadership election threatens to tear Labour apart</media:description>
        <media:credit>PA WIRE</media:credit>
      </media:content>
      <media:content url="https://news.static.press.net/v2/image/production/00c88be45afb4515b5e194ac2829867b/2.23817466.jpg" type="image/jpeg" width="4240" height="2524" fileSize="1278471">
        <media:thumbnail url="https://news.static.press.net/v2/image/thumbnail/028be61f03e085217ea4c27031b292f7/2.23817466.jpg" width="128" height="76" />
        <media:thumbnail url="https://news.static.press.net/v2/image/preview/c9e45c66391bd3556dd3da72ac006c76/2.23817466.jpg" width="511" height="304" />
        <media:title>Labour leadership contest</media:title>
        <media:description>Yvette Cooper says she has not had direct discussions with Lord Mandelson about quitting Labour's leadership race</media:description>
        <media:credit>PA WIRE</media:credit>
      </media:content>
      <media:content url="https://news.static.press.net/v2/image/production/74e11c845cd49a6e2b1ab8b394365cae/2.23806339.jpg" type="image/jpeg" width="2817" height="3600" fileSize="719040">
        <media:thumbnail url="https://news.static.press.net/v2/image/thumbnail/123fd9f1ca2725bbb2204e46e2091411/2.23806339.jpg" width="100" height="128" />
        <media:thumbnail url="https://news.static.press.net/v2/image/preview/af76a236338bdd5fcaa0fab7332fbd9d/2.23806339.jpg" width="400" height="511" />
        <media:title>Labour leadership contest</media:title>
        <media:description>Liz Kendall says she is not dropping out of the Labour leadership contest</media:description>
        <media:credit>PA WIRE</media:credit>
      </media:content>
      <pa:videoRef>urn:newsml:pressassociation.com:20150817:IPkg1439820530348I</pa:videoRef>
      <pa:type>asset</pa:type>
      <pa:edNote>We have run a series of Q&amp;As based on PA interviews with the leadership contenders. Copy by David Hughes (@DavidHughesPA).</pa:edNote>
    </item>
    <item ... 
  </channel>
</rss>

The schedule response is similar to the packages response, in that it is returned as an RSS single channel with an RSS item for the last published lead of each asset. The channel title and link identifies the schedule, whilst the lastBuildDate element is the last publish time of the schedule.

The RSS item for each asset in the schedule is returned as a Full Asset Response (unlike the JSON) so that the entire schedule feed may be ingested and used without further API calls.

The totalResults and itemsPerPage values will, by default, be equal to the number of items in the schedule - which are all returned. The offset and limit parameters may be passed to modify this behaviour to return less items.

Full Asset Response

The full asset response is always returned for an asset, to satisfy the needs of RSS specification.

    <item>
      <title>Breakdown of regional unemployment figures</title>
      <link>http://news.api.press.net/v1.5/assets/7e1f59bd-635f-4e25-97ca-408a4edf6395</link>
      <atom:link rel="story" href="http://news.api.press.net/v1.5/stories/38e87898-fbda-41fc-aa04-4365c9258070" type="application/rss+xml" />
      <description>Figures showing regional unemployment between April and June (region, total unemployed, change on quarter and unemployment rate)</description>
      <category domain="keyword">Unemployment</category>
      <category domain="keyword">Regions</category>
      <category domain="simple-tag">unemployment rate</category>
      <category domain="simple-tag">Regions of England</category>
      <category domain="simple-tag">Wales</category>
      <category domain="simple-tag">Scotland</category>
      <category domain="simple-tag">Northern Ireland</category>
      <category domain="simple-tag">Unemployment</category>
      <category domain="wire-topic">Industry</category>
      <category domain="wire-topic">Politics</category>
      <category domain="category">Home News</category>
      <category domain="category">Scottish News</category>
      <category domain="category">Welsh Parliament</category>
      <category domain="category">Irish Parliament</category>
      <guid isPermaLink="false">7e1f59bd-635f-4e25-97ca-408a4edf6395</guid>
      <pubDate>Wed, 12 Aug 2015 08:55:31 +0000</pubDate>
      <content:encoded><![CDATA[<article><section data-page-number="1" data-page-modified="2015-08-12T08:55:31Z"><p>Figures showing regional unemployment between April and June (region, total unemployed, change on quarter and unemployment rate)</p><p>North East 103,000 plus 7,000 8.1%</p><p>North West 213,000 plus 11,000 6.0%</p><p>Yorkshire and The Humber 174,000 minus 3,000 6.5%</p><p>East Midlands 112,000 minus 3,000 4.7%</p><p>West Midlands 167,000 minus 12,000 6.0%</p><p>East of England 146,000 plus 9,000 4.7%</p><p>London 307,000 plus 22,000 6.7%</p><p>South East 207,000 plus 11,000 4.5%</p><p>South West 124,000 plus 5,000 4.4%</p><p>Wales 90,000 minus 9,000 5.9%</p><p>Scotland 155,000 minus 13,000 5.6%</p><p>Northern Ireland 56,000 plus 1,000 6.5%</p></section></article>]]></content:encoded>
      <dcterms:alternative>INDUSTRY Unemployment Regions</dcterms:alternative>
      <dcterms:relation>http://news.api.press.net/v1.5/stories/d529f6d3-bd18-4372-984d-0b9a0d31ee06</dcterms:relation>
      <pa:leadNumber>0</pa:leadNumber>
      <media:thumbnail url="https://news.static.press.net/v2/image/preview/8db1b5a848c824749459c219a9fdf436/2.23320122.jpg" width="511" height="325" />
      <media:content url="https://news.static.press.net/v2/image/production/501ceac342642bcc25982224f616c98b/2.23320122.jpg" type="image/jpeg" width="2813" height="1790" fileSize="492197">
        <media:thumbnail url="https://news.static.press.net/v2/image/thumbnail/f0d427b5a1cc2c2a911ad95592c463ff/2.23320122.jpg" width="127" height="81" />
        <media:thumbnail url="https://news.static.press.net/v2/image/preview/8db1b5a848c824749459c219a9fdf436/2.23320122.jpg" width="511" height="325" />
        <media:title>Jobless figure expected to fall</media:title>
        <media:description>Some regions fare better than others in the new unemployment figures</media:description>
        <media:credit>PA WIRE</media:credit>
      </media:content>
      <pa:type>asset</pa:type>
    </item>

The elements have the following usage:

KeyRequired?Usage
guid mandatory The unique identifier for the asset
title mandatory The headline of the asset
dcterms:alternative mandatory A PA moniker for the story, intended for editorial use but not for display to consumers
pa:leadNumber optional The sequence number of this asset from the leads for the story, from 0
atom:link rel="story" optional A link to the overall story that this asset is part of, through which the shared media, sidebars etc may be discovered
dcterms:relation optional If a child 'sidebar' asset, a link to the parent story
pubDate mandatory The date and time of the last published update to this story
category mandatory The set of classification and entity metadata tagged against the asset i.e. tags. Each category has a value. The domain value is used to disambiguate different category domains, such as keyword. Unfortunately the value is only a displayable name and cannot be used in the tag constraint e.g. tag=value
description optional A short abstract/description of the story. Commonly this is the first paragraph of the story (PA's intros are written to be stand-alone in this way) unless a specific abstract has been written.
media.thumbnail optional The media thumbnail at the entry root level is always the preview of the first image for the asset, for convenience
media.content mandatory Related pictures for the story, if any. Preview and thumbnails are provided as child media:thumbnail entries, and a caption as media.description. Crops information may also appear within this element.
pa:videoRef optional The ID of a video relating to this story. Videos are uploaded to customers' CDNs and are not available directly through the News API.
content:encoded mandatory The body content of the story, as a CDATA enclosed HTML5 article element

pa:type mandatory The type of asset, such as "asset", "snap", "advisory". Sidebars are still assets, but have the "related" link to a parent story

Story response

The story response is returned when accessing the /stories/{story_id} endpoint. Story ids are revealed in the story section of assets. For example:

<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:pa="http://rss.pressassociation.com/pa" version="2.0">
   <channel>
      <title>Story 479dc90c-63c5-4076-9fc3-7b1d4e1f2c6a</title>
      <link>http://news.api.press.net/v1.5/stories/479dc90c-63c5-4076-9fc3-7b1d4e1f2c6a</link>
      <atom:link rel="self" href="http://news.api.press.net/v1.5/stories/479dc90c-63c5-4076-9fc3-7b1d4e1f2c6a" type="application/rss+xml" />
      <description>Story 479dc90c-63c5-4076-9fc3-7b1d4e1f2c6a</description>
      <lastBuildDate>Tue, 18 Aug 2015 09:11:26 +0000</lastBuildDate>
      <item>
         <title>INDUSTRY Strike</title>
         <link>http://news.api.press.net/v1.5/stories/479dc90c-63c5-4076-9fc3-7b1d4e1f2c6a</link>
         <atom:link rel="latest-lead" href="http://news.api.press.net/v1.5/assets/f2f857e8-1ce4-4997-86ca-10a4382dd00d" type="application/rss+xml" />
         <description>INDUSTRY Strike</description>
         <guid isPermaLink="false">479dc90c-63c5-4076-9fc3-7b1d4e1f2c6a</guid>
         <pubDate>Thu, 10 Jul 2014 21:03:29 +0000</pubDate>
         <media:thumbnail url="https://news.static.press.net/v2/image/preview/2656b3c8b05f809a223a82caa9e047c3/2.20360036.jpg" width="511" height="340" />
         <media:content url="https://news.static.press.net/v2/image/production/318b0438136563e83e2200ee67e6c11b/2.20360036.jpg" type="image/jpeg" width="4252" height="2830" fileSize="2210113">
            <media:thumbnail url="https://news.static.press.net/v2/image/thumbnail/97c79ce5a33be45d48bfadbb428e11b6/2.20360036.jpg" width="127" height="84" />
            <media:thumbnail url="https://news.static.press.net/v2/image/preview/2656b3c8b05f809a223a82caa9e047c3/2.20360036.jpg" width="511" height="340" />
            <media:title>Public sector strike</media:title>
            <media:description>Public sector workers marched through Newcastle city centre as part of the one-day walkout</media:description>
            <media:credit>PA WIRE</media:credit>
         </media:content>
         <pa:videoRef>urn:newsml:pressassociation.com:20140710:Ikes1405015717096I</pa:videoRef>
         <pa:type>story</pa:type>
      </item>
   </channel>
</rss>

The story response is an RSS channel where the single item is the summary of the last published asset lead of the story. Via this entry the story media is exposed. Note the <atom:link rel="latest-lead" .../> element, which links to the asset id of the latest lead.

Gallery response

The gallery response is returned by the /galleries/{gallery_id} endpoint and is a specialised media asset containing a set of curated pictures on a theme. The response looks like:

<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:pa="http://rss.pressassociation.com/pa" version="2.0">
   <channel>
      <title>August 8 week - in pictures</title>
      <link>http://news.api.press.net/v1.5/galleries/week-in-photos</link>
      <atom:link rel="self" href="http://news.api.press.net/v1.5/galleries/week-in-photos" type="application/rss+xml" />
      <description>Week In Photos</description>
      <lastBuildDate>Fri, 14 Aug 2015 06:09:28 +0000</lastBuildDate>
      <item>
         <title>August 8 week - in pictures</title>
         <link>http://news.api.press.net/v1.5/galleries/week-in-photos</link>
         <description>Week In Photos</description>
         <guid isPermaLink="false">week-in-photos</guid>
         <pubDate>Fri, 14 Aug 2015 06:09:28 +0000</pubDate>
         <dcterms:alternative>Week In Photos</dcterms:alternative>
         <media:thumbnail url="https://news.static.press.net/v2/image/preview/53b9300636385bd3fcb6baa7eba6cd3e/2.23803280.jpg" width="511" height="340" />
         <media:content url="https://news.static.press.net/v2/image/production/96fc5a4eec92314d5e3460ebec5ca386/2.23803280.jpg" type="image/jpeg" width="3500" height="2330" fileSize="1057066">
            <media:thumbnail url="https://news.static.press.net/v2/image/thumbnail/827dd2517003eb39e74b5d81b3fe2aaa/2.23803280.jpg" width="127" height="84" />
            <media:thumbnail url="https://news.static.press.net/v2/image/preview/53b9300636385bd3fcb6baa7eba6cd3e/2.23803280.jpg" width="511" height="340" />
            <media:title>Perseid meteor shower</media:title>
            <media:description>A shooting star seen through thin cloud in the skies over the Bathing House at Howick in Northumberland as the annual Perseids meteor shower peaked, delighting viewers in the Midlands and the North. (PA)</media:description>
            <media:credit>PA WIRE</media:credit>
         </media:content>
         <media:content url="https://news.static.press.net/v2/image/production/a08d18eaa694ed7f24c7c5857fc264c9/2.23788426.jpg" type="image/jpeg" width="4812" height="3330" fileSize="2075149">
            <media:thumbnail url="https://news.static.press.net/v2/image/thumbnail/db930b4ef25e8571c9855ee9f0ca84d2/2.23788426.jpg" width="127" height="88" />
            <media:thumbnail url="https://news.static.press.net/v2/image/preview/3278c1aaceee4111acf08776716a8b05/2.23788426.jpg" width="512" height="354" />
            <media:title>Conley Thompson funeral</media:title>
            <media:description>The coffin of seven-year-old Conley Thompson arrives at St Thomas and St James Church in Worsbrough Dale for his superhero-themed funeral. Conley died after falling into a pipe on a building site. (PA)</media:description>
            <media:credit>PA WIRE</media:credit>
         </media:content>
         <media:content url="https://news.static.press.net/v2/image/production/076939a1803d666d0bfb2cb4697286bf/2.23787727.jpg" type="image/jpeg" width="4782" height="2934" fileSize="2733036">
            <media:thumbnail url="https://news.static.press.net/v2/image/thumbnail/d1b604f75976c5c928735bd767fc1db1/2.23787727.jpg" width="127" height="78" />
            <media:thumbnail url="https://news.static.press.net/v2/image/preview/e3d976b629a5837b9736c9a39ff0a894/2.23787727.jpg" width="512" height="314" />
            <media:title>Baby undulate rays</media:title>
            <media:description>Two endangered 10cm baby undulate rays which were born last month at the Sea Life London Aquarium. (PA)</media:description>
            <media:credit>PA WIRE</media:credit>
         </media:content>
         <media:content url="https://news.static.press.net/v2/image/production/a4a43acfaa17949cc29f0e057137d9a9/2.23799914.jpg" type="image/jpeg" width="5040" height="2988" fileSize="2391220">
            <media:thumbnail url="https://news.static.press.net/v2/image/thumbnail/9bcd1566c5c50bd72b51b608dc7c0956/2.23799914.jpg" width="127" height="75" />
            <media:thumbnail url="https://news.static.press.net/v2/image/preview/5d852e8794ab6369aee74240be4df4a6/2.23799914.jpg" width="511" height="303" />
            <media:title>Don Lock funeral</media:title>
            <media:description>Cyclists perform a guard of honour with their bike wheels as the coffin of great-grandfather Don Lock arrives at Worthing Crematorium. (PA)</media:description>
            <media:credit>PA WIRE</media:credit>
         </media:content>
         <media:content url="https://news.static.press.net/v2/image/production/a66bb8065e6ae773c52e7e081133c672/2.23795365.jpg" type="image/jpeg" width="3200" height="2415" fileSize="5231964">
            <media:thumbnail url="https://news.static.press.net/v2/image/thumbnail/9c87d225cb0521b4c71fc382d4236a91/2.23795365.jpg" width="127" height="96" />
            <media:thumbnail url="https://news.static.press.net/v2/image/preview/bbceab321f44dde9903b61e898229e25/2.23795365.jpg" width="511" height="386" />
            <media:title>Tiger training at Blair Drummond Safari Park</media:title>
            <media:description>Blair Drummond Safari Park keeper Sandra Rainey goes through a training exercise with Bela, a 13-year-old Amur tiger. A tennis ball on the end of a stick is used by trainers to carry out health checks with a positive reward of food. (PA)</media:description>
            <media:credit>PA WIRE</media:credit>
         </media:content>
         <media:content url="https://news.static.press.net/v2/image/production/e71b35e437a62f7122482801b82a2134/2.23804717.jpg" type="image/jpeg" width="3500" height="2554" fileSize="1455556">
            <media:thumbnail url="https://news.static.press.net/v2/image/thumbnail/fc849e8ca291b20ed5520d89a893c38e/2.23804717.jpg" width="128" height="93" />
            <media:thumbnail url="https://news.static.press.net/v2/image/preview/97dec1312162881a333a9debd05791c3/2.23804717.jpg" width="511" height="373" />
            <media:title>A-level results</media:title>
            <media:description>Students, from left, Megan Armishaw, Kathryn Bullman, Ellie Stockwell, Georgina Ginnaw and Jasmine Bawa celebrate after receiving their A-level results at Chelmsford County High School for Girls. (PA)</media:description>
            <media:credit>PA WIRE</media:credit>
         </media:content>
         <media:content url="https://news.static.press.net/v2/image/production/0f5abb42769d9742fbe6c85c9f1b09a0/2.23798094.jpg" type="image/jpeg" width="3500" height="2334" fileSize="845744">
            <media:thumbnail url="https://news.static.press.net/v2/image/thumbnail/1515deb8c28b7005239f2802c669b8d2/2.23798094.jpg" width="127" height="85" />
            <media:thumbnail url="https://news.static.press.net/v2/image/preview/65121baada828579896cfc12ba0bdb21/2.23798094.jpg" width="511" height="341" />
            <media:title>Parrot and dog become friends</media:title>
            <media:description>Cracker, an African Grey parrot, sits on the back of Dudley, a Staffordshire Bull Terrier, outside their home in New Parks, Leicester. (PA)</media:description>
            <media:credit>PA WIRE</media:credit>
         </media:content>
         <media:content url="https://news.static.press.net/v2/image/production/4cc4c6d8eb3a8ce01a2141fa07b2382c/2.23807002.jpg" type="image/jpeg" width="3500" height="2355" fileSize="1083490">
            <media:thumbnail url="https://news.static.press.net/v2/image/thumbnail/78438a338e417d48cb4e11746b9e933f/2.23807002.jpg" width="128" height="86" />
            <media:thumbnail url="https://news.static.press.net/v2/image/preview/bc871f892fa29377614830326ecffe87/2.23807002.jpg" width="511" height="344" />
            <media:title>Summer weather Aug 13th 2015</media:title>
            <media:description>A man's umbrella is blown inside out as he take a photo with his mobile phone in Westminster, central London, as torrential downpours and thunderstorms swept in from the South.</media:description>
            <media:credit>PA WIRE</media:credit>
         </media:content>
         <media:content url="https://news.static.press.net/v2/image/production/3b1e2c440b5160b1a4b97b1dcb046c71/2.23772566.jpg" type="image/jpeg" width="4254" height="2929" fileSize="1990838">
            <media:thumbnail url="https://news.static.press.net/v2/image/thumbnail/53c7ffea8f62419cfe1de64c6c384f11/2.23772566.jpg" width="128" height="88" />
            <media:thumbnail url="https://news.static.press.net/v2/image/preview/de75bf75b64aebaacefccfe69316e291/2.23772566.jpg" width="511" height="352" />
            <media:title>Moffat Sheep Races 2015</media:title>
            <media:description>Sheep with knitted woollen jockeys on their backs race down Moffat High Street in Dumfriesshire, followed by seven-year-old Callum Horn, during the annual Moffat Sheep Races. (PA)</media:description>
            <media:credit>PA WIRE</media:credit>
         </media:content>
         <media:content url="https://news.static.press.net/v2/image/production/8ef20507bae5317bc05cdd7cd58ff532/2.23799352.jpg" type="image/jpeg" width="4000" height="2370" fileSize="2746511">
            <media:thumbnail url="https://news.static.press.net/v2/image/thumbnail/5a6645637f3d37654d38ebeb217861ed/2.23799352.jpg" width="127" height="75" />
            <media:thumbnail url="https://news.static.press.net/v2/image/preview/0aea362948fba3988c41280b356eef3e/2.23799352.jpg" width="511" height="303" />
            <media:title>Gung-Ho! event</media:title>
            <media:description>Europe's largest inflatable slide is unveiled at Liverpool Cricket club, and will be part of three Gung-Ho! events to raise money for local charities. (PA)</media:description>
            <media:credit>PA WIRE</media:credit>
         </media:content>
         <pa:type>gallery</pa:type>
      </item>
   </channel>
</rss>

The gallery response is an RSS channel with a single entry for the gallery. The channel title, linksand description identifies the gallery, as does the guid of the RSS item. The title may be updated to reflect the theme or date of the gallery. The channel lastBuildDate and item pubDate time is the publish time of the gallery.

The media:content material in the entry carries the gallery images, same as for an asset. The pa:type will always be "gallery".

Docs Navigation