Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Nov 2008
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Need To Download Files From An RSS Feed

    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:
    <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>
    In the item section above, I would need the following six files downloaded:
    1. http://www.sec.gov/Archives/edgar/da...s-20080930.xml
    2. http://www.sec.gov/Archives/edgar/da...s-20080930.xsd
    3. http://www.sec.gov/Archives/edgar/da...080930_pre.xml
    4. http://www.sec.gov/Archives/edgar/da...080930_lab.xml
    5. http://www.sec.gov/Archives/edgar/da...080930_cal.xml
    6. http://www.sec.gov/Archives/edgar/da...080930_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

  • #2
    Regular Coder byuhobbes85's Avatar
    Join Date
    Oct 2006
    Location
    Ames, Iowa, USA
    Posts
    116
    Thanks
    9
    Thanked 4 Times in 4 Posts
    Austin,

    Are you looking for software that will do this for you, or do you want to write your own software?

    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.
    If you're need to write your own software, then this is a problem. You will not be able to download and write files to a disk with client-side operations. You will need access to something more powerful on the server side (PHP, Java, Perl/CGI, etc).
    -- </byuhobbes>


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •