keshavphp
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-30-2010
06:19 AM
how to register the myweb site and roku linking
Dear all
When the user come to my web site and they will regster . After how to send the data to roku. i see in example in doc... it's xml. What is end point on roku like. how to send the data to roku. i konw the php and curl. any one now about this plz let me know.
Please give me Clear idea plz
When the user come to my web site and they will regster . After how to send the data to roku. i see in example in doc... it's xml. What is end point on roku like. how to send the data to roku. i konw the php and curl. any one now about this plz let me know.
Request1
<preRegistration>
<deviceID>(unique id/serial number for the device) </deviceID>
<deviceTypeID>(optional opaque string identifying device type) </deviceTypeID>
<firmwareVersion>(optional major.minor.build) </firmwareVersion>
</preRegistration >
Response
<result>
<status> success/failure </status>
<regCode> (small ~5 character code customer will enter onto web site) </regCode>
<retryInterval> (polling interval in secs to detect completion (e.g. 30) </retryInterval>
<retryDuration> (max duration in secs for retries (e.g. 900) ) </retryDuration>
</result>
Please give me Clear idea plz
3 REPLIES 3
jbrave
Channel Surfer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-30-2010
09:45 PM
Re: how to register the myweb site and roku linking
use rourltransfer:
xfer=createobject("roURLTransfer")
xml=createobject("RoXMLElement")
xfer.seturl("http://mywebsite.com/xml")
xmlbody=xfer.GetToString()
if xml.Parse(xmlbody) then
'do your xml processing here
else
print "xml parse failed"
end if
Screenshades: The first Screensaver for Roku2!
Musiclouds: The best free internet music, on your Roku!
Ouroborialis: Psychedelic Screensaver for Roku!
Musiclouds: The best free internet music, on your Roku!
Ouroborialis: Psychedelic Screensaver for Roku!
keshavphp
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2011
03:19 AM
Re: how to register the myweb site and roku linking
Thanks for your replay.
where i use this code in roku box or my web site. when the use come to my web site http://www.mywebsite.com/roku he will reigster the web site right so how to pass the data to roku web site.
where i use this code in roku box or my web site. when the use come to my web site http://www.mywebsite.com/roku he will reigster the web site right so how to pass the data to roku web site.

RokuKevin
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2011
05:42 PM
Re: how to register the myweb site and roku linking
You website will interact with your user database and produce XML responses like in the sample. The code jbrave listed above is BrightScript that runs on the Roku Streaming Player.
--Kevin
--Kevin