vikram7 / sec_latest_filings_rss_feed_parser

Simple Elixir XML Parser for SEC "Recent Filings" RSS Feed
Other
10 stars 3 forks source link

Update Readme #3

Closed vikram7 closed 8 years ago

vikram7 commented 8 years ago
vikram7 commented 8 years ago

What the SEC Filings Feed looks like for just 10-Ks, or annual filings.

<?xml version="1.0" encoding="ISO-8859-1" ?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>Latest Filings - Wed, 24 Feb 2016 14:57:17 EST</title>
<link rel="alternate" href="/cgi-bin/browse-edgar?action=getcurrent"/>
<link rel="self" href="/cgi-bin/browse-edgar?action=getcurrent"/>
<id>http://www.sec.gov/cgi-bin/browse-edgar?action=getcurrent</id>
<author><name>Webmaster</name><email>webmaster@sec.gov</email></author>
<updated>2016-02-24T14:57:17-05:00</updated>
<entry>
<title>10-K - GATX CORP (0000040211) (Filer)</title>
<link rel="alternate" type="text/html" href="http://www.sec.gov/Archives/edgar/data/40211/000004021116000064/0000040211-16-000064-index.htm"/>
<summary type="html">
 &lt;b&gt;Filed:&lt;/b&gt; 2016-02-24 &lt;b&gt;AccNo:&lt;/b&gt; 0000040211-16-000064 &lt;b&gt;Size:&lt;/b&gt; 23 MB
</summary>
<updated>2016-02-24T14:48:34-05:00</updated>
<category scheme="http://www.sec.gov/" label="form type" term="10-K"/>
<id>urn:tag:sec.gov,2008:accession-number=0000040211-16-000064</id>
</entry>
<entry>
<title>10-K - HASBRO INC (0000046080) (Filer)</title>
<link rel="alternate" type="text/html" href="http://www.sec.gov/Archives/edgar/data/46080/000119312516475520/0001193125-16-475520-index.htm"/>
<summary type="html">
 &lt;b&gt;Filed:&lt;/b&gt; 2016-02-24 &lt;b&gt;AccNo:&lt;/b&gt; 0001193125-16-475520 &lt;b&gt;Size:&lt;/b&gt; 11 MB
</summary>
<updated>2016-02-24T14:46:32-05:00</updated>
<category scheme="http://www.sec.gov/" label="form type" term="10-K"/>
<id>urn:tag:sec.gov,2008:accession-number=0001193125-16-475520</id>
</entry>
.
.
.
<entry>
<title>10-K - REALOGY HOLDINGS CORP. (0001398987) (Filer)</title>
<link rel="alternate" type="text/html" href="http://www.sec.gov/Archives/edgar/data/1398987/000139898716000164/0001398987-16-000164-index.htm"/>
<summary type="html">
 &lt;b&gt;Filed:&lt;/b&gt; 2016-02-24 &lt;b&gt;AccNo:&lt;/b&gt; 0001398987-16-000164 &lt;b&gt;Size:&lt;/b&gt; 20 MB
</summary>
<updated>2016-02-24T07:34:44-05:00</updated>
<category scheme="http://www.sec.gov/" label="form type" term="10-K"/>
<id>urn:tag:sec.gov,2008:accession-number=0001398987-16-000164</id>
</entry>
</feed>

source

vikram7 commented 8 years ago

link to Floki

Example of using Floki to grab some elements from that above XML.

vikram7 commented 8 years ago

Examples of what the SecLatestFilingsRssFeedParser lib returns.