Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Google Docs with Parcel media command

Melorie Boxen
Registered User
Join date: 5 Mar 2009
Posts: 14
07-07-2009 23:17
hi,
i am working on a collaboration environment for geographically distributed teams working on essays together.
To provide document sharing i scripted a wall which displays and opens google docs documents. I use Parcel_Media_Command_Play to display it. My Problem now is, that I can only show the first page of the document.
Does anybody know how it could be possible to scroll through the document.

Thank you for any suggestions!
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
07-08-2009 01:03
From: Melorie Boxen
hi,
i am working on a collaboration environment for geographically distributed teams working on essays together.
To provide document sharing i scripted a wall which displays and opens google docs documents. I use Parcel_Media_Command_Play to display it. My Problem now is, that I can only show the first page of the document.
Does anybody know how it could be possible to scroll through the document.

Thank you for any suggestions!

I would assume you'd either have to get the entire document as a single image (then display only a portion, and add controls to offset the media texture) or update the parcel media to a new address that displays the next page.
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -
Melorie Boxen
Registered User
Join date: 5 Mar 2009
Posts: 14
07-08-2009 01:32
hi,

thanks for the reply. i thougt about that options, but the idea is to display the current status of a document people are working on. means there are frequent updates of the changes. for instance every 2 minutes.
Pavcules Superior
Registered User
Join date: 30 Oct 2006
Posts: 69
07-08-2009 05:32
With Javascript you can write code to automatically get the page to scroll. I may have this code as I was experimenting with this last year.

Now, one thing I'm not sure about is that if its possible to embed user made Javascript functions into a Google Docs document. If so, then the automatic scroll feature can work.

If this is not possible, then another alternative is to have a webpage with an IFrame embedded. The main page has a Javascript function that scrolls the contents IFrame which shows your Google Docs page.
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
07-08-2009 06:22
I haven't played around with it too much, so I can't say for certain, but if I don't miss my guess, google is feeding a media image of the actual document, so I don't think a scripting solution will do it...

honestly I don't see a way to do it unless google will return the whole document as a single image (which is potentially HUGE)... with updates that constant requesting then per page probably isn't going to cut it.
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -
Osprey Therian
I want capslocklock
Join date: 6 Jul 2004
Posts: 5,049
07-08-2009 07:46
Does the Daden Navigator do any of the things you need?

Also, will any of the new-in-1.27 HTTP abilities help at all?
Darien Caldwell
Registered User
Join date: 12 Oct 2006
Posts: 3,127
07-08-2009 12:12
From: Osprey Therian
Does the Daden Navigator do any of the things you need?

Also, will any of the new-in-1.27 HTTP abilities help at all?


I can say with certainty HTTP-IN won't help with this situation. It only adds the ability for a prim to serve HTTP data, the retrieval functions are unchanged from what we have now.

You'll pretty much have to wait for HTML on a prim to be fully implemented. Even LL has to be content with no scrolling. :)
_____________________