On Thu, May 14, 2009 at 1:17 AM, Yarko Tymciurak <[email protected]> wrote:

> I have been thinking about this, and I think:
>
>
>    1. Twitter is browsed by people who will see web2py news who otherwise
>    might not;
>    2. Twitter is a service - and web2py can post thru that service (just
>    like posting an email to a blog account) - it is a convenience, and no
>    problem; no need to create, host, maintain another news application (if you
>    don't want to)
>    3. YOU CAN ALREADY USE RSS SUBSCRIPTION TO THE TWITTER NEWS - so no
>    need to "choose"; here is the RSS feed for web2py on twitter.com:
>    http://twitter.com/statuses/user_timeline/28596592.rss
>    4. A LOT of people from PyCon (e.g. Python-istas) are on twitter; for
>    now, it's a good place.
>
> There is the RSS - I think we can leave this in peace for now; there are
> other things to focus on.
>

Also, it is an example of consuming a json service, using tools...  this is
what we are talking about:

import gluon.contrib.simplejson as sj
    try:
        page = gluon.tools.fetch('http://twitter.com/web2py?format=json')
        return sj.loads(page)['#timeline']

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to