OpenWetWare:File Import Examples (PDF,DOC, and XLS): Difference between revisions
No edit summary |
No edit summary |
||
Line 88: | Line 88: | ||
Live Example: | Live Example: | ||
<html> | |||
<textarea id="gdview" style="visibility:hidden"> | |||
{{#widget:Google Documents | |||
|key=dzcjgm2_12fhc3wkd2 | |||
|width=500 | |||
|height=300 | |||
}} | |||
</textarea><br> | |||
<button onclick='copyToClipboard(document.getElementById('gdview').value);'> | |||
</html> | |||
{{#widget:Google Documents | {{#widget:Google Documents |
Revision as of 10:31, 11 April 2009
PDF Files
Download
- Name: Adobe PDF File
- File Suffix: PDF
- OWW Action: Download
- Location: Uploaded by OWW member to OpenWetWare
Example Syntax:
[[media:OSX Security Paper.pdf]]
Live Example:
View Info
- Name: Adobe PDF File
- File Suffix: PDF
- OWW Action: View
- File Location: File Uploaded by OWW member to OpenWetWare
Example Syntax:
[[image:OSX Security Paper.pdf]]
Live Example:
Word Doc Files
Download
- Name:Microsoft Word Document File
- File Suffix: DOC
- OWW Action: Download
- File Location: File Uploaded by OWW member to OpenWetWare
Example Syntax:
[[media:Streptomyces_DNA_Marker-Lambda_Ladder.doc]]
Live Example:
media:Streptomyces_DNA_Marker-Lambda_Ladder.doc
View Info
- Name:Microsoft Word Document File
- File Suffix: DOC
- OWW Action: View
- File Location: File Uploaded by OWW member to OpenWetWare
Example Syntax:
[[image:Streptomyces_DNA_Marker-Lambda_Ladder.doc]]
Live Example:
File:Streptomyces DNA Marker-Lambda Ladder.doc
Google Doc Link
- Name:Microsoft Word Document File
- File Suffix: DOC
- OWW Action: External File Link to Google
- File Location: File Uploaded to Google Documents
- Example Syntax: [http://docs.google.com/Doc?id=dzcjgm2_12fhc3wkd2 Streptomyces_DNA_Marker-Lambda_Ladder.doc]
- Live Example: Streptomyces_DNA_Marker-Lambda_Ladder.doc
Google Doc Viewer
- Name:Microsoft Word Document File
- File Suffix: DOC
- OWW Action: Embedded Google Doc Viewer
- File Location: File Uploaded to Google Documents
- Google Document URL: returned when document is published
- Example Google Document URL: http://docs.google.com/Doc?id=dzcjgm2_12fhc3wkd2
- Google Document ID: contained within Google Document URL (save as "Key=")
- Viewer Area (in pixels): width=500 height=300
- Example Google Document ID id=dzcjgm2_12fhc3wkd2
Example Syntax:
{{#widget:Google Documents |key=dzcjgm2_12fhc3wkd2 |width=500 |height=300 }}
Live Example: <html> <textarea id="gdview" style="visibility:hidden"> {{#widget:Google Documents |key=dzcjgm2_12fhc3wkd2 |width=500 |height=300 }} </textarea><br> <button onclick='copyToClipboard(document.getElementById('gdview').value);'> </html>
{{#widget:Google Documents |key=dzcjgm2_12fhc3wkd2 |width=500 |height=300 }}