unitedstates / congress-legislators

Members of the United States Congress, 1789-Present, in YAML/JSON/CSV, as well as committees, presidents, and vice presidents.
Creative Commons Zero v1.0 Universal
2.04k stars 507 forks source link

RSS URLs? #61

Open dwillis opened 11 years ago

dwillis commented 11 years ago

I've been collecting RSS urls for both member and committee sites. Any interest in me adding them to legislators-current and committees-current?

konklone commented 11 years ago

Interested - but how easy will they be to maintain? We (Sunlight) actually ditched our official_rss field when going from Congress API v2 to v3 because it kept getting stale.

dwillis commented 11 years ago

Yeah, that is the issue - I got many of them using an autodiscovery library, but some of the sites (seemingly the .aspx ones) didn't respond to that. Assuming that the feeds would typically only change for a new member or when a member changes his/her CMS, I don't think it would be a terrible burden for me to maintain.

konklone commented 11 years ago

Then +1 to that, let's see how it goes - thanks for getting them. Will you be using these anywhere in production?

dwillis commented 11 years ago

They're already in our API responses, and we have some other plans for using them :-)

konklone commented 11 years ago

Sweet, as long as someone's incentivized to keep the field up to date here, I'm excited. :)

dwillis commented 11 years ago

For committees, there is one wrinkle - many have two "main" feeds, one for Democrats and one for Republicans. But a few have just one or none. I'm proposing to have a democratic_rss_url and republican_rss_url - those committees that have just one, it will go with the majority party.

schmod commented 11 years ago

Would rss_url and minority_rss_url possibly be easier to use/maintain, especially for cmtes with only one site? AFAIK, there are only a handful of Senate committees with separate majority/minority sites.

konklone commented 11 years ago

I believe @schmod's suggestion mirrors the way committees use URLs. The majority gets the "official" URL, and then the minority can use some subdomain or something.

dwillis commented 11 years ago

Ok, I'll use that.

dwillis commented 11 years ago

Added these for members and committees.

konklone commented 5 years ago

@dwillis These look to have grown stale again (and they often use a different protocol from the value we have for their base url), and we don't have a script to keep them up to date. Are they still used?

dwillis commented 5 years ago

We still use them, so I should have an update soon.