New Feature - Update Website Thumbnails in Intervals

by SnapCasaFounder 6. March 2009 18:33
 

Today I would like to introduce a new parameter which will make it easier for premium users to make update requests.  The new ‘age’ parameter accepts a numeric value which represents the maximum amount of time to allow a snapshot to be requested without an update.  The numeric value passed with the age parameter represents the hours since the last update.  For instance, if you attach age=24 to your requests each snapshot will be updated every 24 hours. 

http://snapcasa.com/get.aspx?code=1000&size=s&age=48&url=ask.com

You can also pass decimal values such as 1.25 which will update your snapshots every 75 minutes.  Snapshots can be update at maximum every 15 minutes and at minimum every 30 days.  As with the alternative way to request snapshot updates introduced in December, there is a three credit charge per update request. 

Currently rated 4.0 by 4 people

  • Currently 4/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , , , ,

SnapCasa.com

Retrieve Snapshot Info with New Parameter

by SnapCasaFounder 21. January 2009 02:14

The custom headers I wrote about earlier this month have quickly become a popular feature.  Both Basic and Premium users are easily able to read the status header value and handle the response accordingly.  Today I am happy to introduce a new parameter Premium users can take advantage of to detect the status of a snapshot.  By attaching the parameter ‘info’ to a SnapCasa request string a user can make as many snapshot status inquiries as they require without ever being charged any credits.

With the info parameter included no snapshot will ever be returned or submitted for processing.  It is simply a way to gather information about a snapshots status or existence instantly.  When the parameter info =  1  SnapCasa will respond with a custom header named ‘snapshot-info’.  It’s possible values are:


0 – Snapshot does not Exist in Requested Size
1 – Snapshot Exists in Requested Size
2 – Snapshot Processing
3 – Snapshot Queued
4 – Snapshot Queued for Second Attempt
5 – Snapshot Unavailable

Certain users may require to check whether a snapshot exists in a specific size before submitting a capture request.  The info parameter will enable them to accomplish this without being charged any credits.  A sample info request may look like so:

http://snapcasa.com/get.aspx?code=1000&width=300&height=300&info=1&url=yahoo.com

 

Either the size or width and height parameters are required with the info parameter.  This is so that we can check whether a snapshot exists in the size you require.  Additionally you can also include the page parameter to check whether a full page capture exists of a webpage.  The info parameter should be included prior to the url parameter in your request string.

Please contact me with any questions!

Thanks!

Currently rated 3.7 by 6 people

  • Currently 3.666667/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , , , , , ,

SnapCasa.com

New SnapCasa Feature - Update Website Thumbnails on Demand

by SnapCasaFounder 1. December 2008 21:00

The ability to update snapshots on demand has been the most requested feature by SnapCasa users.  Today I am happy to announce the new feature which will allow premium users to update snapshots on their schedule.  The information provided below regarding this new feature applies only to premium users.  We will allow both basic and premium users to manually make update requests from their admin pages shortly.


Making an update request is as simple as making a snap request.  Each update request will subtract three premium credits from your account.  Update requests should be sent to the url below with the three required parameters included.

http://SnapCasa.com/update.aspx?code=[CODE]&update=[UPDATE]&url=[URL]

Required Parameters:

·         code: This is your unique user code and is identical to the one you use to make snapshot requests.  You can find your user code by logging into your admin account.

·         update:  This parameter should contain a value of 0 or 1.  You should use a value of 0 when you want to retrieve the last modified date of a particular snapshot.  There is no credit charge for this type of request.  If you would like to initiate an update of a snapshot you should set this value to 1. 

·         url: This is the url of the snapshot you would like to update.  The url must have been captured before to initiate an update. 

Sample Request:

http://SnapCasa.com/update.aspx?code=1000&update=1&url=google.com

Update Request Responses:

SnapCasa will respond to your request with custom headers and will also display a message on the page.  The header ‘update-status’ will be returned with each request.  The possible numeric values are:

·         1 –  Update request was successful.

·         2 –  URL already queued for update.

·         3 – Requested url doesn’t exist.

·         4 – Invalid parameter values.

·         5 –  Missing parameter values.

·         6 –  Invalid url.

·         7 –  Insufficient Credits

·         8 –  Info request successful (only when update parameter = 0)

 

The header ‘snapshot-modified’ will also be returned when ‘update-status’ equals 1, 2, or 8.  This header will contain the date when the snapshot was last modified in the format 12/01/2008 12:00:00 AM

Update requests have top priority and are usually processed within a minute.  If you have any questions regarding this new feature please feel free to contact me directly using the Contact Us page on SnapCasa.com.

Thanks,

Greg

Currently rated 5.0 by 3 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , , , , , ,

Powered by BlogEngine.NET 1.4.5.0
Theme by Mads Kristensen