Drupal foo

Carl Karsten <[email protected]>
Newsgroups gmane.org.user-groups.luni.tech
Message-ID <[email protected]>
I have written some python code that consumes this json:
http://2010.osdc.com.au/program/json

There are some funky things that make me nervous.

When I pressed the osdc web guys to see what the code was so I could
either fix or at least know the funky, they said:

It's just Drupals Views + Views Datasource modules.

Anyone here know what that means?

Even better, any clue what the right way to eat that data?

Here is the funky: cut/pasted from the json

Title: "&quot;Dr HTML::FormHandler or how I learned to stop worrying
and love the web-forms..."

Supposedly in the database there are quotes on both sides.  I believe
it because I can see them at the top of this page:
http://2010.osdc.com.au/proposal/123/dr-htmlformhandler-or-how-i-learned-stop-worrying-and-love-web-forms
but on this page it is funky like the json:
http://2010.osdc.com.au/program/

Here is my current consumer
https://github.com/CarlFK/veyepar/blob/master/dj/scripts/addeps.py

The 2 things I am doing that I don't think I should:
# drill past the needless 'node' key:
      for row in schedule:
          row=row['node']

un-escape the &quot; and other &foo;
          name = lxml.etree.fromstring('<foo>' + row['Title'] + '</foo>').text

-- 
Carl K
-- 
Linux Users Of Northern Illinois (Chicago) - Technical Discussion 
http://luni.org/mailman/listinfo/luni
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.