Something like this?
Controller
----------
def call():
session.forget()
return service()
@service.xml
def tableservice():
limitby = (int(request.vars.start),int(request.vars.count))
table = SQLTABLE(db().select(db
[request.vars.table].ALL,limitby=limitby))
return table
URL
-----------
http://127.0.0.1:8000/app/controller/call/xml/tableservice?start=0&count=10&table=things
This would of course need to be locked down and is just an example.
On Nov 9, 8:06 pm, MrGoni <[email protected]> wrote:
> Hi guys,
>
> Do any of you know a way to get data from a web table using its url?
> Thanks in advance and best regards,
>
> MrGoni
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py-users" 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
-~----------~----~----~----~------~----~------~--~---