Need To Download Files From An RSS Feed

  • AustinMatherne
  • Born
  • Born
  • AustinMatherne
  • Posts: 1

Post 3+ Months Ago

First off, I just want to say that my coding ability's are limited to XML, HTML and CSS, so this is a little over my head.

I need something that will download all files from an RSS feed that end with ether an xml, or xsd file extension.

I can think of a few RSS readers that could this, problem is the RSS feed that I need this done on, doesn't use the enclosure tag.

Here's how the item tags are laid out.

Code: [ Select ]
<item rdf:about="http://www.sec.gov/Archives/edgar/data/874761/000110465908071053/0001104659-08-071053-index.htm">
  <title>AES CORP (0000874761) (Filer)</title>
  <link>http://www.sec.gov/Archives/edgar/data/874761/000110465908071053/0001104659-08-071053-index.htm</link>
  <description>8-K</description>
  <pubDate>Fri, 14 Nov 2008 16:54:52 EST</pubDate>
  <edgar:xbrlFiling xmlns:edgar="http://www.sec.gov/Archives/edgar">
    <edgar:companyName>AES CORP</edgar:companyName>
    <edgar:formType>8-K</edgar:formType>
    <edgar:filingDate>11/14/2008</edgar:filingDate>
    <edgar:cikNumber>0000874761</edgar:cikNumber>
    <edgar:accessionNumber>0001104659-08-071053</edgar:accessionNumber>
    <edgar:fileNumber>001-12291</edgar:fileNumber>
    <edgar:xbrlFiles>
      <edgar:xbrlFile sequence="1" file="a08-24962_48k.htm" type="8-K" size="40135" description="8-K" url="http://www.sec.gov/Archives/edgar/data/874761/000110465908071053/a08-24962_48k.htm" />
      <edgar:xbrlFile sequence="2" file="aes-20080930.xml" type="EX-100.INS" size="1051464" description="EX-100.INS" url="http://www.sec.gov/Archives/edgar/data/874761/000110465908071053/aes-20080930.xml" />
      <edgar:xbrlFile sequence="3" file="aes-20080930.xsd" type="EX-100.SCH" size="15025" description="EX-100.SCH" url="http://www.sec.gov/Archives/edgar/data/874761/000110465908071053/aes-20080930.xsd" />
      <edgar:xbrlFile sequence="4" file="aes-20080930_pre.xml" type="EX-100.PRE" size="176071" description="EX-100.PRE" url="http://www.sec.gov/Archives/edgar/data/874761/000110465908071053/aes-20080930_pre.xml" />
      <edgar:xbrlFile sequence="5" file="aes-20080930_lab.xml" type="EX-100.LAB" size="386366" description="EX-100.LAB" url="http://www.sec.gov/Archives/edgar/data/874761/000110465908071053/aes-20080930_lab.xml" />
      <edgar:xbrlFile sequence="6" file="aes-20080930_cal.xml" type="EX-100.CAL" size="113875" description="EX-100.CAL" url="http://www.sec.gov/Archives/edgar/data/874761/000110465908071053/aes-20080930_cal.xml" />
      <edgar:xbrlFile sequence="7" file="aes-20080930_def.xml" type="EX-100.DEF" size="27230" description="EX-100.DEF" url="http://www.sec.gov/Archives/edgar/data/874761/000110465908071053/aes-20080930_def.xml" />
    </edgar:xbrlFiles>
  </edgar:xbrlFiling>
</item>
  1. <item rdf:about="http://www.sec.gov/Archives/edgar/data/874761/000110465908071053/0001104659-08-071053-index.htm">
  2.   <title>AES CORP (0000874761) (Filer)</title>
  3.   <link>http://www.sec.gov/Archives/edgar/data/874761/000110465908071053/0001104659-08-071053-index.htm</link>
  4.   <description>8-K</description>
  5.   <pubDate>Fri, 14 Nov 2008 16:54:52 EST</pubDate>
  6.   <edgar:xbrlFiling xmlns:edgar="http://www.sec.gov/Archives/edgar">
  7.     <edgar:companyName>AES CORP</edgar:companyName>
  8.     <edgar:formType>8-K</edgar:formType>
  9.     <edgar:filingDate>11/14/2008</edgar:filingDate>
  10.     <edgar:cikNumber>0000874761</edgar:cikNumber>
  11.     <edgar:accessionNumber>0001104659-08-071053</edgar:accessionNumber>
  12.     <edgar:fileNumber>001-12291</edgar:fileNumber>
  13.     <edgar:xbrlFiles>
  14.       <edgar:xbrlFile sequence="1" file="a08-24962_48k.htm" type="8-K" size="40135" description="8-K" url="http://www.sec.gov/Archives/edgar/data/874761/000110465908071053/a08-24962_48k.htm" />
  15.       <edgar:xbrlFile sequence="2" file="aes-20080930.xml" type="EX-100.INS" size="1051464" description="EX-100.INS" url="http://www.sec.gov/Archives/edgar/data/874761/000110465908071053/aes-20080930.xml" />
  16.       <edgar:xbrlFile sequence="3" file="aes-20080930.xsd" type="EX-100.SCH" size="15025" description="EX-100.SCH" url="http://www.sec.gov/Archives/edgar/data/874761/000110465908071053/aes-20080930.xsd" />
  17.       <edgar:xbrlFile sequence="4" file="aes-20080930_pre.xml" type="EX-100.PRE" size="176071" description="EX-100.PRE" url="http://www.sec.gov/Archives/edgar/data/874761/000110465908071053/aes-20080930_pre.xml" />
  18.       <edgar:xbrlFile sequence="5" file="aes-20080930_lab.xml" type="EX-100.LAB" size="386366" description="EX-100.LAB" url="http://www.sec.gov/Archives/edgar/data/874761/000110465908071053/aes-20080930_lab.xml" />
  19.       <edgar:xbrlFile sequence="6" file="aes-20080930_cal.xml" type="EX-100.CAL" size="113875" description="EX-100.CAL" url="http://www.sec.gov/Archives/edgar/data/874761/000110465908071053/aes-20080930_cal.xml" />
  20.       <edgar:xbrlFile sequence="7" file="aes-20080930_def.xml" type="EX-100.DEF" size="27230" description="EX-100.DEF" url="http://www.sec.gov/Archives/edgar/data/874761/000110465908071053/aes-20080930_def.xml" />
  21.     </edgar:xbrlFiles>
  22.   </edgar:xbrlFiling>
  23. </item>


In the item section above, I would need the following six files downloaded:
  1. http://www.sec.gov/Archives/edgar/data/874761/000110465908071053/aes-20080930.xml
  2. http://www.sec.gov/Archives/edgar/data/874761/000110465908071053/aes-20080930.xsd
  3. http://www.sec.gov/Archives/edgar/data/874761/000110465908071053/aes-20080930_pre.xml
  4. http://www.sec.gov/Archives/edgar/data/874761/000110465908071053/aes-20080930_lab.xml
  5. http://www.sec.gov/Archives/edgar/data/874761/000110465908071053/aes-20080930_cal.xml
  6. http://www.sec.gov/Archives/edgar/data/874761/000110465908071053/aes-20080930_def.xml

There are a little over 500 item sections in the RSS feed, each with six files I need to download. This feed is updated every night with new submissions, and I would need to be able to automatically download the new files as they come online, without downloading the files that it's previously downloaded.

Also, I would want all of these files dumped into the same folder.

Here's a direct link to the RSS feed if anyone wants to take a look.
http://www.sec.gov/Archives/edgar/xbrlrss.xml

I would greatly appreciate any help,
~ Austin
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

Post Information

  • Total Posts in this topic: 1 post
  • Users browsing this forum: No registered users and 118 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.