Scribd

Config

config.jpg
  • Provider: Select the Scribd provider
  • API Key: Enter your Scribd API Key *
  • Secret Key: Enter your Scribd Secret Key *
  • Cache Duration: Enter the duration in seconds to cache pickers resposne
* To retreive your API Key and Secret Key, login to Scribd and navigate to Settings > API

scribd.jpg

Picker

picker.jpg

Create

create.jpg
  • File: The document to upload
  • Title: A title for the document
  • Description: A description for the document
  • Tags: A comma seperated list of tags for the document
  • Collection: Select a collection to assign the document to
  • Category: Select a category to assign the document to

XSLT Extensions

GetMedia

Parameters

  • docTypeDefinitionId (int): The Doc Type Definition ID for the Picker Data Type.
  • id (int): The ID of the Scribd document to retreive.

Response

<Document>
  <Id>38750650</Id>
  <Title>Umbraco v4 - Editors Manual v1.0.0</Title>
  <Description></Description>
  <Tags></Tags>
  <LargeImageURL>http://imgv2-3.scribdassets.com/img/word_document/38750650/111x142/b9296bd0e6/1288728990</LargeImageURL>
  <ThumbnailUrl>http://imgv2-3.scribdassets.com/img/word_document/38750650/111x142/b9296bd0e6/1288728990</ThumbnailUrl>
  <Url>http://documents.scribd.com.s3.amazonaws.com/docs/4tl7sxd0qoomi8j.pdf?t=1286284223</Url>
  <CategoryId>93</CategoryId>
  <DocumentType></DocumentType>
  <PageCount>46</PageCount>
  <Edition></Edition>
  <RevisionId>0</RevisionId>
  <License>BY_NC</License>
  <Author></Author>
  <Publisher></Publisher>
  <WhenPublished>1/1/0001 12:00:00 AM</WhenPublished>
  <SecretPassword></SecretPassword>
  <AccessKey>key-1go90o9l3wa8hspqewyz</AccessKey>
  <EmbedCode>
    <object id="doc_23042038750650" 
		name="doc_23042038750650" 
		height="500" 
		width="100%" 
		type="application/x-shockwave-flash" 
		data="http://d1.scribdassets.com/ScribdViewer.swf" 
		style="outline:none;">
      <param name="movie" value="http://documents.scribd.com/ScribdViewer.swf">
      <param name="wmode" value="opaque">
      <param name="bgcolor" value="#ffffff">
      <param name="allowFullScreen" value="true">
      <param name="allowScriptAccess" value="always">
      <param name="FlashVars" value="document_id=38750650&access_key=key-1go90o9l3wa8hspqewyz&page=1&viewMode=List">
      <embed id="doc_23042038750650" 
		name="doc_23042038750650" 
		src="http://d1.scribdassets.com/ScribdViewer.swf?document_id=38750650&access_key=key-1go90o9l3wa8hspqewyz&page=1&viewMode=List" 
		type="application/x-shockwave-flash" 
		allowscriptaccess="always" 
		allowfullscreen="true" 
		height="500" 
		width="100%" 
		wmode="opaque" 
		bgcolor="#ffffff">
      </embed>
    </object>
  </EmbedCode>
</Document>

GetEmbedCode

Parameters

  • docTypeDefinitionId (int): The Doc Type Definition ID for the Picker Data Type.
  • id (int): The ID of the Scribd document to retreive.
  • startingPage (int): The page of the Scribd document to start from.
  • viewMode (string): The view mode of the Scribd document. Can be one of List, Book, Tiled or Slideshow.
  • viewWidth (string): The width to display the document. Can be a fixed integer, or a percentage.
  • viewHeight (string): The height to display the document. Can be a fixed integer, or a percentage.

Response

<object id="doc_23042038750650" 
	name="doc_23042038750650" 
	height="1000" 
	width="100%" 
	type="application/x-shockwave-flash" 
	data="http://d1.scribdassets.com/ScribdViewer.swf" 
	style="outline:none;">
  <param name="movie" value="http://documents.scribd.com/ScribdViewer.swf">
  <param name="wmode" value="opaque">
  <param name="bgcolor" value="#ffffff">
  <param name="allowFullScreen" value="true">
  <param name="allowScriptAccess" value="always">
  <param name="FlashVars" value="document_id=38750650&access_key=key-1go90o9l3wa8hspqewyz&page=1&viewMode=List">
  <embed id="doc_23042038750650" 
  		name="doc_23042038750650" 
  		src="http://d1.scribdassets.com/ScribdViewer.swf?document_id=38750650&access_key=key-1go90o9l3wa8hspqewyz&page=1&viewMode=List" 
		type="application/x-shockwave-flash" 
		allowscriptaccess="always" 
		allowfullscreen="true" 
		height="1000" 
		width="100%" 
		wmode="opaque" 
		bgcolor="#ffffff">
   </embed>
</object>

Last edited Nov 20, 2010 at 10:36 AM by mattbrailsford, version 7

Comments

No comments yet.