Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

<media:keywords> is not processed #260

Open
2 tasks done
jsit opened this issue Nov 3, 2023 · 1 comment
Open
2 tasks done

<media:keywords> is not processed #260

jsit opened this issue Nov 3, 2023 · 1 comment
Labels

Comments

@jsit
Copy link

jsit commented Nov 3, 2023

The New Yorker's feed (which it labels as Atom) uses <media:keywords>, with a comma-separated list of tags:

https://www.newyorker.com/feed/rss

For instance:

<item>
  <title>Will Sam Bankman-Fried’s Guilty Verdict Change Anything?</title>
  <link>https://www.newyorker.com/news/our-local-correspondents/the-trials-of-sam-bankman-fried</link>
  <guid isPermaLink="false">6539673cdb4a6fd40731a4c3</guid>
  <pubDate>Fri, 03 Nov 2023 15:54:47 +0000</pubDate>
  <media:content/>
  <description>The former C.E.O. of FTX now faces up to a hundred and ten years in prison. But, beyond resetting his personal fate, it’s not yet clear what the trial accomplished.</description>
  <category>News / Our Local Correspondents</category>
  <media:keywords>Sam Bankman-Fried, Trials, Fraud, Cryptocurrency, Verdict, Crimes</media:keywords>
  <dc:creator>Gideon Lewis-Kraus</dc:creator>
  <dc:publisher>Condé Nast</dc:publisher>
  <media:thumbnail url="https://media.newyorker.com/photos/6544fcde8c6b6b5e03c9f9d8/master/pass/GLK-SBF-Guilty-2.jpg" width="2497" height="2560"/>
</item>

This seems to be part of RSS 2.0?

https://www.rssboard.org/media-rss#media-keywords

In any case, it would be nice if these were processed like <category> elements.

Checklist
  • Create src/parser.js53278f6 Edit
  • Running GitHub Actions for src/parser.jsEdit
@rbren rbren added the sweep label Feb 6, 2024
Copy link

sweep-ai bot commented Feb 6, 2024

🚀 Here's the PR! #267

See Sweep's progress at the progress dashboard!
Sweep Basic Tier: I'm using GPT-4. You have 5 GPT-4 tickets left for the month and 3 for the day. (tracking ID: f82993a837)

For more GPT-4 tickets, visit our payment portal. For a one week free trial, try Sweep Pro (unlimited GPT-4 tickets).
Install Sweep Configs: Pull Request

Tip

I can email you next time I complete a pull request if you set up your email here!


Actions (click)

  • ↻ Restart Sweep

GitHub Actions failed

The sandbox appears to be unavailable or down.


Step 1: 🔎 Searching

I found the following snippets in your repository. I will now analyze these snippets and come up with a plan.

Some code snippets I think are relevant in decreasing order of relevance (click to expand). If some file is missing from here, you can mention the path in the ticket description.

<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:media="http://search.yahoo.com/mrss/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
<channel>
<title>The Guardian</title>
<link>https://www.theguardian.com/us</link>
<description>Latest US news, world news, sports, business, opinion, analysis and reviews from the Guardian, the world's leading liberal voice</description>
<language>en-gb</language>
<copyright>Guardian News and Media Limited or its affiliated companies. All rights reserved. 2018</copyright>
<pubDate>Wed, 31 Jan 2018 20:15:15 GMT</pubDate>
<dc:date>2018-01-31T20:15:15Z</dc:date>
<dc:language>en-gb</dc:language>
<dc:rights>Guardian News and Media Limited or its affiliated companies. All rights reserved. 2018</dc:rights>
<image>
<title>The Guardian</title>
<url>https://assets.guim.co.uk/images/guardian-logo-rss.c45beb1bafa34b347ac333af2e6fe23f.png</url>
<link>https://www.theguardian.com</link>
</image>
<item>
<title>Trump State of the Union address promised unity but emphasized discord</title>
<link>https://www.theguardian.com/us-news/2018/jan/31/donald-trump-state-of-the-union-address-unity-discord</link>
<description>&lt;p&gt;The president’s ‘new American moment’ speech stirred Republican applause while Democrats showed thinly disguised contempt&lt;/p&gt;&lt;p&gt;Donald Trump has promised a “new American moment” in a State of the Union address that sought harmony but succeeded only in underlining the deep discord at the heart of the country’s politics.&lt;/p&gt;&lt;p&gt; &lt;span&gt;Related: &lt;/span&gt;&lt;a href="https://www.theguardian.com/us-news/2018/jan/30/state-of-the-union-fact-check-trumps-address-analyzed"&gt;Fact check: Donald Trump's State of the Union address analyzed&lt;/a&gt; &lt;/p&gt; &lt;a href="https://www.theguardian.com/us-news/2018/jan/31/donald-trump-state-of-the-union-address-unity-discord"&gt;Continue reading...&lt;/a&gt;</description>
<category domain="https://www.theguardian.com/us-news/donaldtrump">Donald Trump</category>
<category domain="https://www.theguardian.com/us-news/state-of-the-union-address">State of the Union address</category>
<category domain="https://www.theguardian.com/us-news/us-news">US news</category>
<category domain="https://www.theguardian.com/us-news/us-politics">US politics</category>
<category domain="https://www.theguardian.com/us-news/democrats">Democrats</category>
<category domain="https://www.theguardian.com/us-news/republicans">Republicans</category>
<category domain="https://www.theguardian.com/us-news/us-congress">US Congress</category>
<pubDate>Wed, 31 Jan 2018 07:26:05 GMT</pubDate>
<guid>https://www.theguardian.com/us-news/2018/jan/31/donald-trump-state-of-the-union-address-unity-discord</guid>
<media:content width="140" url="https://i.guim.co.uk/img/media/b73c8752cd4667c923dff7f1542f1fb20089e421/0_108_3000_1799/master/3000.jpg?w=140&amp;q=55&amp;auto=format&amp;usm=12&amp;fit=max&amp;s=0a4f729a1784060437ae689bc8d26534">
<media:credit scheme="urn:ebu">Photograph: Networ/Sipa USA/REX/Shutterstock</media:credit>
</media:content>
<media:content width="460" url="https://i.guim.co.uk/img/media/b73c8752cd4667c923dff7f1542f1fb20089e421/0_108_3000_1799/master/3000.jpg?w=460&amp;q=55&amp;auto=format&amp;usm=12&amp;fit=max&amp;s=a606a273a90104e57b1e09bc4c0a1e11">
<media:credit scheme="urn:ebu">Photograph: Networ/Sipa USA/REX/Shutterstock</media:credit>
</media:content>
<dc:creator>David Smith in Washington</dc:creator>
<dc:date>2018-01-31T07:26:05Z</dc:date>
</item>
<item>
<title>So, how did conservatives like the State of the Union?</title>
<link>https://www.theguardian.com/us-news/2018/jan/31/so-how-did-conservatives-like-the-state-of-the-union</link>
<description>&lt;p&gt;Even Donald Trump’s more extreme supporters did not seem to mind that he sounded almost like a traditional Republican&lt;/p&gt;&lt;p&gt;Those expecting that Donald Trump’s first State of the Union address would be remarkable, for better or worse, were disappointed last night. It was mostly a rehearsal of by-now familiar Trumpian talking points, and some disingenuous “reaching out” on immigration policy, all delivered with &lt;a href="https://www.theguardian.com/us-news/2018/jan/31/typical-but-forgettable-trump-took-on-a-new-role-during-state-of-the-union"&gt;workmanlike oratorial competence&lt;/a&gt;. For the president, of course, it was yet another opportunity for &lt;a href="https://www.theguardian.com/us-news/commentisfree/2018/jan/30/the-kind-of-night-donald-trump-loves-best-when-he-can-applaud-himself"&gt;grandstanding&lt;/a&gt;. &lt;/p&gt;&lt;p&gt;An unexpectedly normal speech meshed well with a new imperative among conservatives to normalize the speaker. In 2018, Trump’s campaign rhetoric around economic populism has come to nothing. His talk on immigration – still punitive and restrictionist – hews much closer to the GOP’s standard line. The populist-nationalist interlopers have been flushed out of the White House. All this means that more traditional Republican conservatives have less to object to. &lt;/p&gt; &lt;a href="https://www.theguardian.com/us-news/2018/jan/31/so-how-did-conservatives-like-the-state-of-the-union"&gt;Continue reading...&lt;/a&gt;</description>
<category domain="https://www.theguardian.com/us-news/state-of-the-union-address">State of the Union address</category>
<category domain="https://www.theguardian.com/us-news/us-news">US news</category>
<category domain="https://www.theguardian.com/us-news/donaldtrump">Donald Trump</category>
<category domain="https://www.theguardian.com/us-news/us-politics">US politics</category>
<category domain="https://www.theguardian.com/us-news/republicans">Republicans</category>
<pubDate>Wed, 31 Jan 2018 15:46:36 GMT</pubDate>
<guid>https://www.theguardian.com/us-news/2018/jan/31/so-how-did-conservatives-like-the-state-of-the-union</guid>
<media:content width="140" url="https://i.guim.co.uk/img/media/8e13a758ef867875f9fe00323028451751596918/0_61_2200_1320/master/2200.jpg?w=140&amp;q=55&amp;auto=format&amp;usm=12&amp;fit=max&amp;s=56503344687d2120bea5364d147e3bbf">
<media:credit scheme="urn:ebu">Photograph: POOL/Reuters</media:credit>
</media:content>
<media:content width="460" url="https://i.guim.co.uk/img/media/8e13a758ef867875f9fe00323028451751596918/0_61_2200_1320/master/2200.jpg?w=460&amp;q=55&amp;auto=format&amp;usm=12&amp;fit=max&amp;s=a215dbff94114679b56be38cf60f5611">
<media:credit scheme="urn:ebu">Photograph: POOL/Reuters</media:credit>
</media:content>
<dc:creator>Jason Wilson</dc:creator>
<dc:date>2018-01-31T15:46:36Z</dc:date>
</item>
<item>
<title>FBI has 'grave concerns' about Trump plan to release controversial memo</title>
<link>https://www.theguardian.com/us-news/2018/jan/31/fbi-nunes-memo-release-donald-trump</link>
<description>&lt;p&gt;In statement attributable to FBI director – appointed by Trump – agency raises concerns about ‘material omissions of fact’ in document&lt;/p&gt;&lt;p&gt;The FBI said on Wednesday it had “grave concerns” about Donald Trump’s apparent intention to &lt;a href="https://www.theguardian.com/us-news/2018/jan/29/republicans-devin-nunes-memo-fbi-2016-election"&gt;release a memo&lt;/a&gt; said to contain classified information about the bureau’s investigation into one of the president’s campaign aides. &lt;/p&gt;&lt;p&gt;After both Trump and the House speaker, Paul Ryan, made public statements supporting the so-called Nunes memo’s release, the fight over its fate took an extraordinary twist with the FBI’s highly unusual statement, which was ultimately attributable to the bureau director, Christopher Wray, Trump’s own appointee. &lt;/p&gt; &lt;a href="https://www.theguardian.com/us-news/2018/jan/31/fbi-nunes-memo-release-donald-trump"&gt;Continue reading...&lt;/a&gt;</description>
<category domain="https://www.theguardian.com/us-news/fbi">FBI</category>
<category domain="https://www.theguardian.com/us-news/republicans">Republicans</category>
<category domain="https://www.theguardian.com/us-news/paul-ryan">Paul Ryan</category>
<category domain="https://www.theguardian.com/us-news/donaldtrump">Donald Trump</category>
<category domain="https://www.theguardian.com/us-news/us-news">US news</category>
<pubDate>Wed, 31 Jan 2018 20:00:01 GMT</pubDate>
<guid>https://www.theguardian.com/us-news/2018/jan/31/fbi-nunes-memo-release-donald-trump</guid>
<media:content width="140" url="https://i.guim.co.uk/img/media/260e41228fa22c34e9244404e74e50c2540b617f/0_0_3000_1800/master/3000.jpg?w=140&amp;q=55&amp;auto=format&amp;usm=12&amp;fit=max&amp;s=261f442a7391dd72917ca5292e6ac641">
<media:credit scheme="urn:ebu">Photograph: Alex Wong/Getty Images</media:credit>
</media:content>
<media:content width="460" url="https://i.guim.co.uk/img/media/260e41228fa22c34e9244404e74e50c2540b617f/0_0_3000_1800/master/3000.jpg?w=460&amp;q=55&amp;auto=format&amp;usm=12&amp;fit=max&amp;s=5078af7fd29fc376b42e84fa6b755ad6">
<media:credit scheme="urn:ebu">Photograph: Alex Wong/Getty Images</media:credit>
</media:content>
<dc:creator>Tom McCarthy in New York</dc:creator>
<dc:date>2018-01-31T20:00:01Z</dc:date>
</item>
<item>
<title>Gun-smuggling case puts spotlight on library straddling US-Canada border</title>
<link>https://www.theguardian.com/world/2018/jan/31/canada-border-library-gun-smuggling-case</link>
<description>&lt;p&gt;A cross-border meeting place for divided families was the site of a plot to bring dozens of firearms from Vermont to Quebec&lt;/p&gt;&lt;p&gt;It was built deliberately to straddle the frontier between the two countries – a symbol of cooperation and friendship between Canada and the US. &lt;br&gt;&lt;/p&gt;&lt;p&gt;More than a century later, the &lt;a href="http://haskellopera.com/"&gt;Haskell Free Library and Opera House&lt;/a&gt; continues to allow residents of both countries to mingle without having to cross a border.&lt;br&gt;&lt;/p&gt; &lt;a href="https://www.theguardian.com/world/2018/jan/31/canada-border-library-gun-smuggling-case"&gt;Continue reading...&lt;/a&gt;</description>
<category domain="https://www.theguardian.com/world/canada">Canada</category>
<category domain="https://www.theguardian.com/books/libraries">Libraries</category>
<category domain="https://www.theguardian.com/us-news/us-news">US news</category>
<category domain="https://www.theguardian.com/world/americas">Americas</category>
<category domain="https://www.theguardian.com/world/world">World news</category>
<pubDate>Wed, 31 Jan 2018 12:14:52 GMT</pubDate>
<guid>https://www.theguardian.com/world/2018/jan/31/canada-border-library-gun-smuggling-case</guid>
<media:content width="140" url="https://i.guim.co.uk/img/media/b93cae31adf4537a3bb954281a6711827c396c96/0_208_3400_2040/master/3400.jpg?w=140&amp;q=55&amp;auto=format&amp;usm=12&amp;fit=max&amp;s=07726682e3a3fce25d2f72e3634e9eb2">
<media:credit scheme="urn:ebu">Photograph: Don Emmert/AFP/Getty Images</media:credit>
</media:content>
<media:content width="460" url="https://i.guim.co.uk/img/media/b93cae31adf4537a3bb954281a6711827c396c96/0_208_3400_2040/master/3400.jpg?w=460&amp;q=55&amp;auto=format&amp;usm=12&amp;fit=max&amp;s=596037ddb28af5387237557b22e56133">
<media:credit scheme="urn:ebu">Photograph: Don Emmert/AFP/Getty Images</media:credit>
</media:content>
<dc:creator>Ashifa Kassam in Stanstead, Quebec</dc:creator>
<dc:date>2018-01-31T12:14:52Z</dc:date>
</item>
<item>
<title>Train carrying dozens of GOP lawmakers hits truck in Virginia</title>
<link>https://www.theguardian.com/us-news/2018/jan/31/train-carrying-dozens-of-gop-lawmakers-hit-truck-virginia</link>
<description>&lt;ul&gt;&lt;li&gt;One person who was not aboard the train was killed&lt;/li&gt;&lt;li&gt;Two crew members and two passengers were taken to a local hospital with minor injuries &lt;/li&gt;&lt;/ul&gt;&lt;p&gt;A chartered train carrying dozens of GOP lawmakers to a Republican retreat in West Virginia struck a garbage truck south of Charlottesville, Virginia, on Wednesday, lawmakers said.&lt;/p&gt;&lt;p&gt;One person who was not aboard the train was killed, according to authorities and witness reports, and there were several injuries.&lt;/p&gt; &lt;a href="https://www.theguardian.com/us-news/2018/jan/31/train-carrying-dozens-of-gop-lawmakers-hit-truck-virginia"&gt;Continue reading...&lt;/a&gt;</description>
<category domain="https://www.theguardian.com/us-news/us-news">US news</category>
<category domain="https://www.theguardian.com/world/train-crashes">Train crashes</category>
<category domain="https://www.theguardian.com/us-news/republicans">Republicans</category>
<category domain="https://www.theguardian.com/us-news/virginia">Virginia</category>
<category domain="https://www.theguardian.com/us-news/us-congress">US Congress</category>
<pubDate>Wed, 31 Jan 2018 17:18:52 GMT</pubDate>
<guid>https://www.theguardian.com/us-news/2018/jan/31/train-carrying-dozens-of-gop-lawmakers-hit-truck-virginia</guid>
<media:content width="140" url="https://i.guim.co.uk/img/media/e9061555363530c5264919f914975ff9788c5d6e/0_285_3000_1800/master/3000.jpg?w=140&amp;q=55&amp;auto=format&amp;usm=12&amp;fit=max&amp;s=b04e0446ec74823d2158fce4685182ab">
<media:credit scheme="urn:ebu">Photograph: AP</media:credit>
</media:content>
<media:content width="460" url="https://i.guim.co.uk/img/media/e9061555363530c5264919f914975ff9788c5d6e/0_285_3000_1800/master/3000.jpg?w=460&amp;q=55&amp;auto=format&amp;usm=12&amp;fit=max&amp;s=f0f5a719be927ab7dcb1af1503e6cf43">
<media:credit scheme="urn:ebu">Photograph: AP</media:credit>
</media:content>
<dc:creator>Associated Press</dc:creator>
<dc:date>2018-01-31T17:18:52Z</dc:date>
</item>
<item>
<title>UN urged to launch global effort to end offshore tax evasion</title>
<link>https://www.theguardian.com/business/2018/jan/30/un-urged-to-launch-global-effort-to-end-offshore-tax-evasion</link>
<description>&lt;p&gt;Campaign group launches financial secrecy index and warns UK is still protecting overseas territories&lt;/p&gt;&lt;p&gt;The United Nations has been urged by the Tax Justice Network to coordinate a global effort to end offshore tax evasion and corruption, amid warnings that the UK is continuing to insulate its overseas territories from financial transparency.&lt;/p&gt;&lt;p&gt;Commenting on the launch of the TJN’s &lt;a href="http://www.financialsecrecyindex.com"&gt;Financial Secrecy Index&lt;/a&gt; 2018, which ranks countries on the size and secretiveness of their offshore sectors, its chief executive, Alex Cobham, said big financial centres had proven unwilling to reform voluntarily. &lt;/p&gt; &lt;a href="https://www.theguardian.com/business/2018/jan/30/un-urged-to-launch-global-effort-to-end-offshore-tax-evasion"&gt;Continue reading...&lt;/a&gt;</description>
<category domain="https://www.theguardian.com/business/taxavoidance">Tax avoidance</category>
<category domain="https://www.theguardian.com/business/business">Business</category>
<category domain="https://www.theguardian.com/business/corporate-governance">Corporate governance</category>
<category domain="https://www.theguardian.com/world/unitednations">United Nations</category>
<category domain="https://www.theguardian.com/uk/uk">UK news</category>
<category domain="https://www.theguardian.com/world/world">World news</category>
<pubDate>Tue, 30 Jan 2018 17:00:03 GMT</pubDate>
<guid>https://www.theguardian.com/business/2018/jan/30/un-urged-to-launch-global-effort-to-end-offshore-tax-evasion</guid>
<media:content width="140" url="https://i.guim.co.uk/img/media/21a0303d4126defb9e6d08278276f3868a43d008/0_191_5760_3458/master/5760.jpg?w=140&amp;q=55&amp;auto=format&amp;usm=12&amp;fit=max&amp;s=eeb7601a318f335aceac86751128142a">
<media:credit scheme="urn:ebu">Photograph: Jodi Jacobson/Getty Images</media:credit>
</media:content>
<media:content width="460" url="https://i.guim.co.uk/img/media/21a0303d4126defb9e6d08278276f3868a43d008/0_191_5760_3458/master/5760.jpg?w=460&amp;q=55&amp;auto=format&amp;usm=12&amp;fit=max&amp;s=b2893fa67a593e6ab86a0fb8edfc300b">
<media:credit scheme="urn:ebu">Photograph: Jodi Jacobson/Getty Images</media:credit>
</media:content>
<dc:creator>David Pegg</dc:creator>
<dc:date>2018-01-30T17:00:03Z</dc:date>
</item>
<item>
<title>Climate change threatens half of US bases worldwide, Pentagon report finds</title>
<link>https://www.theguardian.com/us-news/2018/jan/31/climate-change-threatens-us-military-bases-pentagon</link>
<description>&lt;ul&gt;&lt;li&gt;Defense department says wild weather could endanger 1,700 sites&lt;/li&gt;&lt;li&gt;Findings run counter to White House views on climate&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Nearly half of US military sites are threatened by wild weather linked to climate change, according to a new Pentagon study whose findings run contrary to White House views on global warming.&lt;/p&gt;&lt;p&gt; Drought, wind and flooding that occurs due to reasons other than storms topped the list of natural disasters that endanger 1,700 military sites worldwide, from large bases to outposts, said the US Department of Defense (DoD).&lt;/p&gt; &lt;a href="https://www.theguardian.com/us-news/2018/jan/31/climate-change-threatens-us-military-bases-pentagon"&gt;Continue reading...&lt;/a&gt;</description>
<category domain="https://www.theguardian.com/us-news/us-military">US military</category>
<category domain="https://www.theguardian.com/us-news/us-news">US news</category>
<category domain="https://www.theguardian.com/environment/climate-change">Climate change</category>
<category domain="https://www.theguardian.com/environment/environment">Environment</category>
<pubDate>Wed, 31 Jan 2018 19:12:11 GMT</pubDate>
<guid>https://www.theguardian.com/us-news/2018/jan/31/climate-change-threatens-us-military-bases-pentagon</guid>
<media:content width="140" url="https://i.guim.co.uk/img/media/4309be4a79ac90b033b6ce6fc83f1b6c125698f8/0_25_2384_1430/master/2384.jpg?w=140&amp;q=55&amp;auto=format&amp;usm=12&amp;fit=max&amp;s=077388b0873e8b0be58ea8f13f9555ad">
<media:credit scheme="urn:ebu">Photograph: Staff Sgt. Mary L. Smith/US Dept/PA</media:credit>
</media:content>
<media:content width="460" url="https://i.guim.co.uk/img/media/4309be4a79ac90b033b6ce6fc83f1b6c125698f8/0_25_2384_1430/master/2384.jpg?w=460&amp;q=55&amp;auto=format&amp;usm=12&amp;fit=max&amp;s=ad262b5cbef0ffb8b3cd49d75ee75123">
<media:credit scheme="urn:ebu">Photograph: Staff Sgt. Mary L. Smith/US Dept/PA</media:credit>
</media:content>
<dc:creator>Reuters in New York</dc:creator>
<dc:date>2018-01-31T19:12:11Z</dc:date>
</item>
<item>
<title>Las Vegas shooting: 'person of interest' says he sold ammunition to shooter</title>
<link>https://www.theguardian.com/us-news/2018/jan/31/las-vegas-shooting-person-of-interest-douglas-haig</link>
<description>&lt;ul&gt;&lt;li&gt;Douglas Haig named as ‘person of interest’ in court documents&lt;/li&gt;&lt;li&gt;Arizona gun dealer says he met Stephen Paddock only once&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;An Arizona man named in court documents as a “person of interest” during the investigation of the deadliest mass shooting in modern US history said he had met the gunman one time and sold ammunition to him.&lt;/p&gt;&lt;p&gt; &lt;span&gt;Related: &lt;/span&gt;&lt;a href="https://www.theguardian.com/tv-and-radio/2017/oct/08/las-vegas-shooting-depressingly-familiar"&gt;Las Vegas shooting followed a depressingly familiar routine&lt;/a&gt; &lt;/p&gt; &lt;a href="https://www.theguardian.com/us-news/2018/jan/31/las-vegas-shooting-person-of-interest-douglas-haig"&gt;Continue reading...&lt;/a&gt;</description>
<category domain="https://www.theguardian.com/us-news/las-vegas-shooting">Las Vegas shooting</category>
<category domain="https://www.theguardian.com/us-news/las-vegas">Las Vegas</category>
<category domain="https://www.theguardian.com/us-news/nevada">Nevada</category>
<category domain="https://www.theguardian.com/us-news/us-news">US news</category>
<category domain="https://www.theguardian.com/world/gun-crime">Gun crime</category>
<category domain="https://www.theguardian.com/us-news/us-crime">US crime</category>
<pubDate>Wed, 31 Jan 2018 15:00:21 GMT</pubDate>
<guid>https://www.theguardian.com/us-news/2018/jan/31/las-vegas-shooting-person-of-interest-douglas-haig</guid>
<media:content width="140" url="https://i.guim.co.uk/img/media/90cb79cbd7b9266fa73a995700427616091c3121/0_0_3000_1801/master/3000.jpg?w=140&amp;q=55&amp;auto=format&amp;usm=12&amp;fit=max&amp;s=22e8ffb1870ca419f3fa5964cee36430">
<media:credit scheme="urn:ebu">Photograph: Las Vegas Metropolitan Police De/AP</media:credit>
</media:content>
<media:content width="460" url="https://i.guim.co.uk/img/media/90cb79cbd7b9266fa73a995700427616091c3121/0_0_3000_1801/master/3000.jpg?w=460&amp;q=55&amp;auto=format&amp;usm=12&amp;fit=max&amp;s=0c61be11ed25804c42e5242b0dd17220">
<media:credit scheme="urn:ebu">Photograph: Las Vegas Metropolitan Police De/AP</media:credit>
</media:content>
<dc:creator>Associated Press</dc:creator>
<dc:date>2018-01-31T15:00:21Z</dc:date>
</item>
<item>
<title>2004 Larry Nassar investigation dropped after doctor's PowerPoint presentation</title>
<link>https://www.theguardian.com/us-news/2018/jan/31/larry-nassar-sexual-abuse-sentencing-hearing</link>
<description>&lt;p&gt;Police decided not to prosecute abuse allegation after disgraced doctor said he was conducting legitimate medical procedures&lt;/p&gt;&lt;p&gt;Police dropped an investigation into disgraced former gymnastics doctor Larry Nassar in 2004 after he told them he was conducting legitimate medical treatment, &lt;a draggable="true" href="https://www.lansingstatejournal.com/story/news/local/2018/01/30/meridian-twp-apologize-woman-whose-nassar-complaint-never-sent-prosecutors/1078230001/"&gt;according to documents released on Wednesday&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;Brianne Randall-Gay was 17 when she was treated for scoliosis by Nassar, who massaged her breasts and attempted to put his fingers in her vagina. Randall-Gay’s mother subsequently complained to Meridian Township police department. However, Nassar said the treatment was part of “a medical technique known as Sacrotuberous Ligament Release” and gave police a PowerPoint presentation on the subject. &lt;/p&gt; &lt;a href="https://www.theguardian.com/us-news/2018/jan/31/larry-nassar-sexual-abuse-sentencing-hearing"&gt;Continue reading...&lt;/a&gt;</description>
<category domain="https://www.theguardian.com/sport/gymnastics">Gymnastics</category>
<category domain="https://www.theguardian.com/us-news/us-news">US news</category>
<category domain="https://www.theguardian.com/sport/us-sport">US sports</category>
<category domain="https://www.theguardian.com/sport/sport">Sport</category>
<category domain="https://www.theguardian.com/us-news/michigan">Michigan</category>
<category domain="https://www.theguardian.com/society/rape">Rape and sexual assault</category>
<pubDate>Wed, 31 Jan 2018 18:58:35 GMT</pubDate>
<guid>https://www.theguardian.com/us-news/2018/jan/31/larry-nassar-sexual-abuse-sentencing-hearing</guid>

<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
<channel>
<title><![CDATA[Food in Invironment on Medium]]></title>
<description><![CDATA[Latest stories tagged with Food in Invironment on Medium]]></description>
<link>https://medium.com/invironment/tagged/food?source=rss----d12c403d4976--food</link>
<image>
<url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
<title>Food in Invironment on Medium</title>
<link>https://medium.com/invironment/tagged/food?source=rss----d12c403d4976--food</link>
</image>
<generator>Medium</generator>
<lastBuildDate>Tue, 21 Jul 2020 21:19:07 GMT</lastBuildDate>
<atom:link href="https://medium.com/feed/invironment/tagged/food" rel="self" type="application/rss+xml"/>
<webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
<item>
<title><![CDATA[THE CREATIVE FORAGER]]></title>
<link>https://medium.com/invironment/the-creative-forager-125af37d838f?source=rss----d12c403d4976--food</link>
<guid isPermaLink="false">https://medium.com/p/125af37d838f</guid>
<category><![CDATA[plants]]></category>
<category><![CDATA[environment]]></category>
<category><![CDATA[nature]]></category>
<category><![CDATA[foraging]]></category>
<category><![CDATA[food]]></category>
<dc:creator><![CDATA[Jeremy Puma]]></dc:creator>
<pubDate>Mon, 09 Apr 2018 18:55:38 GMT</pubDate>
<atom:updated>2018-04-09T19:39:12.675Z</atom:updated>
<content:encoded><![CDATA[<h4>Using Wild Ingredients in the Kitchen</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/938/1*C_nVpehD-NKBgtVEULabmQ.jpeg" /></figure><h4>HEY, YOU! YES, YOU WITH THE EYEBALLS! GO OUTSIDE AND EAT SOME WILD FOODS!</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/333/0*3laci2yEUnPMEq1M." /></figure><p>Food is all around us, if you learn where to look, and how to prepare it. This is a book about how to use wild plants in the kitchen. Think of it as inspiration and techniques you can use for culinary experimentation. Seattle foraging teacher Jeremy Puma delves into the world of wild plants and edible weeds, going beyond the basics of salads and stews. Packed with useful theories and delicious recipes, “The Creative Forager” will be a welcome addition to the kitchen bookshelf of anyone interested in eating wild.</p><p><strong>Paperback:</strong> 154 pages<br><strong>Publisher:</strong> Strange Animal Publications (March 28, 2018)<br><strong>Language:</strong> English<br><strong>ISBN-10:</strong> 0692095446<br><strong>ISBN-13:</strong> 978–0692095447<br><strong>Product Dimensions: </strong>6 x 0.4 x 9 inches</p><p><a href="https://www.amazon.com/dp/0692095446/"><strong>Purchase the paperback on Amazon.com</strong></a></p><p><a href="https://www.amazon.com/dp/B07BS1KZR1/"><strong>Purchase the Amazon Kindle Edition</strong></a></p><h3>WHAT THEY’RE SAYING:</h3><blockquote><em>“</em>The Creative Forager<em> </em>is a compelling, thoughtful, and philosophical approach to using wild plants. I give it two ‘leaves’ up.” — <a href="https://www.amazon.com/dp/0692095446/">Dan D’Lyon, Plant Expert</a></blockquote><blockquote>“This curious little tome doesn’t quite know what it wants to be. A manifesto? A cookbook? The ramblings of a delusional pseudo-naturalist? I’m not sure I can recommend this to any but the most ardent devotees of the so-called ‘participatory ecology’ movement.” — <a href="https://www.amazon.com/dp/0692095446/">Carmen Hersoota, Author of <em>‘The Fanciest Table in Connecticut</em></a><em>’</em></blockquote><blockquote>“BAAAAAAAAAAAAAAAAAAAA!” — <a href="https://www.amazon.com/dp/0692095446/">Some Goat</a></blockquote><blockquote>“This book should be a part of everyone’s ‘Climate Change Survival Guide.’ Post-apocalyptic dining doesn’t have to be boring!” — <a href="https://www.amazon.com/dp/0692095446/">Gale T. Shallon, Former Futurist</a></blockquote><blockquote>“_________________________________________________” — <a href="https://www.amazon.com/dp/0692095446/">The Invisible Man</a></blockquote><h4><strong>TABLE OF CONTENTS*:</strong></h4><p><strong>Part One: Foundations</strong></p><p>1 INTRODUCTION<br>2 VOLUNTEERING AT THE SOIL SEED BANK<br>3 WHAT IS A “FORAGER,” ANYHOW?<br>4 MANIFESTO FOR A PARTICIPATORY ECOLOGY<br>5 ETHICAL FORAGING<br>6 WILD FLAVOR: A MATTER OF “TASTE”<br>7 WILD GREENS IN THE KITCHEN<br>8 WILD EDIBLES: CULINARY KEYS<br>9 WILD FLAVOR BY FAMILY: DANDELION CROQUETTES<br>10 PUTTING POTHERBS IN THEIR PLACE<br>11 “DECODING” WILD INGREDIENTS<br>12 WILD SEASONING<br>13 WILD OILS AND VINEGARS<br>14 GET WEIRD WITH VEGAN “GRASSHOPPERS”</p><p><strong>Part Two: A Parade of Plant Profiles</strong></p><p>15 DANDELION<br>16 NIPPLEWORT<br>17 CHICKWEED<br>18 PLANTAIN<br>19 LAMBSQUARTERS<br>20 BITTERCRESS<br>21 BROAD-LEAVED AND CURLY DOCK<br>22 FIREWEED<br>23 STINGING NETTLE<br>24 HEDGE MUSTARD<br>25 OX EYE DAISY<br>26 CONCLUSION</p><p><strong><em>*Some of this content was previously published on Invironment and in “Wild Flavor.”</em></strong></p><h3>OKAY! What are you waiting for, the “zombie apocalypse”? <a href="https://www.amazon.com/dp/0692095446/">Get your copy, and cook some wild foods today</a>!</h3><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=125af37d838f" width="1" height="1"><hr><p><a href="https://medium.com/invironment/the-creative-forager-125af37d838f">THE CREATIVE FORAGER</a> was originally published in <a href="https://medium.com/invironment">Invironment</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[Eight Reasons You Shouldn’t Grow Your Own Food]]></title>
<link>https://medium.com/invironment/eight-reasons-you-shouldnt-grow-your-own-food-77cbb94ffe0b?source=rss----d12c403d4976--food</link>
<guid isPermaLink="false">https://medium.com/p/77cbb94ffe0b</guid>
<category><![CDATA[plants]]></category>
<category><![CDATA[food]]></category>
<category><![CDATA[gardening]]></category>
<category><![CDATA[agriculture]]></category>
<category><![CDATA[garden]]></category>
<dc:creator><![CDATA[Jeremy Puma]]></dc:creator>
<pubDate>Tue, 13 Mar 2018 16:44:15 GMT</pubDate>
<atom:updated>2018-03-13T16:44:15.104Z</atom:updated>
<content:encoded><![CDATA[<h4>Contrary to “popular opinion,” gardening is NOT for everyone</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*xltRxddhKmHSi9kqSSXAMQ.jpeg" /><figcaption>GROW, you bastards, GROW!</figcaption></figure><p>So you’re thinking of growing your own food? AWESOME! That is an EXCELLENT idea. Growing your own food is one of the best ways to participate in your local meta-entity. It’s a great way to supplement your family’s diet with nutrient-dense and delicious fruits and vegetables, and to save money and reduce your “carbon footprint” by making less trips to the grocery store. <strong>CONGRATULATIONS!</strong></p><p>HOWEVER!</p><p>Here is a thing:</p><h3>Growing your own food might not be a good decision for you.</h3><p><strong><em>This story is currently available to Medium Members at the following link:</em></strong></p><p><a href="https://medium.com/@jeremypuma/eight-reasons-you-shouldnt-grow-your-own-food-1851c54fbce5">Eight Reasons You Shouldn’t Grow Your Own Food</a></p><h4>The story will be unlocked and available to all of our readers after 30 days.</h4><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=77cbb94ffe0b" width="1" height="1"><hr><p><a href="https://medium.com/invironment/eight-reasons-you-shouldnt-grow-your-own-food-77cbb94ffe0b">Eight Reasons You Shouldn’t Grow Your Own Food</a> was originally published in <a href="https://medium.com/invironment">Invironment</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[Picking Fruits and Greening Cities]]></title>
<link>https://medium.com/invironment/picking-fruits-and-greening-cities-e9610374b19c?source=rss----d12c403d4976--food</link>
<guid isPermaLink="false">https://medium.com/p/e9610374b19c</guid>
<category><![CDATA[environment]]></category>
<category><![CDATA[nature]]></category>
<category><![CDATA[urban-gardening]]></category>
<category><![CDATA[food]]></category>
<category><![CDATA[city-planning]]></category>
<dc:creator><![CDATA[Thuận Sarzynski]]></dc:creator>
<pubDate>Fri, 19 Jan 2018 21:52:54 GMT</pubDate>
<atom:updated>2018-01-19T21:52:54.413Z</atom:updated>
<content:encoded><![CDATA[<blockquote>« Everything started from an unused piece of land. We asked the city if it was possible to grow food there for a local festival. The city agreed and sent 30 trucks full of soil to spread on the abandoned area. It was a huge work to set up these gardens, but now there are about 60 patches which can be distributed to anyone who wants to garden. »</blockquote><p>This is how Martin Abelmann and green citizens of the city of Stuttgart in Germany created the project Stadtacker. Their goal is to give small pieces of land to city dwellers who want to grow veggies and fruits by themselves.</p><p>They are not the <a href="https://medium.com/environmental-intelligence/fish-and-veggies-directly-from-your-garden-geco-gardens-aquaponic-3645721f150c">only one</a> who want to grow food in the city. As <a href="http://www.un.org/en/development/desa/population/publications/pdf/urbanization/the_worlds_cities_in_2016_data_booklet.pdf">more than 50 %</a> of the world population is living in urban settlements, many projects worldwide are flourishing to bring food closer to people. This trend is called urban gardening.</p><p>Urban gardening is not only about growing food to feed the near 8 billion earthlings, it’s also about creating a healthy environment, improving people knowledge about Nature and building a sympathetic community.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*s8Gqm3dmzDaYJXkotarQQg.jpeg" /><figcaption>On an Abandoned Land © <a href="https://www.stadtacker.de/galerie/">stadtacker</a></figcaption></figure><p>The space humanity needs on Earth is increasing so cities are becoming a new home for insects, birds and small mammals. Organic gardens are a biodiversity friendly habitat as fruits and veggies are greatly appreciated by wildlife. Moreover the countryside is saturated by dangerous agricultural pollutants and doesn’t supply enough resources anymore, therefore cities may be a good refugee for biodiversity like <a href="https://www.ed.ac.uk/news/2015/bees-110215">bees and pollinators</a>.</p><p>There are many benefits of gardening in the cities. They improve people life with small services such as air filtering, temperature cooling and CO2 absorption. Thus, they reduce greenhouse gas emissions by shortening the supply chain; food doesn’t travel thousand of kilometers anymore, instead it is produced locally and eaten directly by the gardeners.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5aPL8lqjzAOysPIU326W6w.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CE0L7IjxAxL9Rkj6mnL3_g.jpeg" /><figcaption>Whoever Can Grow Their Food © <a href="https://www.stadtacker.de/galerie/">stadtacker</a></figcaption></figure><p>Did you know that carrots grow in the ground and not on trees ? I hope yes, but imagine young children who were born in a city and never had the chance to go farming in the countryside. I guess, nowadays they are many who don’t know at which time of the year strawberries are grown or on which tree zucchinis are grown. Urban gardening is an opportunity for these children to learn about the food they eat. Even adults may not know how to seed and then thin carrots. Urban gardening makes people aware about the resource and labor needed to grow food. City dwellers are running further and further away from Nature and they are sadly forgetting the basics : food.</p><blockquote>« During the sunny season, we meet weekly every Sunday afternoon. We talk, we ask advice about how to grow this and that. We make friends. Sometimes in the summer, we organize events like music concert, workshops etc. »</blockquote><p>As Martin Abelmann highlighted, a community garden is a meeting point. Neighbors meet, talk and have fun. They exchange their know-hows and recipes, the garden becomes a school, a school of Nature, a school of Life.</p><p>The green area also encourages the new formed community to participate in the city development and planning. It becomes a place to create planning alternatives, a place to defend environmental ideas, a place to strengthen democracy.</p><blockquote>“The gardening area is threatened by a housing building project and even if our garden got a city award and a United Nation price for the decade of the biodiversity, we still need people to militate. We need to show that such a green place managed by citizens has a higher value than building houses. Through public awareness, we hope to be able to keep this green area and continue to grow an environmentally friendly community. “ Martin Abelmann</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e9610374b19c" width="1" height="1"><hr><p><a href="https://medium.com/invironment/picking-fruits-and-greening-cities-e9610374b19c">Picking Fruits and Greening Cities</a> was originally published in <a href="https://medium.com/invironment">Invironment</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[Wild Flavors All Year Round]]></title>
<link>https://medium.com/invironment/wild-flavors-all-year-round-80e0fcbaf18d?source=rss----d12c403d4976--food</link>
<guid isPermaLink="false">https://medium.com/p/80e0fcbaf18d</guid>

I also found the following external resources that might be helpful:

Summaries of links found in the content:

https://www.rssboard.org/media-rss#media-keywords:

The page is about the Media RSS Specification, specifically version 1.5.1. It is a specification that supplements the element capabilities of RSS 2.0 to allow for more robust media syndication. The specification includes various elements and attributes that can be used to describe media objects, such as media:group, media:content, media:keywords, and more. The page also provides examples of how to use these elements in an RSS feed. The user is specifically interested in the media:keywords element, which is used to provide a comma-separated list of tags for a media object. They want to process this element similar to the element in an RSS feed.

https://www.newyorker.com/feed/rss:

The page provided is the metadata for The New Yorker website. It includes various articles and content from different categories such as Science, Humor, Podcasts, News, Culture, and more. The metadata includes the title, URL, publication date, category, author, and thumbnail image for each article. The specific problem mentioned is related to the use of <media:keywords> in the RSS feed of The New Yorker, which provides comma-separated tags for each article. The user suggests that these tags should be processed similar to the <category> elements in the RSS feed.

https://www.newyorker.com/news/our-local-correspondents/the-trials-of-sam-bankman-fried</link:

The page provided is the "Page Not Found" error page from The New Yorker website. It does not contain any relevant information or code snippets related to the problem of processing <media:keywords> in the RSS feed.


Step 2: ⌨️ Coding

Create src/parser.js with contents:
• Locate the function responsible for parsing individual `` elements within the RSS feed. This function is likely iterating over the child elements of each `` and processing them based on their tag names.
• Within this function, add a new case or condition to handle `` elements. This will involve checking the name of each child element to see if it matches 'media:keywords'.
• When a `` element is encountered, extract its text content. This content will be a comma-separated list of keywords.
• Split the text content of the `` element on commas to produce an array of individual keywords.
• Add this array of keywords to the representation of the feed item being constructed by the parser. This might involve adding a new property to the item object, such as `mediaKeywords`, and assigning the array of keywords to this property.
• Ensure that the new `mediaKeywords` property is included in any output produced by the parser, such as by adjusting the logic that converts parsed feed items into JSON or other output formats.
• Update any relevant documentation or type definitions within the rss-parser library to reflect the addition of the `mediaKeywords` property to the representation of feed items.
  • Running GitHub Actions for src/parser.jsEdit
Check src/parser.js with contents:

Ran GitHub Actions for 53278f621b4c480870c17ec232e2cb543368010b:
• build (18.x):
• build (16.x):
• build (14.x):


Step 3: 🔁 Code Review

I have finished reviewing the code for completeness. I did not find errors for sweep/mediakeywords_is_not_processed.


🎉 Latest improvements to Sweep:
  • New dashboard launched for real-time tracking of Sweep issues, covering all stages from search to coding.
  • Integration of OpenAI's latest Assistant API for more efficient and reliable code planning and editing, improving speed by 3x.
  • Use the GitHub issues extension for creating Sweep issues directly from your editor.

💡 To recreate the pull request edit the issue title or description. To tweak the pull request, leave a comment on the pull request.Something wrong? Let us know.

This is an automated message generated by Sweep AI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants