We will be providing a more detailed listing of the RSS feeds next week. It will include both feeds from our Drupal-based primary site and the Open Legislation system. Most of these are also fairly obvious if you browse the sites yourself.
As for ATOM, our goal was to support feed reader libraries and tools in the most comprehensive manner, and RSS fit the bill for that.
+Nathan Freitas
NYSenate Developer
--
--
You received this message because you are subscribed to the NY Senate Developers Forum group. For more information about this group, visit http://nysenate.gov/developers
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/>
"Thus, if there is a rich source of data, much can be done with it with minimal effort."
"made available with a bit more semantic markup in order to simplify the parsing"
"avoid the need to hit your API for details"
Just jumping back into this thread after being on the road for a bit. I
am the project lead on Open Legislation at the Senate, and really
appreciate your response and feedback on this.
Our RSS view was developed with a very user-centric model, specifically
driven by members of Senate staff, journalists, and watchdog groups who
wanted any easy way to subscribe to searches using Google Reader or
other end-user aggregators. This is why there is very little structured
data in the content itself, as it was mostly intended as a brief summary
of content that the user would click-through on into the full item on
the Open Legislation site.
However, we are also very eager to support the alert, pub/sub model for
application developers, and to support standards and services which make
it easy to do so. We have internal drivers for this (adding
push/sms/email notification services for our mobile apps), and are glad
to see external devs like yourself that also interested in using the
data in this matter. As the legislative activity ramps up in January, we
truly do want to open a realtime firehose to developers, and see what
devs can do to make it useful and interesting to their target users.
After our scrum this morning, I think we have decided that we can't fit
too many changes into our next release (1.6 coming out in November), but
that we should be able to provide an enhanced RSS mode or Atom support
in a 1.6.1 update, and also work on integrating with some PubSubHubBub
libraries/services in the meantime, as you proposed.
We'll keep you posted, and please keep the feedback coming.
+Nathan
On 10/28/2010 01:56 PM, Bob Wyman wrote:
> Graylin Kim <grayl...@gmail.com> wrote:
>> Are you part of the ActivityStreams team?
> Well, there isn't really a "team"... ActivityStreams is an open protocol
> that is developed in the IETF style through discussions on a mailing list. I
> am a member of the list and do contribute from time to time. I also
> participate in the PubSubHubbub discussions, but my every-day work is
> focused on the technology behind the Matcher API...
>
>> As far as votes feeds go, is this<http://open.nysenate.gov/legislation/search/?term=otype:vote&format=rss> what
> you were looking for?
> It looks like with a good bit of parsing and link following, I could use
> that to figure out what the votes were. Or, I could use discovery of a vote
> in that feed to trigger a lookup using the API.... It would, however, be
> very nice if the data in the feed was made available with a bit more
> semantic markup in order to simplify the parsing, make it a bit more
> resistant to modifications that might be made in the presentation format in
> the future, and avoid the need to hit your API for details. Something like
> the HTML Microdata <http://www.w3.org/TR/microdata/> format which is being
> baked into HTML5 might work very nicely here.
>
> bob wyman
>
> On Wed, Oct 27, 2010 at 11:57 PM, Graylin Kim <grayl...@gmail.com> wrote:
>
>> Thanks for the detailed answer Bob! I'm really enjoying the links as well.
>>
>> Its clear that you've either thought a good deal about this or done this
>> kind of thing before. Are you part of the ActivityStreams team?
>>
>> As far as votes feeds go, is this<http://open.nysenate.gov/legislation/search/?term=otype:vote&format=rss>what you were looking for? How about for Bill
>> Passage Events<http://open.nysenate.gov/legislation/search/?term=otype:action%20AND%20passed&format=rss>?
>> I don't think the current production API can support Committee Action
>> filters (Nathan or Jared, do you know?) but the API under development should
>> be more robust.
>>
>> We currently pipe the search box contents (almost) directly into our
>> Lucene <http://lucene.apache.org> powered database which supports a fairly
>> robust query language<http://lucene.apache.org/java/2_3_2/queryparsersyntax.html>.
>> I've got some pretty poor (but workable) documentation<http://github.com/GraylinKim/nyss_openlegislation/wiki/Searching>of the different object types and fields currently supported on the wiki for
>> my more or less completed but collecting dust python library I was writing
>> for it.
>>
>> As far as fire hoses and push notifications, I know there has been some
>> talk of such things internally but that may not be possible for us at the
>> current time (for a variety of reasons). Perhaps someone else can provide
>> better perspective there.
>>
>> If you are willing, I'd certainly enjoy picking your brain about some of
>> these things in the future. If only for my own enlightenment.
>>
>> ~Graylin
>>
>> P.S. If you have OpenLegislation related questions you can also try and
>> stop by #nyss_openlegislation on FreeNode.net and find us/me (hopefully)
>> there.
>>
>> On Wed, Oct 27, 2010 at 1:42 PM, Bob Wyman <b...@wyman.us> wrote:
>>
>>> Graylin Kim <grayl...@gmail.com> wrote:
>>>
>>>> what sorts of feeds/data were you looking for?
>>> My primary interest is in "alerting" or publish/subscribe applications. In
>>> this particular case, I'm intrigued by the idea of using the recently
>>> announced Google App Engine Matcher API<http://groups.google.com/group/google-appengine/browse_thread/thread/5462e14c31f44bef/>to build a service that would provide real-time prospective search or alerts
>>> for actions, events, etc. that occur in the New York State Senate. The
>>> various statements, press releases and such that seem to make up the bulk of
>>> the feeds that I've been able to find are, of course, interesting. (i.e.
>>> tell me whenever some Senator mentions "No. 6 fuel oil..") However, I would
>>> really like to be able to get feeds that report events or activities like
>>> votes, committee actions, bill passage events, etc. (I can't find vote
>>> feeds... Do they exist or have I just missed them?) The App Engine Matcher
>>> API permits one to build pretty much arbitrarily complex boolean expressions
>>> that are applied to structured data. Thus, if there is a rich source of
>>> data, much can be done with it with minimal effort. (And, Matcher scales
>>> very nicely as well...)
>>>
>>> Ideally, it would be possible to create an extension to ActivityStreams<http://activitystrea.ms/> that
>>> might be called "Legislative ActivityStreams." This format would provide a
>>> means to describe the common activities of a legislature. (i.e. verbs like
>>> "voted", "sponsored", "co-sponsored", "reported from committee",
>>> "made-statement", etc... Given that, I could then create an interface or
>>> Activity Query Language that would allow interested parties to be notified
>>> whenever interesting Activities were published.
>>>
>>> Also, it would be ideal if the feeds were pushed by the New York Senate
>>> instead of requiring everyone to engage in wasteful polling of the feeds.
>>> And, it would be nice if there was a "firehose" feed that aggregated into a
>>> single stream all of the data being published to the other feeds. For
>>> instance, such a firehose feed might be distributed using the
>>> PubSubHubbub <http://code.google.com/p/pubsubhubbub/> (PSHB) protocol