Scribd.Net.Service.Slurpify function

Helper function to "Slurpify" a link.

Signature(s)

  • public static string Slurpify(string url)
  • public static string Slurpify(string url, DisplayMode displayMode, bool isPrivate)

Parameter(s)

  • string url : The URL of the document you wish to slurp.
  • DisplayMode displayMode : How a document is displayed on Scribd.
  • bool isPrivate : Public or private display of the document.

Return Value

  • string : The "Slurpified" url.

Usage Example

// Slurpify a link.
string mySlurpLink = Scribd.Net.Service.Slurpify(@"http://www.nada.gov/hello.pdf", Scribd.Net.DisplayMode.Fullscreen, false);

// Or... this will set the DisplayMode to "Scribd" and make the link Public.
string mySlurpLink = Scribd.Net.Service.Slurpify(@"http://www.nada.gov/hello.pdf");


Release
  • Cannot resolve release macro, invalid id.
See Also
Special Note

You must specify Scribd.Net.Service.PublisherID to get a correct value.

Last edited Mar 7, 2008 at 10:21 PM by JPaulDuncan, version 6

Comments

No comments yet.