|
|
2010-10-19
, 13:42
|
|
Posts: 356 |
Thanked: 123 times |
Joined on Dec 2008
|
#12
|
FoxToPhone's sendtophone.js looks like it POSTs data of the form:
This obviously encapsulates the page title, the URL of the object and the selected text on the page.Code:'title=' + encodeURIComponent(title) + '&url=' + encodeURIComponent(url) + '&sel=' + encodeURIComponent(selection)
It sends it to a configurable base URL (default = https://chrometophone.appspot.com) with the path:
The page can return one of the following at the start of the response:Code:'/send?ver=' + this.apiVersion;
- OK
- LOGIN_REQUIRED
- DEVICE_NOT_REGISTERED
If you can make a server component deal with that, the existing plugins can be used.
|
|
2010-10-20
, 16:43
|
|
Posts: 356 |
Thanked: 123 times |
Joined on Dec 2008
|
#13
|
|
|
2010-10-20
, 18:34
|
|
Posts: 222 |
Thanked: 205 times |
Joined on Jul 2009
@ Finland
|
#14
|
If you can make a server component deal with that, the existing plugins can be used.
It sends it to a configurable base URL (default = https://chrometophone.appspot.com) with the path:
If you can make a server component deal with that, the existing plugins can be used.
Andrew Flegg -- mailto:andrew@bleb.org | http://www.bleb.org