| Package | Description |
|---|---|
| org.gcube.portlets.user.shareupdates.client | |
| org.gcube.portlets.user.shareupdates.client.form | |
| org.gcube.portlets.user.shareupdates.server |
| Modifier and Type | Method and Description |
|---|---|
LinkPreview |
ShareUpdateService.checkLink(String linkToCheck) |
LinkPreview |
ShareUpdateService.checkUploadedFile(String fileName,
String fileabsolutePathOnServer) |
| Modifier and Type | Method and Description |
|---|---|
void |
ShareUpdateServiceAsync.checkLink(String linkToCheck,
com.google.gwt.user.client.rpc.AsyncCallback<LinkPreview> callback) |
void |
ShareUpdateServiceAsync.checkUploadedFile(String fileName,
String fileabsolutePathOnServer,
com.google.gwt.user.client.rpc.AsyncCallback<LinkPreview> callback) |
| Constructor and Description |
|---|
LinkPreviewer(ShareUpdateForm parent,
LinkPreview toShow) |
| Modifier and Type | Method and Description |
|---|---|
LinkPreview |
ShareUpdateServiceImpl.checkLink(String linkToCheck)
tries the following in the indicated order for Populating the Link preview
Open Graph protocol
Meta "title" and "description" tags
Best guess from page content (not recommended)
Schema.org microdata <-- This is still a TODO
|
LinkPreview |
ShareUpdateServiceImpl.checkUploadedFile(String fileName,
String fileabsolutePathOnServer)
generate a preview of the file, upload the file on the storage and shorts the link
|
Copyright © 2014. All Rights Reserved.